I need help!
Hey there, i'm thinking on programming a game and turn it into a real time adventure game. Like a summer game...in a aquatic park, with water coming from holes, etc. I never did anything like this, and i'd like to know what kind of platforms i'd have to know about. I've done some embedded systems projects but that was in c++ and it was for a specific micro-controller and i had to know all of the specification..memory, interrupts, timers, usarts, etc. Can it be possible to write a java game and use it in a real time system without having to worry about the hardware specification? My idea was to code the game and have someone else make the hardware..is this even possible? or do i have to write code to a specific hardware micro-controller? I really have no idea..but i'd like to "write once" "run everywhere". Thanks, Manuel
I don't know anything about Java Real Time, but start here:
http://java.sun.com/javase/technologies/realtime/index.jsp
i have read all that and i still cant find the answer to my question.
Is it possible to code the game's classes and all the logic without knowing that specific hardware is going to use it?
Or.. do i have to know the hardware and my classes must be designed for that hardware?
> Is it possible to code the game's classes and all the
> logic without knowing that specific hardware is going
> to use it?
Yes. Java can run on any system (and therefore your code is portable) as long as there's a Java Virtual Machine available for that system.
So basically you have to make sure there's a JVM for the hardware where you want your Java app to run.
My 2 cents.
Thank you, that was helpful :)
But what kind of JVM's are we talking about? And are they free? Do i have to pay to develop my own game for a real time system? Can i do it using netbeans or eclipse on windows xp ?
I have no experience in this area..
> Thank you, that was helpful :)
> But what kind of JVM's are we talking about? And are
> they free? Do i have to pay to develop my own game
> for a real time system? Can i do it using netbeans or
> eclipse on windows xp ?
>
> I have no experience in this area..
definatly use eclipse its far more superior and easier to use i think. And I dont know if you have to pay to develop
> Thank you, that was helpful :)
Don't forget the Duke Stars then ;-)
> But what kind of JVM's are we talking about? And are
> they free? Do i have to pay to develop my own game
> for a real time system?
The JVM for the hardware you want your app to run on.
Sun's JVMs and JDKs are all free (as far as I can tell); Sun has even open-sourced Java recently.
> Can i do it using netbeans or
> eclipse on windows xp ?
> I have no experience in this area..
Eclipse is OK, furthermore it is free and open-source.
But before beginning you should have a much clearer idea about your requirements (hardware and such).
5 stars given :)
So i really need to know the hardware im going to use before i start coding..
I've always used eclipse and recently moved on to netbeans, but thats ok for me.
My idea was to code the game and have someone else use my code on their hardware. Is it possible? Or usually people make the hardware and we use it with our code? (i know this is the usual on desktop applications.. but in real time systems does it work that way too?)
> I've always used eclipse and recently moved on to netbeans
wow other people besides me actually use netbeans All the people i work with use eclipse lol
eclipse is much faster at compiling and intellisense help, etc, but i had to change to netbeans because i couldnt use Debug on eclipse when programming to j2me, CLDC..dunno why :/
No one can defeat: WALL OF TEXT!
That first post was a little intimidating, lol. ; )
What hardware do you envision your game running on?
Id break hardware into 3 groups: PC / Micro (cellphone) / Other
I would say that for all 3 categories youd have to write the game a
different way. On a PC you can leverage OpenGL, video cards,
and oodles of RAM.
On a cellphone you obviously couldnt use many MBs of textures or
music. You wouldnt have OpenGL (i dont think).
As for "other". I cant imagine what that would be.
JVMs and Eclipse are FREE for use and development.
First, Real-Time Java is not the same as game programming real-time. I'll try to address your post below:
> Hey there, i'm thinking on programming a game and
> turn it into a real time adventure game. Like a
> summer game...in a aquatic park, with water coming
> from holes, etc. I never did anything like this, and
> i'd like to know what kind of platforms i'd have to
> know about.
Well with Java you don't have to worry about that too much. For the most part, if you create a game with Java it will run (in theory) anywhere a JVM is installed. That said, there are limitations. For example, Java runs on certain versions of Linux but you can't run 3D because the hardware bindings may not be there (depends on the version of Linux).
> I've done some embedded systems projects
> but that was in c++ and it was for a specific
> micro-controller and i had to know all of the
> specification..memory, interrupts, timers, usarts,
> etc.
Embedded real-time has absolutely nothing to do with game programming.
> Can it be possible to write a java game and use
> it in a real time system without having to worry
> about the hardware specification?
As I said, most of the time you don't worry about the hardware specification other than the basics like how much computing power is there, how much memory, etc. so you know how much resources you have. In game programming, the idea (mostly) is to code the best game you can with the best graphics and most features, but within the limits of what the hardware will allow.
> My idea was to code
> the game and have someone else make the hardware..is
> this even possible? or do i have to write code to a
> specific hardware micro-controller? I really have no
> idea..but i'd like to "write once" "run everywhere".
> Thanks, Manuel
Why build the hardware? There's so much of it out there already. Maybe you should be more specific about exactly what you want to do. If you write a Java game it will run on (potentially) PC's, Mac, Linux, Cell Phones, etc...
I meant a real game, with water coming from tube holes and people going through/trying to evade it, to install it in an aqua park...kids running around, etc.
It had to have sensors and actuators, hence i was thinking about real time java.
Its not a desktop or j2me game. Its not 3D. Its real!
SOYLENT GAME IS PEOPLE! ITS PEOPLE!