manual problem

FrimanFriman Member Posts: 55
Hi
I'm new here in the forum and new to Game Salad and I've encountered a problem in the manual/tutorial.
It's the part you're introduced to make a game starting with a basic shoot em up.

In pages 13-14 you're instructed to make a rule or behaviour (making the ship move to the right) and the tutorial suggest that you can use the rules in the prototype if you want to.
And I wanted to do it and I did exactly as the rules showed on the prototype until I came to "constrain attribute" on the Y axis it says like this:

Constrain Attribute: game.Player.Y To: self.Position.Y

And for some reason then I move down in the preview it disappears outside of the scene, unlike to the other axises it stays where it's supposed to be.
With the limited knowledge I have with this new game dev engine, I don't know what's wrong.

Cheers!

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    Your rules for moving right, left, and up all have a second condition based on the position of the actor. Your rule for moving down, however, does not have this condition. It would be something like attribute self.position.Y>40.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

Sign In or Register to comment.