Help with score and resetting the scene. I have the game file to review.

Edb3Edb3 Member Posts: 2

My email is gamesaladhelp@gmail.com message me for the game file.

I have created a simple game that you have to touch and release three boxes before a line reaches them. If the line reaches the boxes before all three are touched it will reset the scene.

I have three rules in the game.

Rule# 1 When the "Line" or Actor 2 collides with the ”boxes” or Actor 2 it resets the scene.

Rule# 2 ( when actor receives event : touch is released : change attribute game.Score To: game.Score+1 )

This rule is to count the amount of times each box has been touched. The problem with this rule is it doesn't recognize each box individually, if the player touches the first box 3 times they will be able to move to the next scene without having to touch the rest of the boxes. This problem leads into my first question.

Question# 1 How do you make it required that each actor ”box” is touched once before the total ”Score” is achieved to move on to the next scene?

Rule #3 ( Attribute game.Score = 3 : Timer after .5 seconds : Change Scene : Go to Scene 1)

This rule is to change the scene, once the game.Score is equal to 3 then in half a second it changes to the next scene. For the sake of the game there has to be a time delay in the changing of the scene. Here is the problem, lets say that a person only touches one box before the line reaches. The scene will reset but it will still count the box that was touched before the scene reset. This leads to question number two.

Question# 2 How do you reset the amount of touches once the scene is reset? Also if someone goes back to that scene in the future it will keep a log of that persons touches and will change the scene.

Thank You in advance for the assistance.

Comments

Sign In or Register to comment.