Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / Miscellaneous Topics / Re: Serialization by various means on: 2012-09-07 17:18:52
What did you not find easy about KryoNet? Also, have you ever tried to use Netty?

To answer your questions, I have used Netty in the past for personal projects. It was a toss up for me between Netty and KryoNet at the time.

Netty has exceptional resources and documentation, which is something KryoNet lacks.

Additionally, back then Netty was underneath Jboss so I could rely on active development with plenty of bug fixes / or support.

Netty was more actively developed.

Netty had a usage that was very logical.

I chose to use Netty at the time, it worked out great. Besides the time I was torn between the two I have never looked at KryoNet so my reply was purely my personal opinion.

I didn't consider Mina at the time because of I had heard that the API was going through serious changes from Mina 2.x to Mina 3.
2  Discussions / Miscellaneous Topics / Re: Serialization by various means on: 2012-09-06 05:54:48
Seeing that KryoNet is the best game networking java library, it may be a very good idea to check out, use and familiarize myself with Kryo - because KryoNet should be really easy to use then.

best != easiest.

Also, if it boiled down to using a relatively high level networking API like KryoNet I would personally use Netty instead.
3  Discussions / Miscellaneous Topics / Re: Things you disagree with in the java language on: 2012-09-06 05:42:48
@OP I really see no problem with var args, they are convenient in some select situations.

Only things that really irk me with java currently are:
We need better a better alternative JNI.
Additionally, some of the java classes such as the one's involved with screen capturing are horribly slow (pretty sure, havn't looked into it in awhile).

I actually like how Getters/Setters are handled in C# (Properties). Way more elegant and intuitive.
4  Discussions / Miscellaneous Topics / Re: Eclipse Juno on: 2012-09-06 05:27:44
I still use Eclipse Indigo and Intellij. I havn't tried Eclipse Juno much yet, but from what I've seen I don't need to upgrade any time soon. (However, I am a shallow person who only sees things skin deep, primarily women.)
5  Game Development / Newbie & Debugging Questions / Re: Merge an image file and a text file into one file on: 2012-09-06 05:15:24
I havn't looked at Slick, but I would presume that the images are in png format (considering php is kickass).

For the file it would be simple to just read a String and then just read the remainder bytes into a byte array and convert that to the image.

You could accomplish this pretty easily by using RandomAccessFiles (I would suggest FileChannels, however java 7 isn't as widespread as I would want to make that a requirement to play).
6  Game Development / Shared Code / Re: Simple (threaded) Abstract GameEngine on: 2012-09-06 04:48:48

Might be a good idea to calculate the elapsed processing time and then sleep the remaining amount (cycleInterval - elapsed).  

Edit: Obviously you would bypass calling the sleep method if that calculated time was <= 0.
Pages: [1]
hadezbladez (290 views)
2018-11-16 13:46:03

hadezbladez (160 views)
2018-11-16 13:41:33

hadezbladez (291 views)
2018-11-16 13:35:35

hadezbladez (72 views)
2018-11-16 13:32:03

EgonOlsen (2152 views)
2018-06-10 19:43:48

EgonOlsen (2178 views)
2018-06-10 19:43:44

EgonOlsen (1367 views)
2018-06-10 19:43:20

DesertCoockie (1984 views)
2018-05-13 18:23:11

nelsongames (1626 views)
2018-04-24 18:15:36

nelsongames (2274 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 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‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!