If you have trouble logging in, try to disable JavaScript temporarily. If that doesn't work, please contact  a d m i n @ c o d e w a l r . u s  with your account nickname.

* WalrusIRC Shoutbox (Support and development thread)

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: Pokémon with walruses on a TI-84 Plus CE?  (Read 683 times)

0 Members and 1 Guest are viewing this topic.

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Pokémon with walruses on a TI-84 Plus CE?
« on: September 05, 2016, 11:52:41 pm »
So this project is not official yet, but the recent release of  Ricsan's image to grosged Sprite lib data converter might eventually change this. The main challenge of a Pokéwalrus game was the conversion of the sprite sheet, because of how each walrus sprites have different sizes and are not aligned on a grid in the sprite sheet.

Anyway, for now, I have 96 sprites out of 150 converted (the next one to convert is the musical note walrus), but they are not scaled up because I have not decided which size they will be in the future (most likely 400%)


To avoid having to use a different palette for each walrus, I decided to lower the overall quality to 32 colors (my image editor won't let me convert exactly to 36), so the result is this, but it should do the job I guess:


I also cropped some even further because I want to keep each walruses 35x35 in battles.

Also unlike @Scipi (and most likely @c4ooo ) respective WalriiMon games, my game will probably not have anything to do with Pokémon, other than having to catch them all. Basically instead of controlling a trainer you would control :walrii:, who would recruit other walruses in his team to save the world (the rest of the story is undecided, but will involve some bad guy). The game would happen several years in the future, after a nuclear war where only undersea creatures survived, all of which mutated over the years as various walrus species, but I think some humans will remain on some island. Battles would be similar to Pokémon, but with the layout from Dragon Warrior for the NES.

Anyway so far I'm still in the process of converting the data, which will take a long while, but nowhere as long as without that tool. I will also need to get rid of the Rep+" that the software generates because it wastes RAM.

EDIT:



48 of them are in calc format for a total of 36 KB. Some are larger than the rest so I am curious if I can fit 75 in one sub-program...
« Last Edit: September 06, 2016, 07:28:36 am by DJ Omnimaga »


  • Calculators owned: TI-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, 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 DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #1 on: September 06, 2016, 07:31:07 am »
Good news! I have finally converted all 150 sprites, as well as the title logo!



I also noticed there were 156 sprites in the sprite sheet above so I removed the last 6. The game will require the entire 150 KB of RAM to play I think (but again, FFMF wasn't super big).
  • Calculators owned: TI-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, 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)

Offline p2

  • Full User
  • Posts: 326
  • Post Rating Ratio: +5/-0
  • *blergh*
    • View Profile
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #2 on: September 06, 2016, 07:53:50 pm »
In the name of DJ Omnimaga I hereby poke all of you so you dont forget to post, too. DJ doesn't want to tripple-post...  :ninja:


By the way DJ when will you decide about the used sprites? As you mentioned some are gonna get added, some are gonna kicked out ^^ will you start a public discussion or evan a poll? or will you decide yourself? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
*Wubalubadubdub*

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Posts: 625
  • Post Rating Ratio: +6/-2
    • View Profile
  • Gender: Other
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #3 on: September 06, 2016, 11:02:04 pm »
"48 of them are in calc format for a total of 36 KB. Some are larger than the rest so I am curious if I can fit 75 in one sub-program..."
Well as i said in IRC, a program can only hold 2^16 bytes, so i am afraid you are going to have to put them in subprograms if you want to fit all. ;)

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #4 on: September 06, 2016, 11:47:17 pm »
@c4ooo the first 48 walruses were mostly the larger sprites because I converted them in order of the Walrii fanart post. As I converted more, the program size increased less. But I also added title screen data to the 2nd data program so both sizes are kinda even now. And yeah a program cannot be larger than 65535 bytes IIRC, hence why I am already using sub-programs.

@p2 the decision has been made for a long while actually, back when this project was still being planned for the HP Prime. This game includes the 1st gen walruses. If somebody ever ports XCOPY to the TI-84 Plus CE then I will also include the 2nd generation sprites. However I removed 6 walruses from the game because I discovered that the first sprite sheet contained 156 instead of 150.

Also, I decided to split each set of Walrii data into smaller chunks, using If/Then/Else and Return commands, so that it takes less time to go through each program.

Regarding NPC's and events I think it might work like Dragon Warrior, where pressing the action button opens a menu with commands, such as TALK, BATTLE (so you can fight the NPC to recruit him and register him in your Walriidex), SEARCH (trigger other events) and PARTY (you will probably be able to carry 3 walruses with you for battle). Of course, wild walruses will also exist. Main game bosses will probably give stars or orbs that unlocks certain game areas, Mario 64 style.


