Help with walls
So, I'm still kinda learning gamesalad, isnt hard at all, I have like 2 days of practicing different stuff, so I can maybe, soon, make a game. Right now im messing with walls and moveable objects inside of it, lets say for example, a maze with an actor inside.
My question is..
Is there an easy way to insert my actor INSIDE the maze, making the actor dont go outside the walls? I know it is possible but, can I make the maze on photoshop, transparent background and then make it a wall the whole maze? Or do I need to make every single line and then join them in gamesalad and put every single "line" as a wall? Know what I mean?
Because I tried making the whole maze on photoshop, put it on gamesalad, make the actor see it as a wall.. but isnt working at all.. any ideas? thanks in advance. and sorry for noobie questions....
My question is..
Is there an easy way to insert my actor INSIDE the maze, making the actor dont go outside the walls? I know it is possible but, can I make the maze on photoshop, transparent background and then make it a wall the whole maze? Or do I need to make every single line and then join them in gamesalad and put every single "line" as a wall? Know what I mean?
Because I tried making the whole maze on photoshop, put it on gamesalad, make the actor see it as a wall.. but isnt working at all.. any ideas? thanks in advance. and sorry for noobie questions....
Comments
Make one actor with maze graphic on it, not moveable.
You can use just one 'wall' actor multiple times and move and resize it to fit the graphic underneath it.
Then make the wall actor invisible, non moveable, with a restitution of 0. (look in the inspector on the left) you should be ok.
Because this wall actor is not moveable and invisible, and because you're using just one actor multiple times, it shouldn't be too much of a hit performance wise.
Then in your player actor, put in the rule 'collides with' actor 'walls'.
That should do it.
Hope it helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
fine just fine.
fine.
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Asymptoteell
by the way, make sure you add something to make it stand out if you plan on putting it in the app store. If you make a standard maze game, you'll have lots of competition. But if you have a maze game with lazer rabbits, you'll stand out more, and people will be more likely to buy.
So you can have four wall actors, for each of the boundaries for example, and just stretch them to fit.
I'd wait until you have everything placed right before turning them invisible
Also, remember that GameSalad can't currently use actors that have a width or height of 2 or less.
Anyway, Good luck!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io