The Codex Posted March 4, 2010 Share Posted March 4, 2010 (edited) 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. FLYGUY.zip Edited March 9, 2010 by The Codex Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 4, 2010 Author Share Posted March 4, 2010 (edited) 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 March 5, 2010 by The Codex Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 4, 2010 Share Posted March 4, 2010 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?? Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted March 4, 2010 Share Posted March 4, 2010 Very nice game indeed !!! Well done ! As you imply, once you’ve turned CPU Overdrive on, you’ll never return. I don’t know how this factor of throttling will influence the competition making some more enjoyable or actually "playable" !? Quote Link to comment Share on other sites More sharing options...
+retroclouds Posted March 4, 2010 Share Posted March 4, 2010 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 Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 4, 2010 Author Share Posted March 4, 2010 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. Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 5, 2010 Share Posted March 5, 2010 I was just looking at the name of this thread--- eerily similar to "Queer eye for the Straight Guy"....... Hmmmmm. Copyright infringement? Close? Quote Link to comment Share on other sites More sharing options...
aftermac Posted March 5, 2010 Share Posted March 5, 2010 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" Quote Link to comment Share on other sites More sharing options...
Albert Posted March 5, 2010 Share Posted March 5, 2010 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 Quote Link to comment Share on other sites More sharing options...
matthew180 Posted March 5, 2010 Share Posted March 5, 2010 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 Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 5, 2010 Author Share Posted March 5, 2010 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. Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 5, 2010 Author Share Posted March 5, 2010 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. Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 5, 2010 Author Share Posted March 5, 2010 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! Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 5, 2010 Share Posted March 5, 2010 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". Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 5, 2010 Author Share Posted March 5, 2010 I'll take it! You can even print my credit using my pseudonym - "This page intentionally left blank". Quote Link to comment Share on other sites More sharing options...
InfernalKeith Posted March 5, 2010 Share Posted March 5, 2010 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. Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 5, 2010 Share Posted March 5, 2010 Okay, being the staunch capitalist that I am, would you take $4? Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 5, 2010 Author Share Posted March 5, 2010 Okay, but you have to let me appear in the game as the main boss's henchman, Höwârd The Poo-Flinging Gorilla. Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 5, 2010 Share Posted March 5, 2010 Hahahah!!! You're writing it--- do whatever you want. Quote Link to comment Share on other sites More sharing options...
matthew180 Posted March 5, 2010 Share Posted March 5, 2010 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. 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 Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 6, 2010 Author Share Posted March 6, 2010 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! Quote Link to comment Share on other sites More sharing options...
The Codex Posted March 6, 2010 Author Share Posted March 6, 2010 Hahahah!!! You're writing it--- do whatever you want. Awesome, here's my in-game sprite then. Quote Link to comment Share on other sites More sharing options...
Opry99er Posted March 6, 2010 Share Posted March 6, 2010 (edited) 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 March 6, 2010 by Opry99er Quote Link to comment Share on other sites More sharing options...
InfernalKeith Posted March 6, 2010 Share Posted March 6, 2010 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!! Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted March 6, 2010 Share Posted March 6, 2010 ... 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 ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.