Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Climbing engine, Need this
United States
crazy70
Posted: May 28 2008, 06:07 PM
Quote Post


Been a while
[*]

Group Icon
Group: Members
Posts: 254
Member No.: 4797
Joined: 2-December 07

Status: (0d) [--]


Seriously, I suck at GML. I need a good climbing engine or code.

...If it doesn't use the Pro edition.

If you can supply it, thanks.

This post has been edited by crazy70 on May 28 2008, 06:39 PM


--------------------
PMEmail PosterUsers WebsiteAOLMSN
Top
Unspecified
Miaxis
Posted: May 29 2008, 01:28 AM
Quote Post


hagan bromas
[*]

Group Icon
Group: Members
Posts: 1799
Member No.: 2793
Joined: 12-October 06

Status: (0d) [--]


Just set a variable on if the up or down arrow is pressed above a climbable object,disable the normal step event with the boolean variable check and make an else condition.Like that:

CODE

if climbing=0
{
//step event here
}
else
{
//climbing code
}

The climbing event would be keyboard checks for the arrow keys,and x/y position changing.Itīs easy.


--------------------
user posted image

user posted imageuser posted imageuser posted imageuser posted image
PMEmail PosterUsers WebsiteMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0393 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.44 ]