How to double an actor each time another actor is touched?
Hi,
My first game I made was Catch The Ball (and got to admit its pretty **** looking at it now) but at the time I was so excited about it, it was my first attempt at making a game. Anyway I have learned so much this year and I want to update it now changing everything. but have only one problem that I can not work out...
when you touch the white ball, a black ball will appear. each time you touch the white ball the black ball doubles making it harder to catch the white ball. how do I do this?
All I want to know is how to double the black balls each time you touch the white ball
Thanks
My first game I made was Catch The Ball (and got to admit its pretty **** looking at it now) but at the time I was so excited about it, it was my first attempt at making a game. Anyway I have learned so much this year and I want to update it now changing everything. but have only one problem that I can not work out...
when you touch the white ball, a black ball will appear. each time you touch the white ball the black ball doubles making it harder to catch the white ball. how do I do this?
All I want to know is how to double the black balls each time you touch the white ball
Thanks
Comments
You want the black ball to double in size? Or to double in number? i.e 2 blacks balls appear, then 4, then 8 etc
Shaz
________
Say hi on Twitter
Like us on Facebook
www.HoneyTribeStudios.com
I sent you a PM.
About your question - Maybe just have a rule saying when touch is pressed spawn black orb.
Then another rule:
If attribute game.blackorbcount is more then 1 spawn another?
I am sure it has something to do with math
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
So if he presses it 100 times, the orbs would spawn double the number on screen.
Correct me if im wrong.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
when the white ball is pressed, spawn black ball.
When white ball is pressed, spawn 2 black balls.
When white ball is pressed, spawn 4 black balls
then 8, 16, 32 and so on.
Which rule/attribute will work? Braydon_SFX or uptimistik ?