Joystick and Button: Difference between revisions
Added script block images
Nikitaivanov (talk | contribs) (Created page with "with these you can use a joystick and buttons to controls things in your games. File:Joystick_And_Button.jpg You can use several combinations, as shown in the image bellow. File:JOYBUTONEX.png But there's a limit to keep in mind, imagine a joystick is worth 2 points, and buttons are 1 point, then the limit is that you can only use up to 4 points. So you can only have: * 2 joysticks * 1 joystick and 2 buttons * 1 to 4 buttons = Joystick = Adds joystick(s) in...") |
RandomName (talk | contribs) (Added script block images) |
||
Line 14: | Line 14: | ||
= Joystick = | = Joystick = | ||
{{Block | |||
|image=Joystick.png | |||
|type=s | |||
|folder=control | |||
|input1={{Port|e|Before}} | |||
|output1={{Port|v|Joy Dir}} | |||
|output2={{Port|e|After}} | |||
}} | |||
Adds joystick(s) in the screen. Unlike most of the blocks in Control tab, Joystick doesn't have any execution (yellow) output wire | Adds joystick(s) in the screen. Unlike most of the blocks in Control tab, Joystick doesn't have any execution (yellow) output wire | ||
Line 38: | Line 46: | ||
= Button = | = Button = | ||
{{Block | |||
|image=Button.png | |||
|type=s | |||
|folder=control | |||
|input1={{Port|e|Before}} | |||
|output1={{Port|e|Button}} | |||
|output2={{Port|e|After}} | |||
}} | |||
Adds button(s) in the screen. | Adds button(s) in the screen. | ||
=== Output === | === Output === |