I am looking to have split walls move up and down. Do I simply create a wall with a gap, save it as a .png and then give it motion on the x axis?
Comments
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
The Coding/Programming or Logic Services subforum is for PAID requests. I'll move this to the Working with GameSalad subforum.
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
If you draw a wall with a gap then you won't be able to use collide rules to determine if another actor makes it through the gap. You'd need two separate walls. What is the x-axis motion for? Are you making a platformer... say Flappy Bird?
If you draw a wall with a gap then you won't be able to use collide rules to determine if another actor makes it through the gap. You'd need two separate walls. What is the x-axis motion for? Are you making a platformer... say Flappy Bird?
Tut . . tut . . . tatiang, you're just being needlessly cynical, he's working on a word puzzle game*.
*Flappy Word™ ...
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
Definitely not a flappy bird thing but I can use it to describe what I want to do better. I want to be able to take and build a wall, similar stack like the pipes but have them move up and down at the same time. I said x-axis initially but meant moving up and down on the y-axis.
I wonder what Lumpflapps look like. Or sockFlapps. Didn't Dagoberth Duck have those?
It's actually Flappy Socks.
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
First of all, I prefer FlappySalad to AngrySalad.
Second, if you're making something where walls with a gap move up and down, you can start with one of the many Flappy Bird (there I go again) templates available from this community and then add a move behavior based on position. So at the top of the Y position range, move down, and at the bottom of the range, move up.
Second, if you're making something where walls with a gap move up and down, you can start with one of the many Flappy Bird (there I go again) templates available from this community and then add a move behavior based on position. So at the top of the Y position range, move down, and at the bottom of the range, move up.
Comments
*Flappy Word™
...
What LumpFlapps said.
(*actually, I got 5)
Second, if you're making something where walls with a gap move up and down, you can start with one of the many Flappy Bird (there I go again) templates available from this community and then add a move behavior based on position. So at the top of the Y position range, move down, and at the bottom of the range, move up.
You could use a simple bit of trigonometry to keep the walls moving up and down.
bird*flap(game.bird*flap)+walls