Platform Builder Forums
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Members
View the memberlist
Search For Members
Login
Register
Platform Builder Forums
»
Main
»
Suggestions
»
Allow this conditional to work with "for player = 1"
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Allow this conditional to work with "for player = 1" (Read 1444 times)
Antikore
Developing Mortal Theater at day, developing depression at night.
Level 22: Trex
Posts: 2020
Enjoying Platform Builder from the very start
Allow this conditional to work with "for player = 1"
«
on:
August 15, 2019, 08:18:49 PM »
Code:
[Select]
for player = 2
if key = attack
{
speed = 60
}
else
{
speed = 40
}
Allow to check if the player 2 is holding ITS attack button
Logged
Sorry because my English is not very good because I'm Spanish
War
"The top player is here!"
Level 20: Nobom
Posts: 1490
Re: Allow this conditional to work with "for player = 1"
«
Reply #1 on:
August 16, 2019, 08:28:40 AM »
Good idea !
Logged
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind
Megaman Zero Online
and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!
CGM
Christian, 3D artist, former Platform Builder gamdev
Master Builder
Posts: 3836
Re: Allow this conditional to work with "for player = 1"
«
Reply #2 on:
August 16, 2019, 05:33:59 PM »
I don't really understand.
Logged
//www.youtube.com/watch?v=GgKd_Kfy2aU
War
"The top player is here!"
Level 20: Nobom
Posts: 1490
Re: Allow this conditional to work with "for player = 1"
«
Reply #3 on:
August 17, 2019, 10:10:25 AM »
He wants a thing to check if P2 is holding the Attack Button.
Logged
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind
Megaman Zero Online
and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!
CGM
Christian, 3D artist, former Platform Builder gamdev
Master Builder
Posts: 3836
Re: Allow this conditional to work with "for player = 1"
«
Reply #4 on:
August 17, 2019, 03:36:35 PM »
Oh.
Logged
//www.youtube.com/watch?v=GgKd_Kfy2aU
Print
Pages: [
1
]
Go Up
« previous
next »
Platform Builder Forums
»
Main
»
Suggestions
»
Allow this conditional to work with "for player = 1"