• Post Reply Bookmark Topic Watch Topic
  • New Topic

lag fix and how to jar them all together  RSS feed

 
Stanpeter wong
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The attachments is my little game , when I click it massively it just start to lagg and froze and stop working
can anyone give me some advice on making it lagg-less
I know that my code may not be efficient at all, so can anyone give me some advice on making the program lag less?

btw, press R /Right click to reload, left click to shoot

if you played the game, may you please be kind enough to tell me what may I add to make it better?? the game is sort of a clone of virtua cop

you can get the .rar file here
http://uploading.com/files/43am29de/FPS.rar/
since I can't upload rar or zip to the forum

btw, I also know that the multiplayer part is not finish yet but try it by pressing start game

secondly, how to jar them all to a jar so I can just run them by clicking it
 
Stephan van Hulst
Saloon Keeper
Posts: 7969
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't download the file.

You can add some code to your program to find out which parts are slow and get called often. Then you try to improve that code.

As for making it into a .jar, google the phrase "jar tutorial".
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!