Does your game freeze for a small period of time every couple of seconds? I can't seem to get a constant game frame rate with the game loop provided in the book, please help thanks!
@Snigglesnock Yes its a great idea, but i posted this game in the early stage of developpement( 4 days after i started) so did not have time to do this :p I will also try to change how the levels load( load them from a mapeditor instead)
@ryanjones56 i've posted the source code at javathescript . com. Just take note that the source code is not optimized(i haven't inserted comments when i created the game), so it might be hard to understand. All the graphics are included in the download link. The documents structure is organized for eclipse ide
@jeremyskateboard trying to make the sample work but it seems to be missing monster.txt and level.txt. Could you tell me what those files should contain
@andytherunner level.txt and monster.txt are located in the bin/gameengine directory. they contain numbers that indicate the height, the width and the tiles to add on the map. if you find them, maybe the problem is comming from the compiler you use. i used elipse compiler but it dosent work with windows default one. so what you could do is try to redownload to see if level.txt is there or if not i will try to post a version of the game that uses the default java package for the other compilers
This has been flagged as spam show
Very nice, I am working on the same game.
Does your game freeze for a small period of time every couple of seconds? I can't seem to get a constant game frame rate with the game loop provided in the book, please help thanks!
samirtleal 3 months ago
UPDATE
I added a file call run.bat to the project so you just need to click on it to start the game
jeremyskateboard 5 months ago
The new source code should work
jeremyskateboard 5 months ago
I changed the download for one that should work
downoad it again at javathecript . com and try if it works
jeremyskateboard 5 months ago
adding a drop table on killing a skeleton would make the game much more fun like give it a chance to drop something badass
Snigglesnock 6 months ago
@Snigglesnock Yes its a great idea, but i posted this game in the early stage of developpement( 4 days after i started) so did not have time to do this :p I will also try to change how the levels load( load them from a mapeditor instead)
jeremyskateboard 6 months ago
Please can you upload the source files for us to examine and learn from?
P.S you've done a really great job with this! :)
ryanjones56 7 months ago
@ryanjones56 i've posted the source code at javathescript . com. Just take note that the source code is not optimized(i haven't inserted comments when i created the game), so it might be hard to understand. All the graphics are included in the download link. The documents structure is organized for eclipse ide
jeremyskateboard 7 months ago
@jeremyskateboard Thanks! I will look at it later :)
ryanjones56 7 months ago
@ryanjones56 i included a space between javathescript and com because if not, youtube sends me an error message and i cant post my comment
jeremyskateboard 7 months ago
@jeremyskateboard trying to make the sample work but it seems to be missing monster.txt and level.txt. Could you tell me what those files should contain
andytherunner 5 months ago
@andytherunner level.txt and monster.txt are located in the bin/gameengine directory. they contain numbers that indicate the height, the width and the tiles to add on the map. if you find them, maybe the problem is comming from the compiler you use. i used elipse compiler but it dosent work with windows default one. so what you could do is try to redownload to see if level.txt is there or if not i will try to post a version of the game that uses the default java package for the other compilers
jeremyskateboard 5 months ago