Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

walking diagonally

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Torchic




Joined: 18 Oct 2010
Posts: 2

PostPosted: Thu Nov 18, 2010 4:08 pm    Post subject: walking diagonally Reply with quote

so i want to make a script that makes you go up and down the stairs but i dont know where to start. if someone would make a sript for me or teach me how that would be nice.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Nov 20, 2010 8:17 pm    Post subject: Reply with quote

I wrote a script for you: 'Scripts:Diagonal walking'

Note that if you want to use it to walk up or down stairs, then the stairs should start and end in the middle of a tile (that is, 10 pixels of flat ground, and 10 pixels of stairs). If you want to draw your stairs so that they start and end at a tile boundary instead, you'll have to write a script to walk 10 pixels to the left or right first, call "walk diagonal", and then walk another 10 pixels. I hope the script provides a good example for you.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group