playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Help with my score system[Solved]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Help with my score system[Solved] (Read 1528 times)
jgalvezpa
Junior Playmaker
Posts: 58
Help with my score system[Solved]
«
on:
November 05, 2013, 02:01:22 AM »
Hi my game is connecting balloons from the same color, my problem is that everytime the user touch a balloon even the same balloon multiple time the score updates, i dont want, i only want to update the score when the balloons for example the user connect 3 then release finger update score to 3 balloons, no everything a balloon is touched.
«
Last Edit: November 05, 2013, 10:06:32 PM by jgalvezpa
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Help with my score system
«
Reply #1 on:
November 05, 2013, 02:16:11 AM »
Hi,
you'll need to implement that logic for each ballon:
typically, maintain a boolean flag, so that if the user touch twice a ballon, the second you know it's been touched already and don't do anything.
Does that make sense?
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Help with my score system[Solved]