CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: 123outerme on May 24, 2015, 04:03:16 PM

Title: [CSE Hybrid Basic] Photon - CSE Hybrid Basic
Post by: 123outerme on May 24, 2015, 04:03:16 PM
Photon is a turn-based strategy sci-fi game for the TI-84+CSE only. This game uses Doors CSE to run, and can't run on the 84+CE or any other name referring to that calculator. So far you can fight an enemy, upgrade and repair your ship, and travel to different worlds!

[spoiler=Some of the Todo:]
*Visible battle damage
*End goal/substance to game
[/spoiler]
[spoiler=Images:]
v0.3b:
(http://i.imgur.com/2mqEbJe.gif)
(v0.2b doesn't exist for reasons)
v0.1b:
(http://i.imgur.com/rPEHkry.gif)
[/spoiler]
Title: Re: [CSE Hybrid Basic] Photon - CSE Hybrid Basic
Post by: Snektron on May 24, 2015, 04:07:53 PM
Cool! I love the faces on the ships :D
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on May 24, 2015, 04:10:24 PM
Ooh I like the idea. It reminds me of those old strategy RPGs where once you touch an enemy it switches to another screen where you fight the enemy off. If you want to display more than 1 enemy on the screen you could just display one per frame and alternate between them (although they would move slower). :)
Title: Re: [CSE Hybrid Basic] Photon - CSE Hybrid Basic
Post by: 123outerme on May 24, 2015, 04:16:22 PM
Quote from: Cumred_Snektron on May 24, 2015, 04:07:53 PM
Cool! I love the faces on the ships :D
They're.. not faces... *quietly sidesteps away*
Seriously, the } and [ are the cokpit windows, and the "."s and "-"s are the laser turrets. I can see how the enemy is a face, but not really the player ship.

Quote from: DJ Omnimaga on May 24, 2015, 04:10:24 PM
Ooh I like the idea. It reminds me of those old strategy RPGs where once you touch an enemy it switches to another screen where you fight the enemy off. If you want to display more than 1 enemy on the screen you could just display one per frame and alternate between them (although they would move slower). :)
I actually slowed the enemy down by half, so they'd move at the same speed if one was updated per frame. I kinda took inspiration from the top-down layout of FTL for the battles, and the enemy encounter system from Zelda II, but everything else was from my brain. I might add another enemy, I'll have to see. When you're flashing between the delta and the X, you can't move and you're repairing the damage. If you get into a battle in that state, no damage is repaired and you have to fight obviously. Two enemies might make it harder to repair, but since it's free, it might balance out.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on May 25, 2015, 07:17:37 AM
Now you know you want to add an easter egg that turns your ship into a walrus. :P

And I like the idea about the damage repair. Another thing is that I didn't notice the map in the screenshot earlier. It's quite cool actually :)
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on May 25, 2015, 07:45:34 AM
ooo walrii would be awesome! Someone make a spaceship walrii!
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on May 25, 2015, 08:13:49 PM
Quote from: DJ Omnimaga on May 25, 2015, 07:17:37 AM
Now you know you want to add an easter egg that turns your ship into a walrus. :P

And I like the idea about the damage repair. Another thing is that I didn't notice the map in the screenshot earlier. It's quite cool actually :)
Thanks! Since you can see in the todo that I am planning to make different types of enemies using a matrix, a Walrii could happen, albeit a smaller version, due to the display limitations.

