Show Posts
|
Pages: [1]
|
4
|
Java Game APIs & Engines / J2ME / Re: good j2me phone
|
on: 2005-01-22 18:21:19
|
You will probably want to get one which supports the latest and largest number of APIs (MIDP 2.0, MMAPI, bluetooth, etc). On the other hand you may wish to get the most popular phone. Depends whether you are more interested in developing for personnal use or more concerned with the largest number of people being able to run your apps consistently (J2ME implementations tend to vary).
|
|
|
8
|
Game Development / Newbie & Debugging Questions / Re: Databases and High Score storing.
|
on: 2004-11-17 17:23:27
|
If you have a mysql database on a web server, then a java client can connect to it using jdbc with no java required on the server. That is, the JDBC driver is on the client not the server side. To get yourself started, download JDBC MySQL connector from www.mysql.com, and play with client code like: String host,database,username,password;
String url = "jdbc:mysql://"+host+"/"+database+"?user="+username+"&?password="+password; Class.forName("com.mysql.jdbc.Driver"); Connection con =DriverManager.getConnection(url); . . .
|
|
|
9
|
Discussions / Miscellaneous Topics / Re: I have found Nirvana......
|
on: 2004-10-23 22:13:49
|
I have a Zaurus SL-5500, and I love it  They really are like carrying around a linux terminal in your hand. It'll run almost anything you can throw at it. I have had mine running a Java IRC server without problems.  BTW, did I mention Zaurus rulezzzzzz!!!!!!
|
|
|
12
|
Java Game APIs & Engines / Java 2D / Re: Threading issues
|
on: 2004-09-30 23:50:31
|
Do you have a Thread.sleep() or Thread.yield() in your rendering loop? If you have a tight rendering loop, it could be starving the music thread of processing cycles, so it only starts playing at the end of the show. Also check you have synchronized in the right place, could also be a deadlock.
|
|
|
15
|
Game Development / Newbie & Debugging Questions / Re: Using unsigned third party jars in java web st
|
on: 2004-09-16 20:42:35
|
If you create jnlp <component-desc/> files for the third-party jars, they do not need to be signed if they don't require <all-permissions/>. This is independent of whether the main app jar is signed. For example, you can have a signed network game app jnlp bundled with an unsigned gage2d jar component-desc jnlp. The other advantage of component-desc jnlp files is that different apps can re-use the same component-desc jars.
|
|
|
18
|
Game Development / Game Play & Game Design / Re: Seperating R, LP, A and I
|
on: 2004-08-30 22:28:54
|
I have used something like the GAGE sprite interface. I have various sprite classes for all my game objects. My parent sprite class is a composite of a java.awt.geom.Area instance (object geometry for stuff like collision detections) and a renderer instance which the sprite delegates to for rendering. Game object behaviour is determined by the methods in the sprite sub-classes. I use renderer factories to construct the renderer delegates. At the moment I have two factories, the normal game one and a geometric one. The geometric one renders sprites according to their java.awt.geom.Shape and I use it to debug collision detection. I have no sound currently and I handle input in the game frame class using boolean switches. Oh, I also went as far to abstract the rendering loop, so I can easily swap in different frame scheduling algorithms. 
|
|
|
19
|
Discussions / General Discussions / Re: The Muffin Crusade
|
on: 2004-08-10 20:32:20
|
With JWS, we have to submit to what the good folks at Sun think is best. If there's an issue that is not the fault of my JNLP, I can neither fix it nor switch to an alternative Webstart. It's wholly not in the developer's hands.
I would like to point out that alternate Webstart-ware does exist, see for instance http://jnlp.sourceforge.net/netx/. So, it's not completely out of the hands of developers. Ofcourse, then there's the problem of deploying that on user's machines which brings us back to installers.
|
|
|
20
|
Discussions / Miscellaneous Topics / Re: J2SE API: Missing/broken functionality?
|
on: 2004-07-25 19:46:10
|
Now there's me thinking that when a file isn't found you should throw a FileNotFoundException. And when an IO error occurs you should throw an IOException. And what happens if the file was created at midnight on 1/1/1970? How do you distinguish that from it not existing at all?
File.exists() 
|
|
|
22
|
Java Game APIs & Engines / Java 2D / Re: Best Java 1.4.2 (Java only) timer
|
on: 2004-07-02 23:43:06
|
You could hope, but at least in the case of JMF you will be disappointed.
Oh well, it was a nice thought.....  I guess on Windows then, this has implications for syncing media and stuff??? I suppose if this was problematic one could write a GAGETimeBase class, but I guess the use of SystemTimeBase is probably hard-coded.
|
|
|
23
|
Game Development / Networking & Multiplayer / Re: UDP Vs TCP/IP
|
on: 2004-06-30 19:52:21
|
I would have thought you should use TCP for chat, since its a reliable protocol. You don't want to be losing bits of players conversation. In fact, I assumed you actually meant to type it this way round:
udp: for game logic data exchange (pos of player, gun fired etc) tcp: for live chat and stuff.
|
|
|
24
|
Game Development / Networking & Multiplayer / Re: Heads up: SelectionKey.attach() broken ?
|
on: 2004-06-30 17:30:59
|
I got caught out by that one as well. The best explanation I could come up with is that its register() not reregister() :-/. I guess on the positive side, at least the javadocs are clear on this point. An invocation of this convenience method of the form
sc.register(sel, ops)
behaves in exactly the same way as the invocation
sc.register(sel, ops, null)
|
|
|
28
|
Game Development / Networking & Multiplayer / Re: IRC ...alternatives?
|
on: 2004-06-27 22:50:55
|
Hi, If you are looking for a Java based IRC server, try http://j-ircd.sourceforge.net/ for size. My understanding of the IRC protocol mess is that the (new) RFCs were written after-the-fact, to try to consolidate the differing protocols used by various implementations. Needless to say the RFCs are vague in several areas. The idea of using IRC to provide game chat sounds interesting. I guess one of the advantages would be that a separate chat server would reduce the burden on the game server...
|
|
|
|
|
ivj94
(583 views)
2018-03-24 14:47:39
ivj94
(48 views)
2018-03-24 14:46:31
ivj94
(374 views)
2018-03-24 14:43:53
Solater
(62 views)
2018-03-17 05:04:08
nelsongames
(109 views)
2018-03-05 17:56:34
Gornova
(151 views)
2018-03-02 22:15:33
buddyBro
(693 views)
2018-02-28 16:59:18
buddyBro
(92 views)
2018-02-28 16:45:17
xxMrPHDxx
(493 views)
2017-12-31 17:17:51
xxMrPHDxx
(733 views)
2017-12-31 17:15:51
|
java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org
|
|