754 Posted Topics
Re: You might want to search google for info about C++ pointers, but the code looks pretty straight forward for porting it to Java. | |
Re: Is your HTML file located in "C:\Documents and Settings\MyNameDeleted\My Documents\Programming\Soluna Invasion\SolunaInvasion\SolunaInvasion.class"?? | |
Re: You probably need to add the labels to a jpanel then add that panel to the scroll pane. | |
Re: You need to store your information into an array, sort the array by date, then output the text to the screen. Since each line contains multiple pieces of info, create a new class and build objects from that and implement a compareTo method for the sorting. | |
Re: [QUOTE]because i am taking 6 college[/QUOTE] I'm taking 7 and working 40 hours a week, yet I manage to get my work done despite moving houses over the passed two weeks. You'll need a better excuse to make us do your homework. So, what specifically are you having trouble understandng? | |
Re: So the client isn't displaying messages until you close the server? Almost sounds like the client isn't updated after you've appended a message. | |
Re: A server awaiting incoming connections may use an infinite loop, often in another thread. | |
Re: Well, I'm not quite sure about the tilde, but it looks like it's using 0x0f as a mask which basically cancels outs the higher 4 bits of a byte. By canceling out all but the lower 4 bits, the resulting number will range between 0 and 15. With all the … | |
Re: Why not run it off your computer? It should be capable of handling 2-3 of your friends for testing purposes. | |
Re: First thing you need to figure out is how the RPG will work online. Realtime? Turn-based? Are we talking text-based or will it have 2D scrolling maps? Think about the design and what you want it to turn out as, then decide which language would be more suitable, as 'rpg' … | |
Re: Here's conversion methods for short, low byte given first in array. [code] public static byte[] toBytes(short s) { return new byte[]{(byte)(s & 0x00FF),(byte)((s & 0xFF00)>>8)}; } public static short toShort(byte[] b) { return (short)(b[1]<<8 | b[0]); } [/code] | |
Re: There's plenty of resources for creating mods for Tribes as well, as with most games. I agree with Loyen, start off writing a mod for an existing game until you get a handle on that, as it will be much easier than starting your own game. When you're ready, look … | |
Re: Rather than trying to start a physical company right away, it'll be a lot less riskier to create games as an indi developer. Keep in mind that literally thousands of games are created each year, yet only a handfull of them ever make a substantial profit. Occationally, the little guys … | |
Re: Create your own custom TableCellRenderer, then set the background color of whatever the component is that you're returning for rendering. [code] Component c = whatever your component is (rowIndex %2 == 0) ? c.setBackground(Color.blue) : c.setBackground(Color.white); [/code] If you do this, you'll also have to control the highlighting of when … | |
Re: Roverfind, do not hijack other threads, make your own. But to answer your question, no. We're here to help to those who show effort. | |
Re: You should stick with java naming conventions. Don't start instance variable with capital letters, as that typically shows a Class name. And I have no clue what this is suppose to do: stateValue = PlayerName.length() % 3; if playerName = "Bobby" then statValue would equal 2 (5 mod 3) So … | |
Re: Google is your friend. [url]http://blogs.msdn.com/coding4fun/archive/2006/10/31/912559.aspx[/url] [url]http://www.programmersheaven.com/2/FAQ-DIRECTX-Apply-A-Texture[/url] | |
Re: Do you get an error, can't find where to install it at, or what? Details! | |
Re: [url]http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html[/url] Or you can right-click on My Computer, goto Properties and click on Advanced then on Environment Variables. You can add the CLASSPATH variable there. | |
Re: You want code given to you, use google. We're not here to do your work. | |
Re: And you've done how much work on this assignment already? | |
Re: [QUOTE]I really feel lazy to write my own code[/QUOTE] You're also apparently too lazy to google search as well. [url]http://sourceforge.net/projects/vcard4j[/url] | |
Re: I don't think you can. HTTP is a stateless protocol, so it's not even likely to retain the number of request since you connected. | |
Re: Might try asking in a Javascript forum under web development. | |
Re: You'll probably want to use canvas and double buffering techniques if you're making a game. What format will your videos be in? | |
Re: a-star will work, it doesn't matter how many obstacles are in the way. If there's a path available, a-star will find it. | |
Re: I personally think Photoshop's web gallery generation is rather crappy. There's absolutely no need to have a separate html file for every single photo. A simple javascript function would let you change the displayed photo from a thumbnail without having to reload anything else. | |
Re: I would also suggest using String.trim(), might resolve the erroneous spaces you said you were receiving. | |
Re: Java2 typically means 1.4, but started with 1.2. Java 5 is version 1.5. Check this link for further info: [url]http://en.wikipedia.org/wiki/Java_version_history[/url] | |
Re: This is usually the first site I point people to when they want to make a java music player. [url]http://www.javazoom.net/index.shtml[/url] | |
Re: I saw several potential note-worthy links on collision here: [url]http://www.yov408.com/html/tutorials.php?s=54[/url] Though I can't be 100% positive this is the right link (proxy at work blocks game-related sites) but I do believe this is the same collision and response article I used to build my collision system in a game. It … | |
Re: Are you trying to make an installer to add more emoticons to an existing messenger? Each messenger is sure to be different. | |
Re: In Windows, there might be a way of accessing those components by using the Window ID handle or something. I'm not entirely sure here, this is just a guess. | |
Re: I like 3D Studio Max best, my friend prefers Maya. It basically comes down to which package we've invested our time in learning. Pretty much most packages are capable of the same things. I know a lot of independent developers that will use Anim8er or Blender because the high end … | |
Re: What you should be looking for are articles on RTS game design. I started a tutorial years back on creating an RTS using DarkBasicPro. I can't access their forum from work(firewall blocks game-related sites) but if you visit: [url]http://forum.thegamecreators.com/?m=forum_view&t=44248&b=6[/url] One of the stickied threads relates to my tutorial. I'm guessing … | |
Re: User proper English and I'll consider helping. 'plz abt dis' are not real words. | |
Re: Let's see what you've tried. Easiest method would be to just use regular expressions. The method javaAddict describes is very simple. When you encounter an opening bracket, increment your bracket counter. When you encounter a closing bracket, decrement the counter. If the counter is 0 at the end of the … ![]() | |
Re: Seems odd that a motherboard would die at the same time as upgrading new hardware, so I doubt that's the issue. (although, something could have shorted while you were swapping parts). I would put all the old stuff back in, to the point when you know the computer last worked. … | |
Re: 4th year and your grammar is that terrible? Are you asking for tutorials on how to use Eclipse? | |
Re: So what trouble are you having? It's telling you exactly step by step what to do. Step 1: q = a/b q = 108/16 q = 6.75 Step 2: % is modulus or the remainder of a division. So 10/3 would 3 1/10, the remainder is 1. The steps are … | |
Re: Look at the A* (a-star) algorithm. It's commonly used for path-finding. Here's the article that myself and a lot of others I know have used to learn A* path-finding. [url]http://www.policyalmanac.org/games/aStarTutorial.htm[/url] | |
Re: Do a forum search and see what the other 100 people before you have found out when asking this question. We don't know where your level of Java understanding is at and therefore only you can select the best topic for your project. Think about what interests you. Or think … | |
Re: Is there a firewall blocking connections from your program? Or perhaps the port is closed | |
Re: I'm surprised people gave you the answers. The questions are easily answered by looking in any beginner's java book, such as your school text book. Question #6 can be the easiest to solve by opening up the glossary in your book. For #9, only 1 solution will even compile. Evaluate … | |
Re: Are you trying to be cute or something? Far as I can tell, you need to replace 0 with 1? What is your program suppose to do? And what part isn't working for you? You'll never get any help if that's the only info you provide. |
The End.