Jump to content



2

Fly Guy for the TI


30 replies to this topic

#1 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Wed Mar 3, 2010 6:51 PM

Here's my TI30 prog for the SSGC contest, Fly Guy. Includes arcade controls, five levels of play, random item placement, sounds, and the chance to win an extra life. May also include fun, quantities of which vary by user. :)

The attached ZIP contains the game and instructions text. It's designed to be dropped into the Classic99 DSK1 dir by default.

Hope you like!

EDIT: Reposted the ZIP file, discovered I had left a test variable in there that messes up the scoring. The one attached now is the correct version.

Attached File  FLYGUY.png   2.83K   19 downloads

Attached File  FLYGUY.zip   2.02K   14 downloads

Edited by The Codex, Mon Mar 8, 2010 8:17 PM.


#2 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Wed Mar 3, 2010 7:53 PM

Gah, new ZIP again. Shouldn't have been testing things right before posting. This fixes an error where the game ends on Level 4 instead of Level 5.

EDIT: The top post has been edited again to provide the latest version. Thanks again to Al for switching this feature on for us!

Edited by The Codex, Fri Mar 5, 2010 11:52 AM.


#3 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Thu Mar 4, 2010 12:11 AM

Yessss!!!! Impressed man! Did you say this runs better in CPU Overdrive mode? I think you mentioned something like that-- maybe these guys would like to try it out??

#4 sometimes99er OFFLINE  

sometimes99er

    Stargunner

  • 1,918 posts
  • Location:Denmark

Posted Thu Mar 4, 2010 3:27 AM

Very nice game indeed !!! Well done ! :)

As you imply, once you’ve turned CPU Overdrive on, you’ll never return. :cool:

I don’t know how this factor of throttling will influence the competition making some more enjoyable or actually "playable" !?

#5 retroclouds OFFLINE  

retroclouds

    Stargunner

  • 1,095 posts
  • Location:Germany

Posted Thu Mar 4, 2010 5:32 AM

View PostThe Codex, on Wed Mar 3, 2010 7:53 PM, said:

Gah, new ZIP again. Shouldn't have been testing things right before posting. This fixes an error where the game ends on Level 4 instead of Level 5.

Attachment FLYGUY.zip

Will give it a spin this evening. The screenshot looks very promising :)

#6 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Thu Mar 4, 2010 7:50 AM

Thanks gents, and yes, it's pretty much unplayable at normal speed. Unless you're into glacial movement. CPU Overdrive is the way to go. And there probably should be a judging factor for whether a game runs acceptably at original speed or not, since some people are able to pull that off. Not me, but hey, I freely acknowledge the genius of others. :)

#7 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Fri Mar 5, 2010 7:51 AM

I was just looking at the name of this thread--- eerily similar to "Queer eye for the Straight Guy"....... Hmmmmm. Copyright infringement? Close? :)

#8 aftermac OFFLINE  

aftermac

    River Patroller

  • 2,298 posts
  • 228th most prolific AtariAge poster
  • Location:Detroit

Posted Fri Mar 5, 2010 8:03 AM

View PostOpry99er, on Fri Mar 5, 2010 7:51 AM, said:

I was just looking at the name of this thread--- eerily similar to "Queer eye for the Straight Guy"....... Hmmmmm. Copyright infringement? Close? :)

LOL, my first though was "Pretty fly for a white guy" :D

#9 Albert OFFLINE  

Albert

    Quadrunner

  • 27,238 posts
  • Location:NGC 224

Posted Fri Mar 5, 2010 8:19 AM

Codex -- I've enabled "Indefinite Editing" in the TI-99/4A Programming forum so you can now update the attachment in the first post.

..Al

#10 matthew180 OFFLINE  

matthew180

    Stargunner

  • 1,242 posts
  • Location:Marshall, Michigan

Posted Fri Mar 5, 2010 9:22 AM

Codex, this is a pretty slick little game! Your method for generating the levels is ingenious. However, some other parts of the code left me scratching my head saying "huh? why did he do it that way?" Are you interested in any critique?

Matthew

#11 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 11:48 AM

View PostAlbert, on Fri Mar 5, 2010 8:19 AM, said:

Codex -- I've enabled "Indefinite Editing" in the TI-99/4A Programming forum so you can now update the attachment in the first post.

..Al


Woo, much ta Al! I greatly appreciate that and will update the lead post accordingly.

#12 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 11:50 AM

View Postmatthew180, on Fri Mar 5, 2010 9:22 AM, said:

Codex, this is a pretty slick little game! Your method for generating the levels is ingenious. However, some other parts of the code left me scratching my head saying "huh? why did he do it that way?" Are you interested in any critique?

Matthew

Thanks for the comment. I appreciate the offer of a code review, but I've been coding for over 25 years and tend to do things my own (unorthodox) way. Too late for me to learn good coding practices now! ;)

Mind, if I was doing this game up properly, with more latitude than 30 lines, I'd use some better logic. Not to mention I'm relearning XB all over again. But that's proving to be fun as well, so it's all good. :thumbsup:

#13 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 1:14 PM

Heh, I think I just found one of those "why is he doing this" things. I wasn't sure if XB let you READ directly into arrays, so I READ into a variable and then assign that variable to the current array item. Well, lo!, a quick experiment and you can indeed READ into an array. That's the problem with going back to BASIC from something object-oriented - you start viewing variables as volatile objects that will go out of scope if you don't do something with them.

Lesson learned! :)

#14 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Fri Mar 5, 2010 1:36 PM

