Point and Click Game BASIC HELP please+thankyou
gtxviper03@hotmail.com
Member Posts: 0
Hello,
I am in way over my head; horrible with code. Luckily the concept of the game is very simple.
I need to have a background, and many stationary actors on it which can be clicked and changed colors when clicked.
Essentially it is a red vs blue game. Once all the actors are the same color, that side wins.
So I can import a bg image, and an image for a red actor, and blue actor.
How would I go about setting the behaviors so that when one is clicked- it will change to the other?
And after the whole board is full; the game would need to show that level ended.
Also- is there a way to set a timer on the actors to change BACK to the original colored actor if not clicked for a certain period of time? i.e. in 10 seconds it switches back?
Thank you so much to anyone who can point me in the right direction. I've tried watching a dozen gscookbook videos and it's not answering the questions i need answered..
I am in way over my head; horrible with code. Luckily the concept of the game is very simple.
I need to have a background, and many stationary actors on it which can be clicked and changed colors when clicked.
Essentially it is a red vs blue game. Once all the actors are the same color, that side wins.
So I can import a bg image, and an image for a red actor, and blue actor.
How would I go about setting the behaviors so that when one is clicked- it will change to the other?
And after the whole board is full; the game would need to show that level ended.
Also- is there a way to set a timer on the actors to change BACK to the original colored actor if not clicked for a certain period of time? i.e. in 10 seconds it switches back?
Thank you so much to anyone who can point me in the right direction. I've tried watching a dozen gscookbook videos and it's not answering the questions i need answered..
Comments
http://cookbook.gamesalad.com/tutorials
Actor receives event touch is pressed.
change attribute
self.color blue to 0.8
self.color red to 0.8
When touch is pressed
change attribute self.clickTime to self.Time
When self.Time > self.clickTime+10
change image [blue_image.png]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User