Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Newbie needs advice on JOGL and networking interface  (Read 953 times)
0 Members and 1 Guest are viewing this topic.
Offline Cyclonis

Senior Newbie





« Posted 2006-03-23 10:24:58 »

Hello everyone, I have been looking at these forums for some months now, thought I would start being more active as of now.

I am an aerospace student and have my own company building internet applications (shopping carts etc.) For my education I do a lot of programming (I am majoring in aerospace simulation). I have good experience with PHP, Matlab, Javascript, C++, openGL, openAL and have been very active with Java now for about 8 months. I made a 3d driving simulator for my internship (still working on it untill april 23) using C++ and openGL,openAL. Before that I have made 2 little games using Java2D

Because I am a big fan of Linux (Ubuntu)  I want to make it my goal to make several small and simple games using Java so people on all platforms could play them. I have made a little tank battle game in Java2D in about 2 days which you can download here:
It is my second attempt at making a game in Java and is based on an old NES game called BattleCity
I am planning to expand this game a little more and in my free time I want to make little 2D games like these, however more entertaining of course.

I want to ask a few questions and some advice:

- Where can I find some free graphics and character animations? I am more into programming and do not like to spend too much time on the graphics, although I can do them pretty well if I have to

- Does anyone have a good tutorial on how to be able to make a little game with a network and internet (IP) interface, so online multiplaying can be achieved? Is this a realistic goal for me to try this out, or will this take way too long to accomplish?

- I also want to make a few simple 3D games. However, I have tried out both JOGL and LWJGL. I like them both but they both seem to be pretty platform dependent as they need the native libraries. How exactly can I make it happen that any 3d game I make will work with JOGL/LWJGL on any platform? I am using Netbeans by the way. Can I just add jogl.jar or lwjgl.jar to my project and import them inherently? What do I then do with all the natives from all the different systems? If I link to them, will they also be compiled in my eventual jar file? So the person who tries to play my game will not need to habe jogl/lwjgl installed himself?

- I saw a GLUT class somewhere in net.games.jogl. but I didn't see the possibility to really use the glut API like I am used to in C++   for example, I didnt see the glut function to draw a sphere. I am pretty sure GLU has one too though right? Is GLUT still in development for JOGL?

- Do you think it is realistic for me to make little games in my spare time using Java? With little games I mean small 2d games with the complexity of something like bomberman. I got some ideas of my own too and I want to try to make some original but simple games, such that I can make them on my own, or maybe in a small group of enthousiasts. With 3D I will try to make some simple games too, like a racing game, or a fighting game, maybe a small fps. I am pretty sure I can program it all, I just need to get my hands on some graphics!


Anyways, my main purpose of this post was to get active on these forums. I am looking around on the forums as we speak to find some answers on the questions I posted here.

Thanks in advance  Wink
Offline tusaki

Junior Member


Medals: 1


In a mad world only the mad are sane.


« Reply #1 - Posted 2006-03-23 12:39:25 »

- Where can I find some free graphics and character animations? I am more into programming and do not like to spend too much time on the graphics, although I can do them pretty well if I have to

well, you can look here: http://sprites.fireball20xl.com/
and here: http://www.java-gaming.org/forums/index.php?topic=8246.0


- Does anyone have a good tutorial on how to be able to make a little game with a network and internet (IP) interface, so online multiplaying can be achieved? Is this a realistic goal for me to try this out, or will this take way too long to accomplish?

too long depends on what you want to do and what your definition of 'too long' is.  Tongue There are numerous threads on this forum about this subject, and basic client/server networking isn't that hard with java. Basically you have to ask yourself how 'synchronized' you want things to be. Personally I would recommend to assume the client has a crappy connection. Keep the game state on the server based on the input of the client, but on the client side interpolate between what you receive from the server. (and assume lost packets and long ping times)


- I also want to make a few simple 3D games. However, I have tried out both JOGL and LWJGL. I like them both but they both seem to be pretty platform dependent as they need the native libraries. How exactly can I make it happen that any 3d game I make will work with JOGL/LWJGL on any platform? I am using Netbeans by the way. Can I just add jogl.jar or lwjgl.jar to my project and import them inherently? What do I then do with all the natives from all the different systems? If I link to them, will they also be compiled in my eventual jar file? So the person who tries to play my game will not need to habe jogl/lwjgl installed himself?

Well, if you use java webstart for example, you can distribute both the lbrary as well as the native files (which are neccessary btw) and only the native files which the user needs through the specification of your webstart. I've stopped being afraid of native libraries. Its very easy. In your project, just import lwjgl or jogl. and have the native libraries available on your classpath.


- I saw a GLUT class somewhere in net.games.jogl. but I didn't see the possibility to really use the glut API like I am used to in C++   for example, I didnt see the glut function to draw a sphere. I am pretty sure GLU has one too though right? Is GLUT still in development for JOGL?


Well, for JOGL I'm not sure, but for LWJGL things have been shuffled around a bit. For example, there is a Sphere class, not a Sphere function. But I bet you can find most of the functionality of GLUT, their location, naming and implementation has just been shuffeled around.


- Do you think it is realistic for me to make little games in my spare time using Java? With little games I mean small 2d games with the complexity of something like bomberman. I got some ideas of my own too and I want to try to make some original but simple games, such that I can make them on my own, or maybe in a small group of enthousiasts. With 3D I will try to make some simple games too, like a racing game, or a fighting game, maybe a small fps. I am pretty sure I can program it all, I just need to get my hands on some graphics!


I'm pretty sure all of what you want can be done in your spare time. Especially the more simpler games can be done within a few weeks with only an hour a day. And since you already have that much experience with OpenGL and such it shouldn't be too much of a problem.


Anyways, my main purpose of this post was to get active on these forums. I am looking around on the forums as we speak to find some answers on the questions I posted here.

Looking forward to your contributions and games Smiley
Offline Cyclonis

Senior Newbie





« Reply #2 - Posted 2006-03-24 03:58:14 »

Hi,

Thank you for the reply,

Here are my first and second game I made a little while back:

http://www.geocities.com/titanfreeze/SpaceInvaders.zip
http://www.geocities.com/titanfreeze/battlecity.zip

If anyone who also just started is interested in the source code, just let me know   Wink
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ENC

Junior Member





« Reply #3 - Posted 2006-03-24 16:59:22 »

hi Cyclonis... is it possible that I can have the souce code for your games...

really very intrested of how they works... Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (12 views)
2014-07-30 21:08:39

Riven (21 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (29 views)
2014-07-23 21:07:15

Riven (30 views)
2014-07-23 20:56:16
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!