small platformer question

Post your own tutorials, guides and demos.

Post » Tue Dec 09, 2008 8:24 pm

An upload regarding this [url:38jbsm3z]http://www.scirra.com/phpBB3/viewtopic.php?f=3&t=2118[/url:38jbsm3z] question ...
B
2
S
2
G
4
Posts: 171
Reputation: 1,792

Post » Fri Dec 12, 2008 1:40 pm

I'm not sure what your problem is, you setup here seems very solid heh heh...(lame)
I think what deadeye said holds much weight though, that coming additions to the platform behavior will eventually solve your problem.

If this is for a project you want to work on I say just use what you have now, then later you can swap it for the jump through platforms.
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Fri Dec 12, 2008 8:29 pm

Well, it seems to be set up pretty well from here. You don't really have to use image points the way you are though, you can get the x/y position of the edges of the sprites in the expression editor.

As for the slope problem, you could use containers for your slopes. Make two different slope objects, both exactly the same size and shape. One will be your solid that toggles on and off, and one will be your continuous detector that you can check for per-pixel overlap. Since they're contained it will pick the proper instances so you can check overlap on the one and turn solid on/off on the other.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest