Game Pad out of sprites - Test -

Operator
Posts: 138
Joined: Mon May 06, 2013 5:52 am

Re: Game Pad out of sprites - Test -

Post by Operator »

The pad snippet with your 8x8 multi frame
sprite sure has a "strange" behavior ...
The first steps of any direction are slow,
but after all directions have been cycled
till the walker walks normal (not slowed
speed) it will stay normal.

If you reduce the loop counter to 10 then
you will see that in the first steps of any
direction the loops/sec value breaks down.

IF i> 10 THEN
i=0
dT=0
END IF


I assume this has to to with how sB handles
the multi frame sprites....

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Game Pad out of sprites - Test -

Post by Mr. Kibernetik »

Tantrixx wrote:https://www.dropbox.com/sh/w7upr465fw2j ... 369Wa?dl=0
Operator, in Dropbox link to your code and my sprite. I then add lateral movement. Can mr.K tell?
mr.Kibernetik, there sprite 8 by 8. the motion as if he accelerates. When pick up speed, the next movement is moving normally. iPhone 5. How do I make right move at maximum speed.
Please submit bug report if you meet incorrect behaviour.

Post Reply