We're doing a lot of simple web applications at my school, getting data from a Glassfish database, using jsp and EJB.
I've been doing game-programming in Java during my spare-time for about a year now, and I'm progressing really well,
thanks to this amazing forum.
Now I'd like to combine the two things, to make something like this (with much worse graphics ofcourse ^^):http://www.youtube.com/watch?v=gwq1HcUzhCM
I would like to start developing a 2D side-scroller, much like Metal Slug.
I'd like for people to be able to log in, get their character info (inventory, weapon-layout and such)
from the database, using simple ids. These ids would then be converted into game-objects through
an initPlayer method. Then the user gets to the menu, choses his layout, chooses the level he wants
to play, and enters. He plays the level, gets a score, which is saved in the database for that particular
player. He can then compare his score to the scores other players have recieved.
Then he can buy new stuff using the money he earned playing the level, and try to get a better score.
When done, he can hit "Save & Quit", and the database is updated with his new content.
I've written up a relational model for my database, so I know which entities I have to work with.
What I really want to know is: What do I need to make this kind of project come true? I'm not afraid to
start learning new processes. In fact, I'm hoping to. I'd just like to keep it in a Java-context.
I was recommended to do it in a J2EE environment, but since I've only been using it to make simple
JQuery-based database listings (like listing fictional orders and users, and right now we're doing a dating-
site project) in school, I'm anxious to know how I'd be able to implement a graphics-canvas.
I'm guessing it's a good idea to have a thread handling all requests to the database, and that my
game-frame could call methods in that thread to get the information it needs to show scores and such.
But since I have no idea how to combine these elements, web-applets with a game-frame and a database,
I'm unsure of what can be achieved. I know "Gun Bros" (the game in the video I linked) have all these features
to some extent, but then I don't know which languages they did it in.
I'd very much like to be able to post it as an app on Facebook too, using an IFrame.
Not interact with Facebook as such, cuz it's a pain in the bum as far as I can see. Just to have an easy link-up
to a large user-base, you know? It'd all still be running on my own server anyway.