View Full Version : Help plz *-* ?
I'm with a big problem in a project...
My game is with a HUGE lag. Nothing that I do make it lagless.
Could some one help me with it?
PS: It's without the "jump method" yet, I cant do it, because I can't test it with all this lag...
Plz help *-*
Kisses
Shay
beachbum111111
10-28-2010, 02:25 PM
what kind of of computer do you have? Xp, mac, vista, linux, or windows 7??? and how much memory do you have on you computer?
Win 7... 4gb...
Kisses
Shay
Akira101
10-28-2010, 03:18 PM
Hmm, well it doesn't seem to lag for me, well I'm on a school computer on Windows XP, maybe its your java need an update or compatability issues of win 7, just what i think though. Btw, when you make a jump, the biker just keeps on going up.
Plus: the system requirements are more than needed
There is something that I can do, on the metods to minimize the lag?
Kisses
Shay
beachbum111111
10-28-2010, 04:18 PM
if you make everything smaller, zoom the camera in, and shorten the distance that things go you might reduce some lag...
falcolobo
10-28-2010, 04:19 PM
It might be your Alice type. 2.0 is very slow, as compared to 2.2. Which one do you have?
Akira101
10-28-2010, 04:29 PM
Yeah, the newer one is better, and what beachbum said, the less on the screen at one time, the less laggy, but i think its just the version of alice.
I use 2.0 '-'
Do you think that is better to use the 2.2?
Kisses
Shay
DensetsuNoKaboom
10-28-2010, 05:13 PM
2.2 is better.
That said, I have a tendency towards 2.0, and I can testify that it lags a lot more.
falcolobo
10-28-2010, 05:18 PM
2.2 has download problems now though. I tried to download it so many times, but it seems to never work on my computer.
Dameria
10-28-2010, 05:25 PM
Im looking at your world now and I will add another post on this thread to tell you whether or not I can fix the problem.
EDIT: Sorry, but your code is almost all written in one method and in a different language (is it Italian?) I can't understand most of what it says, maybe if the coding was a little more organized, like multiple methods that are called from one method. It looks like you have every action running at the same time though. I would advise that you don't do this, because that slows down the game, causing lag. Make it so that you only need to do certain actions at certain times, and between those times the method is not running. This should get rid of some of the lag. I also noticed that you used the collision detection that I came up with. I'm not quite sure what is colliding because I don't speak the language, but it looks good from what I can tell.
Also, the movement of the bicycle is sort of choppy. This is because you have slight breaks between movements. I actually made an example of how to move a car realistically, slowing down and everything. If you want you can look at the attachment below to see how I did it (just ignore the "turn wheel" methods, thats just to turn the wheels of the car to go with the ground, just look for how I did the movement).
Akira101
10-29-2010, 12:30 PM
Yup, 2.2 runs smoother, so just download that one ;)
shaydon
10-29-2010, 03:17 PM
OMG YOU STOLE HALF MY NAME! :p