Jump to content
The Codex

Fly Guy for the TI

Recommended Posts

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.

 

post-25494-126766317812_thumb.png

 

FLYGUY.zip

Edited by The Codex

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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??

Share this post


Link to post
Share on other sites

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" !?

Share this post


Link to post
Share on other sites

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.

 

 

 

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

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

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! :)

Share this post


Link to post
Share on other sites

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". :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

 

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

 

post-25494-126783406256_thumb.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!!

Share this post


Link to post
Share on other sites

... 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 ?

 

;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...