RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[XP] Double Tap Dash Button 3

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
Romeo.
Requires
3 Variables
4 Switches
5 Common Events

Check Tapping
Code: [Select]
Common Event: Check Tapping
Trigger: Parallel
Condition Switch: Never Tapped

List of event commands
@>Conditional Branch: Script: Input.trigger?(Input::UP)
@>>Control Variables: [Tap 1] = 2
@>>Control Switches: [Tapped Once] = ON
@>>Control Switches: [Never Tapped] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::DOWN)
@>>Control Variables: [Tap 1] = 8
@>>Control Switches: [Tapped Once] = ON
@>>Control Switches: [Never Tapped] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::LEFT)
@>>Control Variables: [Tap 1] = 4
@>>Control Switches: [Tapped Once] = ON
@>>Control Switches: [Never Tapped] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::RIGHT)
@>>Control Variables: [Tap 1] = 6
@>>Control Switches: [Tapped Once] = ON
@>>Control Switches: [Never Tapped] = OFF
@>>Branch End

Check Tapping Again
Code: [Select]
Common Event: Check Tapping Again
Trigger: Parallel
Condition Switch: Tapped Once

List of event commands
@>Conditional Branch: Script: Input.trigger?(Input::UP)
@>>Control Variables: [Tap 2] = 2
@>>Control Switches: [Verification] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::DOWN)
@>>Control Variables: [Tap 2] = 8
@>>Control Switches: [Verification] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::LEFT)
@>>Control Variables: [Tap 2] = 4
@>>Control Switches: [Verification] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Branch End
@>Conditional Branch: Script: Input.trigger?(Input::RIGHT)
@>>Control Variables: [Tap 2] = 6
@>>Control Switches: [Verification] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Branch End

Timer
Code: [Select]
Common Event: Timer
Trigger: Parallel
Condition Switch: Tapped Once

@>Wait: 5 Frames
@>Control Variables: [Time] += 1
@>Conditional Branch: Variable: [Time] == 2
@>>Control Variables: [Tap 1] = 0
@>>Control Variables: [Tap 2] = 0
@>>Control Variables: [Time] = 0
@>>Control Switches: [Never Tapped] = ON
@>>Control Switches: [Tapped Once] = OFF

Verify Correct Button
Code: [Select]
Common Event: Verify Correct Button
Trigger: Parallel
Condition Switch: Verification

List of Event Commands:
@>Conditional Branch: Variable [Tap 1] == Variable [Tap 2]
@>>Control Switches: [Tapped Twice] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Control Switches: [Verification] = OFF
@>>Else
@>>Control Switches: [Never Tapped] = ON
@>>Control Switches: [Tapped Once] = OFF
@>>Control Switches: [Verification] = OFF

Dashing (Success)
Code: [Select]
Common Event: Dashing (Success)
Trigger: Parallel
Condition Switch: Tapped Twice

@>Conditional Branch: Script: Input.press?(Input::UP) or Input.press?(Input::DOWN) or Input.press?(Input::LEFT) or Input.press?(Input::RIGHT)
@>>Set Move Route: Player:
$>Change Speed: 5
@>>Else
@>>Set Move Route: Player:
$>Change Speed: 4
@>>Control Variables: [Tap 1] = 0
@>>Control Variables: [Tap 2] = 0
@>>Control Variables: [Time] = 0
@>>Control Switches: [Tapped Twice] = OFF
@>>Control Switches: [Never Tapped] = ON
@>>Branch End
« Last Edit: February 23, 2014, 04:06:40 PM by modern algebra »

***
Rep:
Level 88
0w/\/Z0Rz im back Baby!
omg y cant people add the game name to there topic!?


is this for xp of 2k3
September 13, 2007, 06:56:52 PM <-  Last Login
.
I returned and better than ever!
.
Don't mess with me.
.
Ever....

**
Rep:
Level 88
Romeo.

***
Rep:
Level 88
0w/\/Z0Rz im back Baby!
idont get it...this should be in scripts....havent seen 2k3 varibles in a while
September 13, 2007, 06:56:52 PM <-  Last Login
.
I returned and better than ever!
.
Don't mess with me.
.
Ever....

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
These are event systems, they don't belong into scripts.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!