Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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 19: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 07: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 07: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.
Agreed.
4  Discussions / Miscellaneous Topics / Re: Eclipse Juno on: 2012-09-06 07: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 07: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 06:48:48
1  
2  
                  process();
                  Thread.sleep(getGameSettings().getCycleInterval());

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]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (39 views)
2014-07-18 06:55:21

Zero Volt (36 views)
2014-07-17 23:47:54

danieldean (29 views)
2014-07-17 23:41:23

MustardPeter (32 views)
2014-07-16 23:30:00

Cero (47 views)
2014-07-16 00:42:17

Riven (48 views)
2014-07-14 18:02:53

OpenGLShaders (38 views)
2014-07-14 16:23:47

Riven (37 views)
2014-07-14 11:51:35

quew8 (33 views)
2014-07-13 13:57:52

SHC (70 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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
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!