Adventure Game Studio

AGS Games => Completed Game Announcements => Topic started by: 2ma2 on Thu 10/10/2002 01:23:22

Title: Platformerius: the ninja incident!!111! (open source)
Post by: 2ma2 on Thu 10/10/2002 01:23:22
Gee, another one. How is this then. We'll for some reason, Igor called me a scripting god which ofcourse is completely untrue. To earn this trust I made a joke abut writing a platform engine in AGS.

And now I have..

So get your copy today! The zip contains the ags files containing all info about how it's been done, but it also includes some special scenes which Fruittree must have loads of credit for. So basically:

1: A compiled game, short as hell and
2: the source to the platform routines

The game doesn't end when killing the ninja, you have loads of sparetime to explore the platform functions. If you want to kick his ass again, press F9. For the legal bull, read the readme, I'm currently to tired to rewrite it nor think straight enough to put it to print in a sensible way. SO READ THE README.. unfortunate, I wrote that one aswell while beeing quite tired, but it's more comprehensible than this crap I'm writing now.

I've also included a cheap eye candy feature where you can take screen shots of the "tense" gameplay.

You can also choose in which file you'll store that particular screen by pressing 0-9, ala emulators

So with that, let's have a screenshot jam. The most unique thing you can accomplish with P:TNI and an underlying text of your choice wins.. uh.. he/she winds.. I'll get back to that m'kay?

There's yet some minor bugs which I can't bother find out why they are and they're to complicated to fix. You can suddenly fall out from the screen near the edge of that thingamob in the middle, due to the level design, but I couldn't be arsed to redraw it and it only happens if you try to slip underneath it while jumping in 1/10 tries. Also, there's some problems with the jump contra throwing stars functionality, not the delay tho', that's meant to be, but sometimes he throws it twice which should be virtually impossible..

bleh..

Ok, I'll go to bed now, have fun and see if you can find all three ways of killing of that ninja bastard ;)

SPECIAL THANKS TO:
Fruittree, you'll see why and
Trapezoid, cause you provided a useful midi package, just as I went out to look for some tune to use. Cheers dude!

Click here to download (http://user.tninet.se/~vqb114l/ilb/tutorials/platform.zip)

EDIT:
I've updated ILB now with this featured. The latest upload has bug fixes and adjustments as:

- Game crashing when repetadly chopping the head off
- Dying when jumping up in the center before the ninja has thrown a star
- Dying in the far right when the ninja has thrown a star
- The distance measuring when chopping the ninja has been lowered
- Stars no longer continue to fly by when you take a snapshot
- Appearing to be ducking after jumping and throwing a star is fixed

What still is quirky:

- Game crashes if you hold the s button a while after you've ran out of stars. I remembered this after the download ofcourse.
- All animations are still carried out while taking a snapshot
- The infamous "flying spånTM bug", cause I won't redraw the scene just because of that :)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: agsking on Thu 10/10/2002 02:08:52
Sounds cool- downloading....
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: agsking on Thu 10/10/2002 02:36:17
Wow! That is really really cool! I love the grafix and the music are very nice. Great game!
Title: just thought i'd let you know
Post by: Duzz on Thu 10/10/2002 03:24:15
There's a bug:  if you stand next to the ninja guy and hack at him with your sword really fast, his head flies off everytime you slash, and the game crashes giving the "too many overlays" error.

hmmm, and also, if you jump onto where the ninja's star has exited the screen  you die like you're getting hit by the star.

hop you don't think I'm whineing, just trying to be helful :)
It looks, and plays fantasticly though, you ARE the scripting god ;)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: evenwolf on Thu 10/10/2002 05:07:57
I love that background, very flashbackish?  or something. And the animation is just stellar, jumping etc.   Lush comes to mind for some reason.  Hope someone makes well with it.  
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Esseb on Thu 10/10/2002 10:18:25
Yes, I am still awake!

This is bloody great. Didn't know it was possible to make the EGO only move while the key was held. Lovely graphics.


Small bug: First time I played I didn't see the text around the screen, with throwing stars left etc, no idea how that happened, hasn't happened again.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: on Thu 10/10/2002 10:28:20
As I said, there's some bugs. However, the continues slashing of the poor ninja was something I didn't foresee. The error is due to executing
the "Taste my steel!" over and over every time you chop it off.

