Are some movements more efficient than others?
scitunes
Member, Sous Chef Posts: 4,047
does it effect memory differently if I use move versus velocity versus accelerate, move towards, etc?
I do not have the app viewer so I can't figure this out on my own.
Any help from someone with the viewer app would be greatly appreciated! I'm so close to having a game finished!
I do not have the app viewer so I can't figure this out on my own.
Any help from someone with the viewer app would be greatly appreciated! I'm so close to having a game finished!
Comments
I'm working on a platformer now, and the move behavior seems a little more consistent, BUT I think the accelerate behavior works better with gravity, so if you want a player to accelerate, and eventually fall, or drop to the ground, then accelerate is best.
I just put a max speed on my actor, and tried cleaning up my scenes a bit, but for each level, I had to tweak my main actor's accelerate and jump movement depending on how many actors were in each level, since I didn't want to sacrifice every piece.
So all in all, not sure what uses up more memory, but the accelerate behavior from my experience requires a bit more tweaking, and is affected more by memory usage within a level than the move behavior.
Hope this helps!