Generating random actors at one specific location
homatich@gmail.com
Member Posts: 1
Hello, I'm new to making games and know next to nothing about it. But I'm interested in learning.
So basically what I'm trying to do is when you press on a actor, a new one ( or a the same one) will appear at the same place.
Just to give an idea of what type of game I'm trying to make: it's a mathematical game where for example if 21 appears at the top you need to press 3 and 7 or vice versa in the grill below. If there is no numbers that appears that could multiply to 21 you need to not press anything.
At the top there is a randomly generated number that appears and below there is 9 squares with randomly generated number that appears in each square. As simple as that type of game is to play, there is a quite the complexity of making it and I think I'll learn a lot from it.
So basically what I'm trying to do is when you press on a actor, a new one ( or a the same one) will appear at the same place.
Just to give an idea of what type of game I'm trying to make: it's a mathematical game where for example if 21 appears at the top you need to press 3 and 7 or vice versa in the grill below. If there is no numbers that appears that could multiply to 21 you need to not press anything.
At the top there is a randomly generated number that appears and below there is 9 squares with randomly generated number that appears in each square. As simple as that type of game is to play, there is a quite the complexity of making it and I think I'll learn a lot from it.
Comments
Doing that just requires a Spawn Actor behaviour with no offsets set. But I'm not clear from your description why you'd want to be doing that. Perhaps to highlight the numbers chosen?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Or just change an integer attribute, shown via a Display Text behaviour in the one actor.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps