White Background on Actors.
Jigglebox
Member Posts: 63
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 =]
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
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
(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.
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
I'll definitely check out whom you've linked. Thank you for all the help.