Tutorial: Platform School

Post your own tutorials, guides and demos.

Post » Wed Feb 25, 2009 7:15 am

Yep, I updated the first post earlier to warn people. Maybe I should have made a new post, too.

[quote="Shady":p1e9nqx8]So it'll probably delay the release of the next tutorial...[/quote:p1e9nqx8]

I wish I could blame any lateness on the 98.8 release, but no... it's all due to my own laziness :P
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Feb 25, 2009 1:43 pm

For those who want to get the tutorials working with 98.8, go in and change the "is overlapping" with "overlapping with offset(0,0) and that should get everything working again.

It sounds like they plan to get it fixed for the next build, but in the meantime, it's good practice for users to get their hands dirty in Deadeye's code and fully understand how he's using the overlap condition.

Sponge.
B
2
S
1
G
3
Posts: 105
Reputation: 1,310

Post » Sun Mar 01, 2009 10:34 pm

Hey, given that I've had this problem in my own project, can I request that the next tutorial (more AI, I think it was) cover having multiple types of enemies? Having duplicated code is bad after all, and being able to use containers AND families would be a big help.
B
2
G
3
Posts: 71
Reputation: 992

Post » Mon Mar 02, 2009 1:23 am

The next lesson is pretty much already done. And I'm sorry, the two enemies are different and have different event sheets. I'm still deciding whether or not one small bit of events is good enough to release the lesson though (having to do with how the enemies avoid each other), and I still have to write the event comments.

There will be some families stuff in the ninth lesson, though.

[quote="SpongeBrain":25a0pzgx]For those who want to get the tutorials working with 98.8, etc. etc.[/quote:25a0pzgx]

Just a heads up, you no longer need to do this. The tutorials now work just fine in version 98.8.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Mar 02, 2009 7:59 pm



[list:3h4ryy1e]
[*:3h4ryy1e]Lesson Eight - Intermediate Enemy AI <- download in first post!
[list:3h4ryy1e]
Making a slightly more complex enemy that chases the player around the level.
[/list:u:3h4ryy1e][/*:m:3h4ryy1e][/list:u:3h4ryy1e]

This lesson expands on the last, making use of the Platform behavior to create an enemy that chases Charlie around the level, jumping over small obstacles, and avoiding other instances of itself.


Thanks to David and Mipey and others who helped me (or tried to, as the case may be) figure out the most efficient way to get the enemies to avoid each other.

Note:
[size=85:3h4ryy1e]There have been a couple of changes to the game in this .cap that don't have to do with this actual lesson. First, everything has been changed to Point filtering. As Ashley pointed out to me earlier, there wasn't really any good reason not to. I thought I'd need Linear for something down the line, which is why I went with it originally, but that looks like it's not the case. I'll be updating all the previous lessons to reflect this change.

Second, the Doomba activation/deactivation code in Lesson 7 doesn't actually work... once active, they stay active. This is because you apparently can't Else a "Pick by evaluation" condition. Which makes sense if you think about it. So I'll be updating that as well.[/size:3h4ryy1e]

And that's about it. Enjoy the lesson :)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Mar 03, 2009 2:37 am

Ill be looking at the AI later but it looks good deadeye :)
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Tue Mar 03, 2009 3:12 am

Hooray! This tutorial is great!
B
5
G
3
Posts: 12
Reputation: 950

Post » Tue Mar 03, 2009 5:30 am

Thanks for the new tutes. Just caught up with 6,7 & 8. Been out of action for awhile due to a computer changeover. It's great to see clever ways of doing things. I particularly liked the use of x and y co-ordinates. Like measuring the x and y distance between the Doombas and Charlie to control when the Doombas are active. Also setting Cooper's direction by comparing his x value to Charlie. It's stuff like this that is a big help to a beginner like me. Would be nice if I think more often about what x and y can do.

Okay, please bring back Swimba. I suspect he was left out so that we would ask for him back.
:D Pretty please bring him back. :D

Oh, in Platform School 7, there is a bit of a typo with the word 'particular.' It's in the sign where the phrase 'willy nilly' is used.

Thanks again for the tutorials.
B
4
G
3
Posts: 41
Reputation: 982

Post » Tue Mar 03, 2009 6:30 am

Thanks guys (and gals) :)

[quote="table":20yap5rf]Okay, please bring back Swimba. I suspect he was left out so that we would ask for him back.[/quote:20yap5rf]

Shortly after winning eight gold medals at the Olympics, a photograph of Swimba smoking marijuana surfaced, marring his reputation. Though he claims it was just a one-time lapse in judgment, he's currently too ashamed to show his face in public.

[quote="table":20yap5rf]Oh, in Platform School 7, there is a bit of a typo with the word 'particular.' It's in the sign where the phrase 'willy nilly' is used.[/quote:20yap5rf]

Thanks, I'll fix it. I need to update that .cap anyway.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Mar 03, 2009 11:55 am

[quote:1w41hvpv]Shortly after winning eight gold medals at the Olympics, a photograph of Swimba smoking marijuana surfaced, marring his reputation. Though he claims it was just a one-time lapse in judgment, he's currently too ashamed to show his face in public.[/quote:1w41hvpv]

Yep, poor Swimbo, I can understand his shame. :( However, it could be perfect timing for Swimbo's younger brother to step out of the shadows and grab some of the glory. :twisted:
B
4
G
3
Posts: 41
Reputation: 982

PreviousNext

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 3 guests