Dear visitors and members, with the staff having moved on to other life interests and as a result of changes in people's internet usage habits, the CodeWalrus community have migrated almost entirely to Discord, IRC and WalrusIRC and is now essentially a place where to hang out, chat about gaming, programming, music, anime, and chill. As a result, even though the CW forums will remain open for posting, for faster TI, Casio or HP calculator help and news we recommend using the bilingual TI-Planet forums instead.

### WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

### Author Topic: GalagACE, a shoot-em-up written in hybrid BASIC  (Read 7470 times)

0 Members and 1 Guest are viewing this topic.

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #15 on: June 10, 2016, 03:14:24 pm »
Thanks, glad you like the speed. Speed is actually a bit slower on-calc when you have several sub-programs so ideally you'll need to delete most of your calc content before playing if you want max speed but it isn't that bad. I would like to increase the speed further, though, such as only checking for bullet collision when they get around a certain height. A For( loop is out of the question because they're much slower, but here's my code so far for bullet collision >.<

Code: [Select]
`L₁(1)-B→FJ→DIf F>0 and F<5 and D>0 and D<4ThenIf 0<[A](D,FThen[A](D,F)-1→[A](D,FU+100→U{10,20L₁(1)-20,30J-30Asm(prgmSPRITE0→L₂(1EndEndL₁(2)-B→FK→DIf F>0 and F<5 and D>0 and D<4ThenIf 0<[A](D,FThen[A](D,F)-1→[A](D,FU+100→U{10,20L₁(2)-20,30K-30Asm(prgmSPRITE0→L₂(2EndEndL₁(3)-B→FL→DIf F>0 and F<5 and D>0 and D<4ThenIf 0<[A](D,FThen[A](D,F)-1→[A](D,FU+100→U{10,20L₁(3)-20,30L-30Asm(prgmSPRITE0→L₂(3EndEndL₁(4)-B→FO→DIf F>0 and F<5 and D>0 and D<4ThenIf 0<[A](D,FThen[A](D,F)-1→[A](D,FU+100→U{10,20L₁(4)-20,30O-30Asm(prgmSPRITE0→L₂(4EndEndEnd`
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #16 on: June 12, 2016, 06:58:59 am »
Good news: The engine now supports multiple enemy formations and can now have more than 1 kind of ship per formation!

All bosses are identical, though, except that they have more targets to destroy as you progress through the game and the final boss has blue-gray targets that takes 9 hits to destroy.

Right now I am reducing the amount of bullets you can shoot at once to 3 instead of 4, because when I add the HUD your ship will be moved up by 30 pixels anyway so it will take less time for each bullet to travel.
« Last Edit: June 12, 2016, 07:12:23 am by DJ Omnimaga »
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### Jim Bauwens

• Full User
• Join Date: Feb 2015
• Location:
• Posts: 25
• Post Rating Ratio: +1/-0
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #17 on: June 12, 2016, 06:17:19 pm »
Looking nice

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #18 on: June 12, 2016, 07:45:56 pm »
Thanks. By the way I am thinking about adding power ups like in Galaxian and Star Fox. Lasers would shoot an entire vertical line instantly and bombs would damage a large radius area by 1 or 2 pts, but you would need to be accurate when detonating them. As for the laser I was considering allowing shooting with the Up arrow or Del key, which would let me charge the normal weapon, but at the cost of not being able to move during charging. What do you think?
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #19 on: June 14, 2016, 07:56:19 am »
Good news: The game is almost complete at this point. I might need help optimizing the bullet collision code since I never made a multi-bullet shooting routine before but so far the game runs at decent speed for hybrid BASIC. I don't have time to make a readme right now, but you can download the game in the first post

https://codewalr.us/index.php?topic=1390.0

Here's a Youtube video of the game in action now:

And here are screenshots for those who can't see the video yet:

Controls:
2nd: Shoot
Arrows: Move left and right
CLEAR: Quit

There are 18 enemy waves (including 6 bosses) and you have 5 lives. You gain between 100 and 900 points depending of the enemy ship/target and highscores are now supported. If you beat the entire game, the HUD changes color and you restart with only 1 life (although you keep your score, so you can rack it up as high as you can).
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### Snektron

• Lvl 69 Russian Snake
• Super User
• Join Date: Dec 2014
• Location: Netherlands
• Posts: 3165
• Post Rating Ratio: +32/-0
• SSSssssss.....
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #20 on: June 14, 2016, 02:27:53 pm »
Looks pretty good. Do the enemies speed up later in the game?
• Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #21 on: June 14, 2016, 02:54:13 pm »
Thanks, and nope that's the max speed the game can run at. They have more health and bosses shoot differently, though
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #22 on: June 20, 2016, 12:09:50 am »
Thanks @critor for the ticalc.org front page news about GalagACE

http://www.ticalc.org/archives/news/articles/14/148/148915.html
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### JamesV

• Full User
• CodeWalrus Supporter
• Safe-haven access
• Join Date: Jan 2015
• Location: Australia
• Posts: 124
• Post Rating Ratio: +3/-0
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #23 on: July 11, 2016, 06:41:45 am »
This is great, DJ_O; nice work!

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #24 on: July 11, 2016, 06:43:29 am »
Thanks, and nice to see you again JamesV. Are you still doing music or working on calculator projects, by the way?
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

#### JamesV

• Full User
• CodeWalrus Supporter
• Safe-haven access
• Join Date: Jan 2015
• Location: Australia
• Posts: 124
• Post Rating Ratio: +3/-0
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #25 on: July 11, 2016, 06:51:28 am »
Thanks, and nice to see you again JamesV. Are you still doing music or working on calculator projects, by the way?
It's good to check in to the scene again, I haven't been keeping up on things until the last few days. Since finishing up with my band back in March, I haven't done much with music, apart from filling in for my Dad's band for a local show. But I'm involved in a new project with some friends now that will be a nice little hobby band

I just picked up my CE the other day for the first time in a few months, so we'll see if that leads to anything in the near future!

#### xlibman

• Omni founder & CW co-founder
• CodeWalrus Staff
• Super User
• Forum Maintenance
• Original 5
• CodeWalrus Supporter
• Join Date: Nov 2014
• Posts: 18972
• Post Rating Ratio: +100/-5
• Gender:
##### Re: GalagACE, a TI-84 Plus CE shoot-em-up written in hybrid BASIC
« Reply #26 on: July 11, 2016, 07:12:42 am »
Aah I see. Yeah I was a bit worried since I thought leaving Belle Haven would make you more into calculators, then you suddenly disappeared so I thought you called it quit again like around 2006 or so. But again I also sometimes stop coding for long stretches of time. I can't wait to see what the new band is.
• Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
• Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne