White Background on Actors.

Hello, i'm making my first game in game salad and still learning the basics, I created a few assets in Photoshop and I can't seem to set it where the actors don't have a white boarder around them when in the engine... any help?

Also, if i want to implement movement on it's own, and then different movement according to controlled actions, would i need to code that in? I was under the impression that GS was a mostly code free engine, but I can't seem to figure out how to implement an action button without using code.

Thank you for the help =]

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Save your images as pngs on a transparent background. If you don't know how to create a transparent background in Photoshop, Google it.

    GameSalad is "code free" in the sense that you aren't scripting in a programming language. It's still using programming logic, which requires that you determine how to create what you want. The nice thing is, you can use behaviors such as Move or Interpolate to move an actor on a scene. Rules give you the ability to use conditions (touch is pressed, left arrow key is held down, etc.).

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

  • JiggleboxJigglebox Member Posts: 63
    Save your images as pngs on a transparent background. If you don't know how to create a transparent background in Photoshop, Google it.

    GameSalad is "code free" in the sense that you aren't scripting in a programming language. It's still using programming logic, which requires that you determine how to create what you want. The nice thing is, you can use behaviors such as Move or Interpolate to move an actor on a scene. Rules give you the ability to use conditions (touch is pressed, left arrow key is held down, etc.).
    Thank you very much, After messing around with the engine a bit i started to get it a little more. How ever, What should I make my initial changes in or should i actually create the template in? (Prototype, or Instance.) And If I want the object to move in one direction constantly, yet when you press a "button" it either jumps or dives, how would I program that with the language given, I've got most of the basics set up now and just waiting to create separate scenes for my start, lose, and pause menus, but I can't seem to figure out how to implement those separate actions. =/

    (if you would rather direct me to somewhere that I could look this up myself that would be very helpful aswell =] )

    Thank you very much.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2014
    I recommend following a tutorial series such as the one I have linked in my signature or at least opening up a free template and seeing how it works. There are many around here or at sites like GSHelper.com and DeepBlueApps.com.

    To answer your question, when you program actors in GameSalad you almost always want to use the prototype actor. That actor is edited in the actors' inspector pane and governs any actions by any copy of that actor on the scene. So if you have a star actor and you add rules to it and then drag 20 copies on the scene, they will all do the same thing. Editing an instance by unlocking it on the scene (not recommended unless you have a good reason for it) creates a unique set of rules for only that single copy. The prototype actor and any new copies of the prototype will have the original (prototype) rules instead. That may have been more than you wanted to know!

    If you want to move in one direction, use the Move behavior and set the direction (e.g. 180° for left, 0° for right). For more advanced movement such as jumping, see @jamie_c's tutorials at http://jamie-cross.net such as this one:

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

  • JiggleboxJigglebox Member Posts: 63
    Awesome, that was exactly what I wanted to know. =] Yea, i just looked at DeepBlueApps and am looking at some of the free templates now. I really only have Two actors in what I am trying to make, and the one that i edited the Instance portion was a solo actor anyways. So i assume that shouldn't affect anything. However it's good to know that the Prototype will effect all copies. I'm grateful for the information.

    I'll definitely check out whom you've linked. Thank you for all the help.
Sign In or Register to comment.