Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
How do you make a diagnal movment
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do you make a diagnal movment (Read 2235 times)
Big Boo
Fear the boo.
Initiate
Posts: 42
None
How do you make a diagnal movment
«
on:
October 28, 2007, 01:42:35 PM »
In my game Legacy I want there to be some neat systems. I know how to do the rest of theme. But not diagonal movement, please help.
Logged
BOO!
Koopapooper
The Smarterchild
Associate
Posts: 162
I'm a Male.
(No subject)
«
Reply #1 on:
October 28, 2007, 01:47:36 PM »
I was trying to do that once, I came up with nothing.Its probably possible though.
Logged
I am ferior.
DragonBlaze
A Wild DB Appeared!
Royal
Posts: 3,329
(No subject)
«
Reply #2 on:
October 28, 2007, 10:21:39 PM »
Its possible
make 3 parallel process events.
In the first put a conditional branch for if the left and right keys are pushed. If the left key is pushed, turn a switch
on, if not, turn it off. If the right key is pushed, turn a switch
on, if not, turn it off.
In the second event do the same thing, except do the up and down keys, be sure to use a differant variable for this one.
in the third event, make a bunch of conditional branches. In those branches have move event commands to move the hero.
For example, make a branch for if left is pushed, in that branch check if up is pushed, if it is, move the hero upleft, if not, check to see if down is pushed, if so, move the hero left down, if not, just move the hero left.
that'll work, but you'll have some problems cuz the hero wont trigger 'touched by hero' events while moving. Getting around this is complicated.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN
Big Boo
Fear the boo.
Initiate
Posts: 42
None
(No subject)
«
Reply #3 on:
October 29, 2007, 12:58:12 PM »
thanks alot
Logged
BOO!
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
How do you make a diagnal movment