* 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: Wal-Rush! for the Atari 2600!  (Read 12004 times)

0 Members and 1 Guest are viewing this topic.

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Wal-Rush! for the Atari 2600!
« on: January 25, 2016, 08:25:54 am »
Yes, you saw that right. Wal-Rush!, my entry for CodeWalrus Contest #2...on an Atari 2600. I'm gonna let that sink in for a minute. ;)

Click the image for the latest version!


Inspired greatly by the recent release of Zippy the Porcupine (I knew this game back when it was just a 1-level demo!), and the fact that Atari games are limited yet cool, I have decided to port my contest entry to the Atari 2600 using the programming language bAtari BASIC. I'm sure it'll be a natural game on the Atari 2600.

I will find my own time and resources to program this game, as I am in no rush for a contest deadline (so don't expect this done "soon" by any definition). As well, I will also try to compose music and sound effects at one point, as well as making it look really cool :3

As of now, I have a small demo, which I have attached along with the files I have used in the IDE, visual bAtari BASIC. The demo is playable in Stella or on a Harmony cartridge, and the file is named "Walrush.bas.bin" (in the "bin" folder). As well, the source code is viewable in any text editor, and the file is named "Walrush.bas". As it stands, this is meant to demonstrate the physics of the Wal-Rush! engine so far.

For those who can't play the file, here is a (crappy) video I recorded of the demo.

Use left and right to move, and fire to fly. What do you think so far?
« Last Edit: March 15, 2016, 07:43:20 am by DJ Omnimaga »


  • Calculators owned: TI-84+, TI-84+ CSE, TI-84+ CE

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #1 on: January 25, 2016, 11:39:33 am »
Looks fun  :thumbsup: Can't wait 'til you're finished ;D
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #2 on: January 25, 2016, 02:23:26 pm »
NIce! I always like stuff for retro consoles ;)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #3 on: January 25, 2016, 04:52:30 pm »
Great job JWinslow :D. You should add astatic screenshot to your first post
  • 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

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #4 on: January 25, 2016, 05:40:11 pm »
Looks fun  :thumbsup: Can't wait 'til you're finished ;D
I can't wait until I get to play this on a Harmony cart on actual hardware! Once I get a real A2600 and flashcart, it'll be so amazing to actually play a game I made! :D
NIce! I always like stuff for retro consoles ;)
Me too ;)
Great job JWinslow :D. You should add astatic screenshot to your first post
Done.

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #5 on: January 25, 2016, 10:50:30 pm »
Bump.



Now, I have made the physics and controls a little better, and added OBSTACLES! Collision isn't implemented yet, but it will be soon.

Here is a video showing the progress. The download is attached. Tell me what you think!

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #6 on: January 25, 2016, 10:51:52 pm »
Looks good :thumbsup:
Will the white on the sprites all ways be transparent?
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #7 on: January 25, 2016, 10:54:42 pm »
Looks good :thumbsup:
Will the white on the sprites all ways be transparent?
I have not discovered a way for it not to be. Technically, the sprites are only allowed to be one color, but I used one programming trick for making Walrii multicolored (which is still not perfect). I used the negative space on Walrii to make its tusks and eyes, but it's not perfect.

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #8 on: January 25, 2016, 11:01:45 pm »
Maybe you could make it so when something behind it shows through, it hides that pixel? So that way it would like white, but technically everything there would be transparent.
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #9 on: January 25, 2016, 11:11:21 pm »
Maybe you could make it so when something behind it shows through, it hides that pixel? So that way it would like white, but technically everything there would be transparent.
Perhaps you don't get how Atari 2600 graphics limitations work :P

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #10 on: January 26, 2016, 04:59:34 am »
Something I am curious about, though, is if a larger resolution Walrii sprite would be possible, with fewer colors? (1 color per line) I swear I saw Atari games with larger resolution sprites before.

Also does Batari Basic allows you to draw lines and stuff? You could have the top of the screen being wavy like the trees in Pitfall. Another idea would be to make the background scroll but that would look choppy like in Princess Rescue.

But the question is: How did you manage to draw a walrus sprite with more than 1 color per row of pixels? I thought the Atari only allowed 1. Do you just draw multiple sprites on top of each others or something?
  • 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

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #11 on: January 26, 2016, 01:24:01 pm »
Something I am curious about, though, is if a larger resolution Walrii sprite would be possible, with fewer colors? (1 color per line) I swear I saw Atari games with larger resolution sprites before.

Also does Batari Basic allows you to draw lines and stuff? You could have the top of the screen being wavy like the trees in Pitfall. Another idea would be to make the background scroll but that would look choppy like in Princess Rescue.

But the question is: How did you manage to draw a walrus sprite with more than 1 color per row of pixels? I thought the Atari only allowed 1. Do you just draw multiple sprites on top of each others or something?
Sprites on the Atari are only allowed to be up to 8 pixels wide. If possible, could you direct me to the game(s) in question you say have larger resolution sprites? Make sure not to confuse "larger resolution" with "being drawn as a taller sprite", or simply "stretching it horizontally up to 4x the size with a sprite-graphics mode" :P

bAtari BASIC allows you to do what the Atari would allow you to do (doing something more complicated than the syntax allows can be remedied by inline asm code). The trees are still drawn with playfield graphics (from what I can tell), and the tiny details in the branches are drawn with sprites copied horizontally. Besides, I'm not actually sure what you want it to look like, then. I was going to make it scroll slowly to the right.

And the answer to that last question: I can. :P

EDIT: Here is a link on Pastebin to the code, if you're too lazy to view WalRush.bas in a text editor :P . The line "set kernel_option player1colors" near the top dictates that player 1 (which I have designated as the walrus sprite) is allowed to be multicolored (with the restriction of one color per row of pixels). There is also an option to make both player 0 AND player 1 multicolored, but I really have no use for that.

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #12 on: January 26, 2016, 05:07:01 pm »
Actually the game I was referring to is Princess Rescue, but after looking closer at screenshots, it definitively seems like its sprites are only 8 pixels wide, even Bowser:


https://i.ytimg.com/vi/W7Q8pJbdQqk/hqdefault.jpg
  • 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

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 764
  • Post Rating Ratio: +13/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #13 on: January 27, 2016, 12:15:43 pm »
Bump.

I now have a somewhat-playable demo!



Your controls are really simple: LEFT and RIGHT on your joystick to move Walrii, and FIRE to make him FLY! Your goal is to eat fish and avoid the mines. Sorry, but no invincibility powerup...yet ;)

Once you either hit a mine or fall to the ground, you explode (sorry :( ), your high score is recorded if you have one, and it is saved until you turn the system off. After every game, your high score flashes in green, and the last score you got flashes in black.

Of course, this is by no means a finished product. I plan to add sound effects, and maybe a catchy jingle to play somewhere. As well, I'd love to add the calculator invincibility powerup, if I can find a way to display your "invincibility meter". However, it is playable as it stands, and the source code is (hopefully) fully commented. If you would like to help me code, or offer suggestions of any kind, I'll gladly take them into account during development. :)

Here is a video of the demo so far. The download is attached, as usual. Please, tell me what you think! Test this on both an emulator, and real hardware (NTSC) if you can!

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Wal-Rush! for the Atari 2600!
« Reply #14 on: January 27, 2016, 01:23:05 pm »
Nice, sadly I can't test it <_<
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games