Obelisk

Last Login:
February 26, 2017
Warn:

Rank:
Ludapet



User Profile
Follow

Hits: 111,227
Joined May 29, 2006
Games (2)
Examples (6)

Mouse Movement Example
June 08, 2006
Hyperspace Example *UPDATE*
September 13, 2006
Electricity Effect
September 22, 2006
Advanced Line Drawing
November 26, 2006
Mouselook
February 26, 2007
Wall Fade
May 08, 2008
Favorite Users
Dev - Sort these by name
Favorite Games


quick GM help
Posted on March 03, 2016 at 08:18

I'm messing with GM right now for the first time in ages. It has a lot more going for it now and I'm stoked for all these new features.

All I need to know is how I can "simulate" a keyboard_check_pressed or keyboard_check_released kind of scenario with the joystick.

For instance, for pressing down on the stick I have something like

if gamepad_axis_value(0,gp_axislv)>.25 {move down}

but I need to check exactly when it begins and ends

I think there's some voodoo magic trick that's something like

bullshit=(bullshit&1)*2+othershit

that returns 0 for nothing happening, 1 for the first step, 2 for the last step, and 3 for everything in between. But I don't remember how it works

who's got me



Prev Page | Next Page

Recent Activity
 
Active Users (0)