The dying from jumping where the star exited is something else I never discovered :). Open your game up and alter the destination of NSTAR to the x value of 500 or something, should fix it.

Anyho', I will probably not fix the bugs, unless I'm very very bored or something. :)

Esseb: I'll blame AGS for that one, it should be impossible to not seeing them texts.

Even: I think the word you're looking for is anotherworld:ish. The room contains the full amount of 20 colors! Ahuh?!!!1!

Thanks peeps
//2ma2 - forcing people to use palette's since 1984
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Esseb on Thu 10/10/2002 10:39:36
New bug: When you kill the ninja with your star, head down to the lower platform and jump up into the long green bush thingie.

Owie.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Igor on Thu 10/10/2002 11:17:44
Woh! Absolutely gorgeous- this looks completely Clickteam-like (as a matter of fact, if i wouldn't know it was made in AGS, i would have thought it's from MMF or something)! And pixels are so sweet they made me want to try myself in pixel drawing too...

Btw, can i call you scripting god now? ;)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: JD on Thu 10/10/2002 12:05:26
excellent! marvelous! etc. !
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: jannar85 on Thu 10/10/2002 12:09:44
Yay!!! Really great game Linus!! Love it! Tho... (this is a tips) maybe there should be points for each ninja killed, and after one is killed - another enters. When you've fought like 10 ninjas, you'll proceed to the next level. That would be even cooler:)

--- edit --
It's cool that it's open source:D
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Layabout on Thu 10/10/2002 14:51:15
wow! this is cool and by cool i mean totally awesome!!1!!!!!
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: MillsJROSS on Thu 10/10/2002 15:56:41
It's good to know, that should I need an action scene for my game, I have one here. Excellent gaphics, I love Trapazoids music, the intro was superb. All in all a 3 out  of 10! I mean 3 out of 3!

-MillsJROSS
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: danny* on Thu 10/10/2002 16:04:53
WOW!11!that's fantastic....
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: cpage on Thu 10/10/2002 16:26:38
I love it the animations are great

I get errors when I load it into AGS tho
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Goldmund on Thu 10/10/2002 18:21:56
GREAT! 2ma2 YOU ARE SOMEONE VERY SPECIAL!

I ENCOURAGE EVERYONE TO POST THEIR FAVOURITE TACTICS!

My FAVOURITE TACTICS is to come close to the ninja, wait when he throws his shuriken, and when EGO dies by jumping up kill the ninja in this exact moment this way THEY BOTH DIE and it is FAB.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Trapezoid on Thu 10/10/2002 19:01:00
Wow! This is cool! AGS can do anything!
And you used my music. Even cooler.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Pumaman on Thu 10/10/2002 20:40:02
Mighty impressive, up there with Moose Wars as one of the best non-adventure games done with AGS :)

Anyway, the reason the text in the corners of the screen disappears when you die is because dying calls RestartGame, and the GUIs were off when the game started.
The solution is to place a  SetRestartPoint();  call after GUIOn(1);  in the room Enters Screen script.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: 2ma2 on Thu 10/10/2002 21:14:22
Thanks people :D Oh, an actual post from CJ in the ann forum. That was unusual ;)

So how come you're restarting in room1 instead of intro?

Cpage, make sure ure using ags51beta2 or later. The files included are:
- ac2game.ags
- ac2game.dta - I thought this seemed unimportant to to dta being teh backup file before, but the sizes weren't equalent.. how knows :)
- acsprset.spr
- editor.dat
- room1.crm

Have I forgot something important?

jan: I was supposed to have two ninjas (hence the system name NONE, as in ninja one :)) who appeared again after the've died, as setting up a highscore system. However, time lacked and I couldn't be arsed to get things up and running. I left the status texts as a display of what CAN be achieved.. as in getting hype without doing it, my favourite hobby ;)

glod: Hehe, there's loads of fine things you can accomplish. I like going down and jump to that pedestial. And then jumply jump up and chop his head off. DEATH FROM THE DEPTHS!!!!11! Have anyone managed to put a star in his forehead yet?

