Tutorial: Platform School

Post your own tutorials, guides and demos.

Post » Sat Dec 27, 2008 6:46 pm

[quote="Rich":c0o3vm5z]Something else which may change to be aware of; 0.98 introduced tagged animations, so in 0.98.3 hopefully there platform behavior will automatically change the character's animations (if you tag them).

May be worth changing to that and explaining it briefly in the first tutorial :).[/quote:c0o3vm5z]

I know, I have a lot of work ahead of me :(

[quote="Ethan":c0o3vm5z]I really like your pixel artwork. Will you ever do a tutorial on that?[/quote:c0o3vm5z]

Hehe, thank you but I suck... just as any real pixel artist. (Well, okay maybe not "suck" but I'm definitely nowhere as good as all that.) Anyway I'm not the guy who should be writing pixel art tutorials, that much I know. Luckily there are a whole slew of them here for you:

http://www.wayofthepixel.net/pixelation ... pic=3467.0
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Dec 29, 2008 3:33 am

I've played through the tutorials, and they are really grand! Spot on. I commend ye, deadeye.

The moving platforms do not work correctly for me; perhaps this is a bug introduced with *.2.
B
4
S
2
G
6
Posts: 161
Reputation: 2,597

Post » Mon Dec 29, 2008 10:50 pm

[quote="Vrav":1jx9zku6]I've played through the tutorials, and they are really grand! Spot on. I commend ye, deadeye.

The moving platforms do not work correctly for me; perhaps this is a bug introduced with *.2.[/quote:1jx9zku6]

delete the events that make them "work", and it should work fine. the new platform movement automatically moves your character with the platforms.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Tue Dec 30, 2008 4:51 am

Yes, as I noted on the previous page, and in the first post, there's a lot of info in the tutorials that is obsolete. They need to be rewritten.

Honestly, I'm thinking of waiting until the next build to do the re-write. I've been informed that there are features coming up that that I could write about, and waiting will keep me from having to re-write them a third time :P.

Anyway, your patience is appreciated. Sorry for the delay.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 06, 2009 8:24 am

Well, I finally decided to sit down and rewrite my tutorials and immediately ran into a problem with the animation tags. Well, more like I've forseen a problem as I'm guessing the tags for platform behavior aren't done yet (they don't seem to work at any rate).

Since my character is using a sprite positioned at a separate sprite with platform behavior applied to it, the player sprite won't get input from the platform behavior to use the correct tag. Unless there's a workaround for this?

Or maybe I should just skip that part and leave my animation section untouched? It's still good info, it just doesn't use the tag system.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 06, 2009 8:36 am

Eh, it's a good idea to the tag system out of the way, since it doesn't seem to work the seperate collision box system right now. Oh, and you're re-writing them? Yay!
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Tue Jan 06, 2009 2:07 pm

Hm... I guess if you use a separate detector sprite with platform, tags aren't useful at all. I'm not sure of a good way to fix this...
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Jan 06, 2009 3:38 pm

Okay, no problem, I just won't write about tags. There's nothing saying I have to, I guess :)

I'll keep the current info I've got regarding animation. That pretty much just leaves the jump-through platforms and the moving platforms I think. Easy enough to change.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 06, 2009 3:39 pm

Tags should work fine, but as you said they won't if you use a separate object.

Is there a particular reason why you do use a detector? We're thinking of adding a 'test collision at X/Y in advance' to remove the need for them..
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Jan 06, 2009 3:51 pm

It's much more robust to use a separate collider sprite. You don't get silly results like platform characters hanging off ledges by their nose, and you won't ever get a changing animation frame resulting in an object partially inside a solid, which usually sets the platform behavior off in get-me-out-of-here mode, and then you end up standing on top of a big wall or something.

I think you're on the right track, Deadeye - maybe mention animation tags in passing, but go for an event based animation system anyway.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

PreviousNext

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 3 guests