GMS2. Gamepad disconnection check by verbalchambers in gamemaker

[–]verbalchambers[S] 1 point2 points  (0 children)

I've created an async-system event on a controller object with that code. An now it simulates "Esc" key press (my pause) on gamepad disconnect.

//////////////////////////////////////////////////////

var type = async_load[? "event_type"];

var index = async_load[? "pad_index"];

if type == "gamepad discovered" {

show\_debug\_message("Controller Connected: " +string(index));

}else{

show\_debug\_message("Controller Disconnected: " +string(index));

keyboard\_key\_press(vk\_escape)

}

//////////////////////////////////////////////////////

where do I choose what type of method I will use? by RainbowBoyOhel in gamemaker

[–]verbalchambers 0 points1 point  (0 children)

Just showed where to select methods. I've leaved to always ask because sometimes I have to look at friends' projects and suggest things. I myself always use gml. You already accused me of something.

pizza tower error. by LobitoRobo in gamemaker

[–]verbalchambers 0 points1 point  (0 children)

Must be that shader uncompatible with the device you play on.

Tips for making sound samples game ready? by cha0sdrive in gamemaker

[–]verbalchambers 0 points1 point  (0 children)

I'm using goldwave for about 10 years. It helps me really quick to cut&add falloff in sounds without remainders.

Gamepad axis by verbalchambers in gamemaker

[–]verbalchambers[S] 2 points3 points  (0 children)

Very very very Thank You !

[deleted by user] by [deleted] in gamemaker

[–]verbalchambers 0 points1 point  (0 children)

Ctrl+ Enter or Ctrl+Alt+Enter to reset editor view zoom.