CURRENT BUGS. WILL BE FIXED BEFORE PRESENTED AT ILB
if you for some reason want to keep this and skip downloading it again, do this:

The star collision is triggered from the coordinates, which ofcourse is independant of the star being in the room or not. This happens when jumping up in the middle of the screen after killing th ninja before he's thrown a star. It's also related to you getting killed if being in the far right end after he's thrown one.
Solution is: look up the character NSTAR and set it's starting coordinate to 500. Alter the x value of MoveCharacterDirect(NSTAR,400,character[NSTAR].y); in the timer routine in the beinning of the rep exec to 500 aswell.

Chopping the head off several times. Well it sure is fun to continue to chop it, so either remove the DisplaySpeechBackground() function for sword collisions or simply add a condition if you prefer keeping cliché like remarks.

The unusual happenings of rare violations of the law of physics, as suddenly falling out from the screen in the sides. This happened twice, and I tried hard as hell but I couldn't make it happen other than by accident.
To fix this, read all my code and find where the problem is. Happy hunting ;)

Chris told how to keep the GUI's visible, yet I don't know how it works when they disappear :)

I ENCOURAGE GLOD AND EVERYONE TO TAKE A SNAPSHOT OF YOUR FAVOURITE TECHNIQUE, AND SHOW IT IN THIS THREAD..

..if you like :)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Pumaman on Thu 10/10/2002 21:29:35
Quote from: 2ma2 on Thu 10/10/2002 21:14:22Thanks people :D Oh, an actual post from CJ in the ann forum. That was unusual ;)

Heh, yeah I'd better clarify my position in this forum.

Basically, it is my policy not to reply to threads in this forum, saying what I thought of the game. I'd like to, but then if I missed a game, I'd end up getting a mail from its author saying "I noticed you didn't reply to my game, why, didn't you like it? am I really bad?" and so on.
(Before you say anything - from experience, this will happen, I'm not being silly :) ).

However, if there are technical problems that people are having I will of course reply and why not pay a compliment at the same time. :)

Anyway, the point of me writing this is to say to everyone - the games you're all making are great, I download and play as many of them as I possibly can, and I would love to post "excellent work" replies and so on if I could. You guys definately deserve credit for all you're doing. Keep it up :)

Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: KANDYMAN-IAC on Fri 11/10/2002 09:06:10
Wooooo Hooooo,...... Linus i love you.....

And i'm *BEEP*ing jealous too.....

you will have to do a "quick" tut on those graphics....

but i found a bug... if you jump up from teh very bottom ground, (inbetween the little tower thing with grass, and the big slide like thing)
you die suddenly and for no reason

umm why???

EDIT....

Jumping at the edge of the screen also kills you.

another bug me thinks
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: on Fri 11/10/2002 10:44:49
Them bus have allready been reported :) Glad you liked it tho'. It's not much else than simple lollipop figures. Just make a big head and the body about 2/3 of the head size or something, but almost equalent in width. No simple scaling, no outlines.

ANother fun bug is that I forgot to include the function to full control the screen, so when you take a snapshot after you've cut the head off, it keeps spinning in mid air. Dang! :)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Esseb on Fri 11/10/2002 14:43:27
I found the awest bug, I dub it the "Flying Spån Bug"(tm)

