TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
How to figure out if something is sliding?
Pages:
1
How to figure out if something is sliding?
00george
Posts: 161
March 09, 2012, 10:27:35 am
Hi in my game I want the character to NOT rotate when he is moving. I have partialy got there but when he has reached he destination he will not start to rotate again. I know how to make him start rotating again if I can figure out how to check if he is sliding. I will post pictures below and the link to the game as well. Also he faces the wrong way when sliding.
http://www.stencyl.com/game/play/11488
Hectate
Posts: 4643
March 09, 2012, 01:26:43 pm
Maybe the problem is the "Stop" block isn't letting you do anything else in the behavior? Technically you don't need that at all - or that whole Otherwise If check. If the top part isn't true, nothing else happens anyway. Unless you're intending to do something else in the future with it, you can probably remove it.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.
00george
Posts: 161
March 09, 2012, 02:07:27 pm
Ok I have sorted out one problem but for some reason where ever I click the box will always change to the same frame.
Hectate
Posts: 4643
March 09, 2012, 03:28:54 pm
Then the problem is probably with your math. Try printing the value and see if it's coming out to what you expect it should.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.
Pages:
1