Hi im new to the forums but I’ve actually been programming in java for like 2 years now. Im pretty good at it, I know the basics, control statements, oop, data structures (how to use the predefine ones and also build my own ones) and recursion. Basically I just passed all my programming courses with more than a decent grades and I like programming a lot (overall) But I just recently started on game development like a couple of months ago.
So I read a good tutorial (coke and code) made by kevin, and actually learned a lot about game programming in general (like how the main game loop works and double buffering) kevin’s tutorial help me a lot to make my own game (an rpg one). I’m implementing the worlds map and it looks pretty well, I’ve already implemented collision detection and map limits but still I got a few questions, here:
is it ok to implement collition detection seperately and only when the player (or entity)moves¿? let’s say… when the player moves right
it will only check for collision in that direction… same will apply for lets say… and AI that moves on any direction it will check for collition in that direction if it does a battle will start (because it’s an rpg, battles are usually encountered by touching an enemy or walking on certain areas)
the way im implementing levels on the world is like this: Im making a class Level that contains the background of the level and an arraylist that keeps all the entities that exist in that level (for collision detection) so I made an array of this level class and put on the player class to variables posWX and posWY that represents the coordinates of the player in the world so when the player reaches a limit of the level in lets say … Right the posWY (since its level[WX][WY]) gets updated (posWY++) hence the game loop starts drawing that level and everything that’s on that level (also adding the player there so it doesnt dissappear) Im I doing it ok or theres a much better way of doing this¿?
And also, what’s up with FPS on my game, it seems that on diffrenet comps is not the same at all, is there a way to ensure that things like that don’t happen.
Also I’ve got some questions not related to games but maybe someone could point me out good on this.
what’s a good tool to make my app stand alone (.exe) I’ve tryed a lot of free software but none of them could actually made the application stand alonable.
what’s a good tool to make a setup or w.e to deploy my app (preferably that’s not webstart, I can learn how to do it on my own with webstart)
and that’s pretty much all for now, thanks in advance (if you ever reply that is!)
=P