Stand here:
(http://www.stud.osir.hihm.no/~steincb/esseb/standhere.gif)

Run here and quickly run to the right as you hit the block:
(http://www.stud.osir.hihm.no/~steincb/esseb/runhere.gif)

Wee:
(http://www.stud.osir.hihm.no/~steincb/esseb/wee.gif)


Also, stand exactly here. Jump up and just as you reach the ground again press left:
(http://www.stud.osir.hihm.no/~steincb/esseb/greatfall.gif)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: 2ma2 on Fri 11/10/2002 19:31:36
Hehe, it's still the level design error, however, you've brought it to fascinating new levels!

I've updated it due to releasing it at ILB
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: DGMacphee on Sat 12/10/2002 04:01:01
This game is so cool!!

Imagine how cool this game would be if it had a long room that was 1000 pixels wide...

And the object of the game was to kill a certain amount of ninjas before the time runs out...

;)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: cpage on Sat 12/10/2002 09:54:46
I have the latest version of ags but it says you used a old version and locks up

BTW I find if yo take a screenshot just before a star hits you it will pass right on through
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Helm on Sat 12/10/2002 12:42:23
Really, really ace tomato. I bow before j00!!11


Oh, and nice OOTW-style artwork :)
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Bob The Hun on Mon 14/10/2002 03:58:44
Quote from: cpage on Sat 12/10/2002 09:54:46I have the latest version of ags but it says you used a old version and locks up
Same here. Too bad, cuz I really want to know how you did this!
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: on Mon 14/10/2002 10:42:33
That is quite impossible..

I can see that you can't open up a game that's been compiled with a later version, but an earlier?! Chris?!!!! :o

Anyho', this pup is compiled in ags25alpha2...
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Andail on Mon 14/10/2002 20:10:43
There is only one room, is it?

Hmm...how could I have asked that without sounding ungrateful?
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Pumaman on Mon 14/10/2002 20:29:13
2ma2: hehe it's the standard error message if it doesn't recognise the file format. The problem here is that you compiled it with a 2.51 alpha version, but the "latest" version officially is 2.5b, that's why there's confusion.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Bob The Hun on Tue 15/10/2002 03:33:50
So how do I get it to work then?
That would be the ultimate spiffy..
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: cornjob on Tue 15/10/2002 11:08:39
Wow, I just checked this out and it is really cool. I dig the character sprites especially, and the controls are pleasing. You are super-great. Now if only it were expanded into a full level...
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Spyros on Tue 15/10/2002 13:43:19
Yeah that was the most clever use of code in AGS history. I couldn't believe that you could make a platform in AGS.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: 2ma2 on Tue 15/10/2002 15:04:37
blergh, I'll recompile it in the latest then..

thanks peeps. I'm wondering if I would write a full level or similar, or a proper small game, but Fruittree-san sadly won't participate in his current design.. ;) I'm exploring the possebilities of different stuff, and I'll exclude the throwing stars since AGS can't as far as I know, not make new characters, inheriting the star "class".

Spyros: Hey cheers! :D coming from you, it means ALOT!! :)

Ironically enough, this thread has soon passed the amount of replies I got for PD, uncluding the requests for hints. Wowsa.. it's not even a game for crying out loud!
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Goldmund on Tue 15/10/2002 16:28:40
Really? That's sad. PD is the hallmark of amateur adventures, not only AGS ones.

On the other hand, there's no head-chopping in it...
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Helm on Tue 15/10/2002 19:14:43
True, true.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: lord_leon on Mon 21/10/2002 12:40:00
MAN! you make the game i am producing right now look like just a piece of crap (*I am making James Mothaparralil, the Malayalee chef*) India. anyhow I LUVVVVVVVV IT:)) and it's open source!  You are the official butt-kicker!
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: Fizz on Wed 23/10/2002 19:53:27
this is so fuckin sweet.
Title: Re:Platformerius: the ninja incident!!111! (open source)
Post by: on Tue 05/11/2002 14:35:17
Cheers!

Btw, does it work to open up the files with the new AGS 2.51 for you with the problems? I wonder if I must recompile and upload a new cause I have VERY little time on my hands right now, and it should work..
Title: Re: Platformerius: the ninja incident!!111! (open source)
Post by: Scummbuddy on Fri 25/03/2005 04:56:29
any chance of ILB being put back online, so that I may download the open source code for this game? or perhaps even more feasible, someone pointing me to a working download link? thanks.
Title: Re: Platformerius: the ninja incident!!111! (open source)
Post by: Al_Ninio on Fri 25/03/2005 05:46:58
Here you go, mirrored, just for you.

http://al.xylot.com/platform.zip

I'm going to delete this in a few days (wouldn't want to hog all of TeranRich's bandwidth), so if you want to make a mirror of this, please do.

Also, Roger (on #AGS) has a rather small (but classy!) archive of AGS games, mostly old. You may want to check it out if you're looking for an old AGS game.
Enjoy!
Title: Re: Platformerius: the ninja incident!!111! (open source)
Post by: Scummbuddy on Fri 25/03/2005 18:18:52
thanks a bunch, and ill look there next. if this isnt added to shimbleshanks, then maybe ill put up a page with opensource projects.