Edit: Added differing types of enemies using a matrix. I actually understand it (unlike last time I read from a matrix) and could've written it myself if it hadn't been on TI|BD.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on May 27, 2015, 09:24:10 PM
Are complex enemies fast to display? I am curious about how you do it.
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on May 27, 2015, 11:59:34 PM
Quote from: DJ Omnimaga on May 27, 2015, 09:24:10 PM
Are complex enemies fast to display? I am curious about how you do it.
Not really, compared to the hard-coded way I did. I just used the first few example of this this (http://tibasicdev.wikidot.com/maps) and modified the sub( string to work with my game. I also had to make the colors change with an If statement, since both the empty space and the ship use a space to display a blank tile with their color. The delay is less than a second, since all ships are 6x5.
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on May 28, 2015, 05:52:09 AM
hmmm So its kind of like a play, take damge, then repair and upgrade game? Is there a save feature?
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on May 28, 2015, 06:53:14 AM
Quote from: 123outerme on May 27, 2015, 11:59:34 PM
Quote from: DJ Omnimaga on May 27, 2015, 09:24:10 PM
Are complex enemies fast to display? I am curious about how you do it.
Not really, compared to the hard-coded way I did. I just used this (//http://) and modified the sub( string to work with my game. I also had to make the colors change with an If statement, since both the empty space and the ship use a space to display a blank tile with their color. The delay is less than a second, since all ships are 6x5.
Hmm your URL doesn't work. It just redirects to about:blank.
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on May 28, 2015, 08:23:41 PM
Quote from: DJ Omnimaga on May 28, 2015, 06:53:14 AM
Quote from: 123outerme on May 27, 2015, 11:59:34 PM
Quote from: DJ Omnimaga on May 27, 2015, 09:24:10 PM
Are complex enemies fast to display? I am curious about how you do it.
Not really, compared to the hard-coded way I did. I just used this (//http://) and modified the sub( string to work with my game. I also had to make the colors change with an If statement, since both the empty space and the ship use a space to display a blank tile with their color. The delay is less than a second, since all ships are 6x5.
Hmm your URL doesn't work. It just redirects to about:blank.
Sorry, I just fixed it now. I forgot to put the link in.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on June 01, 2015, 11:21:52 PM
By the way, I wonder if it would look better if the text was green like in sci-fi movie computer screens?
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on June 27, 2015, 07:10:18 PM
Quote from: Unicorn on May 28, 2015, 05:52:09 AM
hmmm So its kind of like a play, take damge, then repair and upgrade game? Is there a save feature?
Sort of. I'm currently working on more of the meat of the game, since the mechanics are done. Also the game autosaves. You don't need to save, as whenever something is changed it is saved.
Quote from: DJ Omnimaga on June 01, 2015, 11:21:52 PM
By the way, I wonder if it would look better if the text was green like in sci-fi movie computer screens?
I put the green text in the Upgrade menu. I don't know if I'll change it, but I might.
Title: Re: Photon - CSE Hybrid Basic
Post by: CKH4 on June 27, 2015, 08:29:00 PM
Wow, those graphics are really good for ASCII. Quite impressive, if I get a cse I'll be sure to play it.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on June 29, 2015, 07:28:00 AM
Good to see updates, 123outerme. :)
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on June 29, 2015, 10:14:39 PM
Will there be a download soon? /me wants one
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on July 01, 2015, 03:24:23 AM
Quote from: CKH4 on June 27, 2015, 08:29:00 PM
Wow, those graphics are really good for ASCII. Quite impressive, if I get a cse I'll be sure to play it.
Thanks! You might want to get a CE honestly, since they are the same price and the CE is a much better machine.
Also, I updated the image in the OP, so now my screenshots are representative of the game's current progress.
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on July 01, 2015, 03:36:26 AM
Good!

But currently, this game will not work on the CE, and when Celtic is ported, the det(12 command may change. So if you want to play this one and many others,CSE is the way to go.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on July 01, 2015, 05:49:22 AM
Quote from: 123outerme on July 01, 2015, 03:24:23 AM
Quote from: CKH4 on June 27, 2015, 08:29:00 PM
Wow, those graphics are really good for ASCII. Quite impressive, if I get a cse I'll be sure to play it.
Thanks! You might want to get a CE honestly, since they are the same price and the CE is a much better machine.
Also, I updated the image in the OP, so now my screenshots are representative of the game's current progress.
The only downside of the CE is that all CSE hybrid and ASM games will not work, so no First Fantasy, Snake, Tunnel, Buttonz, Steins;Gate, TI-Boy CSE, etc, and more importantly, it's unclear if Doors CSE will ever happen for it since Kerm seems reluctant about making a 8xp version of it.


That said, BASIC games and especially new ASM creations will benefit a lot from the speed increase. Real-time BASIC stuff won't improve that much, but stuff that updated big parts of the LCD at a time, such as Disp and DispGraph, have improved dramatically.
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on July 01, 2015, 03:57:56 PM
Quote from: DJ Omnimaga on June 29, 2015, 07:28:00 AM
Good to see updates, 123outerme. :)
Thanks!

Quote from: Unicorn on June 29, 2015, 10:14:39 PM
Will there be a download soon? /me wants one
Yeah, I just have to add the story or whatever else will be the extra fluff.

Quote from: Unicorn on July 01, 2015, 03:36:26 AM
Good!

But currently, this game will not work on the CE, and when Celtic is ported, the det(12 command may change. So if you want to play this one and many others,CSE is the way to go.
Yeah, I meant to write that :P But thanks for clarifying! I might get a CE myself, so if I do I can port my games over.

Quote from: DJ Omnimaga on July 01, 2015, 05:49:22 AM
Quote from: 123outerme on July 01, 2015, 03:24:23 AM
Quote from: CKH4 on June 27, 2015, 08:29:00 PM
Wow, those graphics are really good for ASCII. Quite impressive, if I get a cse I'll be sure to play it.
Thanks! You might want to get a CE honestly, since they are the same price and the CE is a much better machine.
Also, I updated the image in the OP, so now my screenshots are representative of the game's current progress.
The only downside of the CE is that all CSE hybrid and ASM games will not work, so no First Fantasy, Snake, Tunnel, Buttonz, Steins;Gate, TI-Boy CSE, etc, and more importantly, it's unclear if Doors CSE will ever happen for it since Kerm seems reluctant about making a 8xp version of it.


That said, BASIC games and especially new ASM creations will benefit a lot from the speed increase. Real-time BASIC stuff won't improve that much, but stuff that updated big parts of the LCD at a time, such as Disp and DispGraph, have improved dramatically.
Yeah, I definitely want one for the speed increase.
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on July 05, 2015, 03:31:42 AM
Do you plan to release it on ticalc.org when it's done? IIRC, your last few games weren't there, unless it was someone else on the forums.
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on July 06, 2015, 09:34:15 PM
Yay! Extra stories and fluff is always good :D
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on July 12, 2015, 05:07:08 PM
Quote from: DJ Omnimaga on July 05, 2015, 03:31:42 AM
Do you plan to release it on ticalc.org when it's done? IIRC, your last few games weren't there, unless it was someone else on the forums.
Yes, I do. Solius is on ticalc.org and in the Cemetech archives.

Quote from: Unicorn on July 06, 2015, 09:34:15 PM
Yay! Extra stories and fluff is always good :D
I agree :)
Title: Re: Photon - CSE Hybrid Basic
Post by: Dream of Omnimaga on July 12, 2015, 05:55:23 PM
Any new updates, by the way? :)
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on July 12, 2015, 07:45:57 PM
More extra stories and stuff?
Title: Re: Photon - CSE Hybrid Basic
Post by: 123outerme on August 01, 2015, 08:15:16 PM
Quote from: DJ Omnimaga on July 12, 2015, 05:55:23 PM
Any new updates, by the way? :)
No, I haven't had a lot of time to work on it. Once I figure out where I am, I'll get to work again.
Quote from: Unicorn on July 12, 2015, 07:45:57 PM
More extra stories and stuff?
Sidequests? Not a bad idea, I think I'll save sidequests for another time, but definitely the main story will be added soon.

Also, you might see me post of another project soon ;)
Title: Re: Photon - CSE Hybrid Basic
Post by: Unicorn on August 02, 2015, 06:18:28 AM
Welp, in any case, I can't wait!