Problem with Scripting

Problem with Scripting

Postby Tlaloc1 » 24 Nov 2016, 20:40

So, I'm trying to make an intro level similar to Under Construction from 0.3.0. However, the script that makes Tux automatically run forward doesn't work, unless the "UP" button is pressed.
Here's the script from Under Construction:
Tux.use_scripting_controller(true);
Tux.make_invincible();
Tux.do_scripting_controller("right", true):
If anyone can help, thanks.
↑ ↑ ↓ ↓ ← → ← → B A Start
User avatar
Tlaloc1
 
Posts: 67
Joined: 26 Dec 2015, 18:31
Location: Somewhere in Illinois

Re: Problem with Scripting

Postby brmbrmcar » 24 Nov 2016, 21:46

Disable the isButton on the script (right click and untick isbutton or whatever it is called (it will be a similar name)).
brmbrmbrmbrmbrmbrmcar
User avatar
brmbrmcar
 
Posts: 357
Joined: 24 Oct 2015, 14:46

Who is online

Users browsing this forum: No registered users and 1 guest