• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

OFFICIAL Tech Blog: Buttery Smooth Tech - Inputs

Nocturne

Friendly Tyrant
Forum Staff
Admin
001_blog.jpg

Excellent tech blog here from the guys at Butterscotch Shenanigans on how to deal with input in your games... AND it includes a test project that shows the techniques explained!

 

Pixel-Team

Master of Pixel-Fu
Hey guys. Love this setup. I found a problem in the code when I tried to add additional inputs to my manager. In the o_input_manager Begin Step, (around ) line 110 where we check the inputs:

GML:
for ( var this_input_action = 0; this_input_action < array_length_1d(INPUT_STATES); this_input_action++){
should actually be:

GML:
for ( var this_input_action = 0; this_input_action < array_length_1d(INPUT_STATES[player_id]); this_input_action++){
 
Last edited:
Top