You can help CodeWalrus stay online by donating here.

## [TI-84+CE] GalagACE, a shoot-em-up written in hybrid BASIC

Started by Dream of Omnimaga, June 09, 2016, 06:05:07 AM

0 Members and 1 Guest are viewing this topic.

#### Dream of Omnimaga

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

L₁(1)-B→F
J→D
If F>0 and F<5 and D>0 and D<4
Then
If 0<[A](D,F
Then
[A](D,F)-1→[A](D,F
U+100→U
{10,20L₁(1)-20,30J-30
Asm(prgmSPRITE
0→L₂(1
End
End
L₁(2)-B→F
K→D
If F>0 and F<5 and D>0 and D<4
Then
If 0<[A](D,F
Then
[A](D,F)-1→[A](D,F
U+100→U
{10,20L₁(2)-20,30K-30
Asm(prgmSPRITE
0→L₂(2
End
End
L₁(3)-B→F
L→D
If F>0 and F<5 and D>0 and D<4
Then
If 0<[A](D,F
Then
[A](D,F)-1→[A](D,F
U+100→U
{10,20L₁(3)-20,30L-30
Asm(prgmSPRITE
0→L₂(3
End
End
L₁(4)-B→F
O→D
If F>0 and F<5 and D>0 and D<4
Then
If 0<[A](D,F
Then
[A](D,F)-1→[A](D,F
U+100→U
{10,20L₁(4)-20,30O-30
Asm(prgmSPRITE
0→L₂(4
End
End
End
• Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### Dream of Omnimaga

#16
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.
• Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### Snektron

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

#### Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### Dream of Omnimaga

• Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### JamesV

This is great, DJ_O; nice work!

#### Dream of Omnimaga

Thanks, and nice to see you again JamesV. Are you still doing music or working on calculator projects, by the way?
• Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

#### JamesV

Quote from: DJ Omnimaga 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?
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!

#### Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
• Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)