Ben 'Yahtzee' Croshaw's new game! (1213 - first part now available)

Started by mozza, Wed 28/12/2005 03:34:43

Previous topic - Next topic

esper

Progz: the sarcasm here is against myself, for being an idiot, not you...

Quote from: ProgZmax on Sun 01/01/2006 08:58:08
Go code it yourself, Esper.

Okay... here we go...
Code: ags
1 print "ESPER's GAME"
2 input "What is your name?" a$
3 print "Hello," a$ ", how are you?"
4 gosub 9
5 print "I guess you don't want to play any more :("
6 print "score= "score$
7 print "GOODBYE!"
8 end
9 print "Do you want to keep playing?"
10 get a
11 if a="n" OR if a="N" then return
12 print "Yay! You want to keep playing!"
13 print "Unfortunately, I suck at coding, so this is all you'll ever see!"
14 end


I could use Game Maker if I really wanted to, but there's just something I like about this type of game, even if it isn't exactly like OOTW or Flashback, that I couldn't do without a specifically tailored engine... OOTW, IMHO, was one of the best platformers EVER...
This Space Left Blank Intentionally.

Shane 'ProgZmax' Stevens

No gotos?  I'm disappointed.  I'm completely serious about doing a basic platformer easily within ags.  I could probably show you enough in 20-40 minutes to get you going if you're really interested.  At the most fundamental, Yahtzees method of labelling all the action with regions gets the job done.  Basically his code will have functions that use GetRegionAt for a particular region (say region[0] is all Walls/floors in the game) and then logic to force the player to remain within the boundary.  This isn't really the place for this sort of thing, though, but I assure you it's not that tough.

Edit:  In fact, if you want a quick example of it, I whipped up a REALLY TERRIBLE shooter in about an hour called Intestinator that you can have the source to.  It's messy since I was in a hurry but it covers scrolling and such.  Let me know.

esper

I used a gosub... EVERYONE knows you don't use gotos! ;)

I think I would rather use GameMaker if I were to make a platformer, because then I could let the basic part of the game be done by GM and then I could work on all the more advanced stuff myself, rather than having all the coding be just to get keyboard control of the character...

However, we all know GM sucks bigtime, so, so as not to take up any more of this thread about Yahtzee's game with my own inane drivel, if you think I could make an OOTW clone without too much problem, drop me a PM sometime when you aren't too busy...

Back on topic: How do you
Spoiler
get in the room with the grate? In my awesome glory I decided to jump down there and spend 10-15 minutes just jumping up and down and trying to use the wrench.
[close]

EDIT: that would be cool, but, like I said, I'm not a big-time coder, so I hope you commented alot of it...
This Space Left Blank Intentionally.

Shane 'ProgZmax' Stevens

Spoiler
you have to repair the crane, then jump up to the tower at the top and open the vent
[close]

I didn't really comment it much since I made it for the hour games irc thing, and it isn't coded like I would normally.  I suppose I could go back and comment it, but then I would want to redo it all properly heh.

esper

EDITED OUT because I'm...

...the "bong." I guess.
This Space Left Blank Intentionally.


Azaron

The "bespectacled man" ROFLMAO! I have no idea why that amuses me so, but it does. I've liked Yahtzee's games since Adventures in the Galaxy of Fantabulous Wonderment. This appears to be just as excellent. :) Thumbsup, Yahtzee ;D

Tom S. Fox

I played a bit, some days ago, and I like it!
It's very scary (I'm as a wimp as hew is).
BTW, I played and finished Adventures in the Galaxy of Fantabulous Wonderment (what a title!) two days ago and there is only one word to describe this experience: WOW!

xenogia

ooooooooooooo ... CLS, now we going going to the 80s risc machines.   Let's grab out the Commodore 64 and Apple II+

10 peak #8330: poke #2040

or doing the bloody sprites in data calls .. eck

990 Read Sprite(5, 3)
1000 DATA 3242, 6423, 4521, 3452, 2353
1010 DATA 2321, 2342, 2342, 6753, 5673
1020 DATA 4356, 2354, 6752, 2352, 5678

SMF spam blocked by CleanTalk