Hehehe--- whatever. I'll give you $5 to ghost write LOBR for me. :) hahahaha!!! I'll even credit you somewhere in the back of the player's journal near where it says "do not duplicate or make alterations". :)

#15 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 1:44 PM

I'll take it! You can even print my credit using my pseudonym - "This page intentionally left blank". :)

#16 InfernalKeith OFFLINE  

InfernalKeith

    Moonsweeper

  • 385 posts
  • Location:Toledo, OH

Posted Fri Mar 5, 2010 1:46 PM

View PostThe Codex, on Fri Mar 5, 2010 1:44 PM, said:

I'll take it! You can even print my credit using my pseudonym - "This page intentionally left blank". :)

And here I thought you were that dashing Latin coder, Marca Registrada.

#17 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Fri Mar 5, 2010 2:08 PM

Okay, being the staunch capitalist that I am, would you take $4?

#18 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 2:28 PM

Okay, but you have to let me appear in the game as the main boss's henchman, Höwârd The Poo-Flinging Gorilla.

#19 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Fri Mar 5, 2010 3:05 PM

Hahahah!!! You're writing it--- do whatever you want. ;)

#20 matthew180 OFFLINE  

matthew180

    Stargunner

  • 1,242 posts
  • Location:Marshall, Michigan

Posted Fri Mar 5, 2010 4:51 PM

View PostThe Codex, on Fri Mar 5, 2010 11:50 AM, said:

View Postmatthew180, on Fri Mar 5, 2010 9:22 AM, said:

Codex, this is a pretty slick little game! Your method for generating the levels is ingenious. However, some other parts of the code left me scratching my head saying "huh? why did he do it that way?" Are you interested in any critique?

Matthew

Thanks for the comment. I appreciate the offer of a code review, but I've been coding for over 25 years and tend to do things my own (unorthodox) way. Too late for me to learn good coding practices now! ;)

Mind, if I was doing this game up properly, with more latitude than 30 lines, I'd use some better logic. Not to mention I'm relearning XB all over again. But that's proving to be fun as well, so it's all good. :thumbsup:

Nope, I'd never try to change your ways, I'm set in my ways too. But in some places you are repeating a lot of code, so I could get things down to less than 30 lines easy by moving a few checks. That's all, nothing drastic. I do, however, disagree with jumping out of a FOR-NEXT loop via GOTO... heh, only in BASIC can you get away with that! ;-)


Matthew

#21 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 6:02 PM

View Postmatthew180, on Fri Mar 5, 2010 4:51 PM, said:

Nope, I'd never try to change your ways, I'm set in my ways too. But in some places you are repeating a lot of code, so I could get things down to less than 30 lines easy by moving a few checks. That's all, nothing drastic. I do, however, disagree with jumping out of a FOR-NEXT loop via GOTO... heh, only in BASIC can you get away with that! ;-)

You're right on all counts, and my second game is much tighter and better coded. And I concur about the GOTOs - it makes my blood go cold to do that, and I can only excuse it by knowing that the BASIC stack is far more elastic than a "real" language's. :)

Thanks again!

#22 The Codex OFFLINE  

The Codex

    Dragonstomper

  • 573 posts
  • Location:Richmond, VA

Posted Fri Mar 5, 2010 6:07 PM

View PostOpry99er, on Fri Mar 5, 2010 3:05 PM, said:

Hahahah!!! You're writing it--- do whatever you want. ;)

Awesome, here's my in-game sprite then.

Attached File  Poorilla.png   291bytes   5 downloads

#23 Opry99er OFFLINE  

Opry99er

    River Patroller

  • 3,019 posts
  • Location:Elizabethtown, KY

Posted Fri Mar 5, 2010 10:12 PM

Dude, that's PERFECT!!!! =) If that's not in the game, I'll shoot something. I need you to design an "non-attack" pattern SPRITE too, though man. =) One wherein the monkey is not flingin' poo.

But seriously... I like that pattern man. We could call it the "cannibal ape" or something ominous... I would say "zombie ape" but I think the zombie thing is already in full force on the TI now. I don't wanna look like a bandwagon jumper. =)

Edited by Opry99er, Fri Mar 5, 2010 10:17 PM.


#24 InfernalKeith OFFLINE  

InfernalKeith

    Moonsweeper

  • 385 posts
  • Location:Toledo, OH

Posted Fri Mar 5, 2010 10:26 PM

View PostOpry99er, on Fri Mar 5, 2010 10:12 PM, said:

Dude, that's PERFECT!!!! =) If that's not in the game, I'll shoot something. I need you to design an "non-attack" pattern SPRITE too, though man. =) One wherein the monkey is not flingin' poo.

But seriously... I like that pattern man. We could call it the "cannibal ape" or something ominous... I would say "zombie ape" but I think the zombie thing is already in full force on the TI now. I don't wanna look like a bandwagon jumper. =)

Get your paws off my farm, you damn dirty ape!!

#25 sometimes99er OFFLINE  

sometimes99er

    Stargunner

  • 1,918 posts
  • Location:Denmark

Posted Sat Mar 6, 2010 7:16 AM

View PostThe Codex, on Fri Mar 5, 2010 6:02 PM, said:

View Postmatthew180, on Fri Mar 5, 2010 4:51 PM, said:

... jumping out of a FOR-NEXT loop via GOTO ...
... it makes my blood go cold to do that ...
How do you feel about labeled and unlabeled breaks terminating for, while, and do-while loops ?

;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users