Author Topic: Pokemon TI-89  (Read 56129 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Pokemon TI-89
« Reply #15 on: January 25, 2012, 10:39:08 am »
Awww, the names sound so cuutte! Also, I cannot wait to try it! I cannot draw sprites well, but what size should they be?

Offline AaroneusTheGreat

  • Moderator
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 287
  • Rating: +26/-1
    • View Profile
Re: Pokemon TI-89
« Reply #16 on: January 25, 2012, 10:42:26 am »
Oh it seems that if you lose, when it prints out GAME OVER, in the fontSetSys(8x10) font, but it seems you didn't call fontSetSys again when you exited that code, so if you lose in professor oak's lab, the first battle, all the text that is put on the screen is in the 8x10 font instead of what looked like the 4x6 I believe for everything else.

EDIT:

It also seems that if you lose in professor oak's lab, you don't start the game over, which makes sense like in the original, but that's when the text goes crazy.



 
« Last Edit: January 25, 2012, 10:44:14 am by AaroneusTheGreat »

Offline Torio

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +22/-0
    • View Profile
Re: Pokemon TI-89
« Reply #17 on: January 25, 2012, 10:51:11 am »
Oh yes, you are right !
Actually, after a Game Over you normally quit the game, and I don't have to restore the small font. But if you lose in Prof Oak's lab, you don't quit. I thought nobody would lose the first fight but in fact, yes...  ;D
I can fix it by restoring the small font after the Game Over. (And to restore the small font, go see the stats of your Pokemon, it will call FontSetSys ^^)

The size of the sprites should be 48x48, and monochrome only. I have completely forgotten, sorry.

@xeda : You can, or you cannot draw sprites well ??  ::)
« Last Edit: January 25, 2012, 10:52:49 am by Torio »
Sorry about my mistakes, I'm French.

Projects :  Pokemon TI-89 | Ti-Tank

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Pokemon TI-89
« Reply #18 on: January 25, 2012, 10:59:21 am »
Okay :) Also, I cannot draw sprites well XD However, there are people here who are very good and who have made Pokémon sprites before :)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Pokemon TI-89
« Reply #19 on: January 25, 2012, 11:29:42 am »
New TI-68k projects, especially in C/ASM, are quite infrequent, so I've created a topic on TI-Planet, the leading site of the French community: http://tiplanet.org/forum/viewtopic.php?f=4&t=8710 :)

I'm curious: why did you use external text files ? Maybe because you were getting closer to the 64 KB size limit ? If you are getting close to the limit, then the information in S1P9, available from http://tict.ticalc.org/projects.html#ref_tutorials , may be of some interest to you: in some circumstances, tweaking the compiler & linker options, plus a bit of optimization work on the code itself, can save 10+KB out of ~60 :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Torio

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +22/-0
    • View Profile
Re: Pokemon TI-89
« Reply #20 on: January 25, 2012, 11:59:52 am »
Thank you Lionel Debroux, to advertise my project on Tiplanet. I'm French and I haven't heard about this site before, shame on me !

To answer you about the texts files, it is not to save space in a range of 10/20 KB, but rather of 60/70 KB ! I was obliged to separate the installation (map/sprites) from the datas (pokemons/moves/objects), because the installation program itself (!!!) reached the 64 KB limit !
If I put all the datas into the main program, it would be about 120 KB large, and I don't think I can optimize so far...

Otherwise, I will look carefully on the optimization tutorial you advised me to read, it might be very interesting.
« Last Edit: January 25, 2012, 12:01:40 pm by Torio »
Sorry about my mistakes, I'm French.

Projects :  Pokemon TI-89 | Ti-Tank

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Pokemon TI-89
« Reply #21 on: January 25, 2012, 12:11:40 pm »
And another bit of curiosity: why do you need an installation program for a TI-68k C Pokemon ?
I'm not criticizing, I'm just trying to understand which areas of optimization - if any - could be applied on the program, so as to make its growth easier :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Pokemon TI-89
« Reply #22 on: January 25, 2012, 12:12:56 pm »
* Xeda112358 is playing and it is nice :D

Offline Torio

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +22/-0
    • View Profile
Re: Pokemon TI-89
« Reply #23 on: January 25, 2012, 12:16:03 pm »
I made an installation program so that it creates the POKEMON folder, and writes text files in it, because there are about 40 map files. I want the user to do as few things as possible to get the game working.
Do you want the source, to see how I coded it ?

Thank you Xeda, tell me when you beat Ondine, she is quite tought, I think  :banghead:
« Last Edit: January 25, 2012, 12:18:34 pm by Torio »
Sorry about my mistakes, I'm French.

Projects :  Pokemon TI-89 | Ti-Tank

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Pokemon TI-89
« Reply #24 on: January 25, 2012, 12:19:23 pm »
Hey ! Another Pokemon porter :D
This seems very nice. I think I am going to steal one of my friends' TI-89, or advertise until they install it so I can play on their calc :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Pokemon TI-89
« Reply #25 on: January 25, 2012, 12:22:59 pm »
I wonder, can you make an option to auto-save when you exit?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Pokemon TI-89
« Reply #26 on: January 25, 2012, 12:24:05 pm »
I wonder, can you make an option to auto-save when you exit?
Or a special key, because if you lost a match, you may not want to save your progress :P
But yeah, that would be a good idea :)
« Last Edit: January 25, 2012, 12:24:38 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Pokemon TI-89
« Reply #27 on: January 25, 2012, 12:26:48 pm »
And maybe a quick save key? Like using → to save, [home] to quit with saving, [ESC] to quit without saving? It is so cool that it designed for the calc! I like how you made name input at the beginning :)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Pokemon TI-89
« Reply #28 on: January 25, 2012, 12:27:04 pm »
Quote
Do you want the source, to see how I coded it ?
Sure :)
Please send to the e-mail address in my profile.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Pokemon TI-89
« Reply #29 on: January 25, 2012, 01:26:11 pm »
I can also help translate/proofread if Matrefeytontias decides they want help. Or if you want a Spanish version, i could help with that too ;)