I am aiming to keep the game as small as possible, so some mechanics will be simple, especially attack move animations. The walrus level will be the same for all walruses in the game, like in Mario RPG, walruses will not evolve and the types will most likely be Fire, Water, Bolt, Leaf, Mech, Undead, Tech, Psy, Normal, Flying, Angel, Poison and Special.
  • Calculators owned: TI-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, 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)

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Posts: 625
  • Post Rating Ratio: +6/-2
    • View Profile
  • Gender: Other
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #5 on: September 07, 2016, 12:06:57 am »
What does xcopy do?

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #6 on: September 07, 2016, 12:14:45 am »
It copies archived programs into a temporary RAM program, kinda like xLIB and xLIBC's program copy functions, except that it's standalone. It also features options to delete one of the temporary XTEMP00x program or all of them at once.
  • Calculators owned: TI-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, 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)

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Posts: 625
  • Post Rating Ratio: +6/-2
    • View Profile
  • Gender: Other
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #7 on: September 07, 2016, 12:43:35 am »
That should be easy to do in asm. I guess I could write it for you, just probably tomorrow.

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #8 on: September 07, 2016, 12:49:49 am »
Well it depends. It seemed like Mateo seemed interested too, so try to be careful to not write a duplicate lol.

Anyway if you do this you should maybe put it on ticalc.org, in a  separate CW topic, TI-Planet and Cemetech archives or let TI-Planet staff put it in their archives, because that might be handy for a few people, not just for BASIC coders. For example if some person has a lot of large math/science programs and prefers running most of them without having to manually unarchive them all the time.
  • Calculators owned: TI-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, 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)

Offline Unicorn

  • Unicorn Overlord of CodeWalrus
  • Super User
  • CW Contest II - 2nd place
  • *
  • Posts: 2597
  • Post Rating Ratio: +4/-2
  • Weeeeeeeeeeeeee!
    • Unicorn808
    • 114/11432
    • View Profile
    • UnicornCalcs
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #9 on: September 07, 2016, 07:09:06 am »
Woah, this looks quite awesome! That speed with the sprites is quite impressive; a Pokemon game does not really need much speed anyways, right?
  • Calculators owned: I own all of them: TI 84+ CSE TI 83+ SE TI something something



Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #10 on: September 08, 2016, 01:21:05 am »
Thanks. The speed is actually a bit slow because when loading a walrus sprite I need to provide its ID and the calc has to go through an endless string of If commands with large string data before finally finding the right data and exiting that program. It might not seem like something that is normally slow, but said program is over 55 KB large, so that's a crapload of code to go through. I allievated the problem by grouping walruses into packs of 25 with three nested If/then/else blocks, so the speed is much greater than it originally was (although as a result, the speed at which walruses load varies depending of which one you try to load):

Walrus 1 to 25 and 76 to 100: Faster
Walrus 26 to 50 and 101 to 125: Medium
Walrus 51 to 75 and 126 to 150: Slower

And that's because I only want to load one at a time since they wouldn't fit at once in memory, unless one day grosged implemented real-time sprite scaling.
  • Calculators owned: TI-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, 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)

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Posts: 625
  • Post Rating Ratio: +6/-2
    • View Profile
  • Gender: Other
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #11 on: September 08, 2016, 01:22:43 am »
Thanks. The speed is actually a bit slow because when loading a walrus sprite I need to provide its ID and the calc has to go through an endless string of If commands with large string data before finally finding the right data and exiting that program. It might not seem like something that is normally slow, but said program is over 55 KB large, so that's a crapload of code to go through. I allievated the problem by grouping walruses into packs of 25 with three nested If/then/else blocks, so the speed is much greater than it originally was (although as a result, the speed at which walruses load varies depending of which one you try to load):

Walrus 1 to 25 and 76 to 100: Faster
Walrus 26 to 50 and 101 to 125: Medium
Walrus 51 to 75 and 126 to 150: Slower

And that's because I only want to load one at a time since they wouldn't fit at once in memory, unless one day grosged implemented real-time sprite scaling.
Lol. I had the same problem with levels in the original tibasic version of lazer. All 50 levels where just a bunch of if-then statements :P

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #12 on: September 08, 2016, 06:51:58 am »
Reuben Quest series also had similar issues. IIRC I added a few extra Return commands at the end of some If blocks but it was not enough to stop the massive lag when you tried to walk around and hit a wall. I can't imagine how bad it would have been in Pokéwalrus if the CE had a 15 MHz z80.
  • Calculators owned: TI-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, 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)

Offline p2

  • Full User
  • Posts: 326
  • Post Rating Ratio: +5/-0
  • *blergh*
    • View Profile
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #13 on: September 08, 2016, 02:30:04 pm »
uh right u already saw reuben3? :D it's awesome  :thumbsup: (sadly it's not released yet but he's working on it) ^^
(I'm helping soru finding bugs in it) ^^
Here it is: https://ourl.ca/21881
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
*Wubalubadubdub*

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • Featured Project Author
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14676
  • Post Rating Ratio: +72/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Pokémon with walruses on a TI-84 Plus CE?
« Reply #14 on: September 08, 2016, 02:36:35 pm »
Yeah I replied to the Cemetech topic about Reuben 3. I liked the improvements on the map, although it was a bit weird to see sand replaced with grass below the first dungeon :P, but I guess if the game happens some time after Reuben 2 then maybe a big monsoon happened in the meantime lol.


Also did you know that Soru remade Reuben 1 in Axe and Reuben 2 in ASM in 2014?
  • Calculators owned: TI-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, 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)

 


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