Solid Tiles Are Not Behaving as Such (in a Shmup)

Chat about anything not covered in these forums, but keep it civil!

Post » Sun Nov 16, 2014 8:43 am

So, after staring at this for a while, I'm finally frustrated enough to ask for help.

I am making a side-scrolling shmup in Construct2, and I have my tile map for the scenery and corridors to fly through (think Gradius). I have my Tile Maps set to the "Solid" behavior, but I can still freely fly over them when I test the game. I would like the ship to merely but up against them, but not through them, and in some aspects, be destroyed by coming into contact with certain pieces of the Tile Map.

I went over the shmup tutorials from Kyatric, which were really helpful in the basic design, but nothing in those tutorials covered tile maps. In the Tile Map instructions, they merely say to set the Tile Map to "Solid." So I'm not sure what else to look into. Any help will be greatly appreciated (especially if it fixes my issue) as I'd love to be able to move on with my design!
B
4
Posts: 5
Reputation: 210

Post » Sun Nov 16, 2014 1:00 pm

What behavior do you have on the ship?
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Sun Nov 16, 2014 2:42 pm

Just Bound to Layout.
B
4
Posts: 5
Reputation: 210

Post » Sun Nov 16, 2014 2:55 pm

If I give the player the "Platform" behavior, it falls to the bottom of the screen and no longers moves around like a shmup ship should be able to.
B
4
Posts: 5
Reputation: 210

Post » Sun Nov 16, 2014 2:57 pm

Awwwww crap. That's what I needed. I shut off the gravity in Platform. Yeesh. I'm still getting used to Construct2 and as I figured, I overlooked something obvious, which was to assign the proper behaviors to the player ship.

So then my next question is, how do I program the ship to be destroyed if pushed off-screen by the environment?
B
4
Posts: 5
Reputation: 210

Post » Sun Nov 16, 2014 4:34 pm

If nothing else works, put two invisible sprites outside of the screen or on the border, that trigger the destruction of sprites?
B
33
S
9
G
3
Posts: 493
Reputation: 4,042


Return to Open Topic

Who is online

Users browsing this forum: Gear games and 1 guest