Studdering issue
Okay, so I'm back to work on my tank game. I have a two piece tank with a bottom and turret, my X & Y reporting attributes are at the top of my logic and are reporting every .001 seconds. When I move forward the turret jogs back and forth like it's not reading the report at the right time to keep up. My turret is looking to the report at the same rate of .001 and is also at the top of my logic. Anyone have any ideas? I am using an integer but would it be better if I used a real attribute? If I stretch the camera out it seems to elevate the amount of jog. I'm not the type to blame GS for every problem and I know this has been discussed as a GS issue, if so could we get a fix or acknowledgement of this issue?
Comments
Go for it.
Sorry I can't help more.
Bray
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
at any given time an X or Y attribute can be at fractional/decimal locations … the computer tracks those fractions.
using integers for your elements movements, is no doubt causing some of the stuttering.
another possible cause may be the hundredths of a second Timers that access those attributes.
you do not need timers … you do not need to monitor the tank's position get rid of the timers … get rid of the attributes that reference the tank's X,Y
if you still have stuttering, then check the data on your images.
Good Luck!
MH
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS