ZOOM IN!

tomas12343tomas12343 Member Posts: 8
edited November -1 in Working with GS (Mac)
Hello again!

First of all I must thank gamesalad for bringing us such a wonderful tool!
Second of all I want a .png picture (actor) to overlap another actor but using an effect like coming from outside the screen (for example frame one:size 1024x1024, frame two: size 1000x1000, frame three: size 900x900 and so on..). What I want to do is lock over an enemy so that my main actor can shoot on him, meaning: player touches enemy one, a circle (with the desired effect like coming from outside the screen) overlaps the enemy, the main actor shoots automatically on the enemy.

I have two questions
1) How can I achieve the desired effect for my .png
2) How can I lock on the enemy target when the player clicks (touches) on the enemy?

Any ideas?

Comments

  • PhoticsPhotics Member Posts: 4,172
    It looks like you want to scale the size of an actor. There are two main ways to do this.

    1 - Change the width and height values of the actor. The Change Size or Interpolate Behaviors can accomplish this.

    2 - Zoom the camera. You can change the width and height values of the scene's camera to scale the whole scene.

    It also looks like you're new to GameSalad. What you're trying to do might cause problems. Having actors that are 1024x1024 in size could cause a lot of problems in performance. You might want to read The Unofficial GameSalad Textbook. It was written with the aim to make it even easier to use GameSalad and to help Game Salad developers avoid common problems.
Sign In or Register to comment.