Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-83+/84+] Hero Core

Started by Keoni29, November 22, 2014, 11:15:53 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Keoni29

That would be cool :) I decided to write the editor in c++ because object oriented and stuff. The editor blocks: rooms, world map and tile picker are all objects.
If you like my work, why not give me an internet?

Dream of Omnimaga

How bigs can maps be, by the way? Also do you have support for Undo (with multiple levels)? One annoyance in Mappy was the lack of an Undo feature (seriously, when even Notepad can single-level-undo and another computer editor software can't, there is a serious problem)
  • 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

Keoni29

#77
The limit is the calculator's flash memory. A world file is about w*h*88 so a 9*8 map is 6336 bytes large. Hero Core itself is about 12k at the moment. There will also be optional music files that need to fit in archive and a savefile. In the appvar the world width is specified, so arbitrary world sizes can be used.

I'd like to add an undo feature. With stacks in c++ this should be really easy to make. Every time you place a tile the coordinates and old tile id will be pushed onto the stack. To revert an action it's a matter of popping it back from the stack and placing it back in the buffer.
If you like my work, why not give me an internet?

Dream of Omnimaga

Aah I see. I was wondering in case I ever made a custom map one day and went a bit overboard like in Metroid II: Evolution/Last Chozo :P

  • 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

Keoni29

Worlds are not interconnected areas, but a square consisting of rooms just like the original Hero Core.
If you like my work, why not give me an internet?

Dream of Omnimaga

Actually it was technically the case in Metroid II too. But when moving from one room to another, you would still see the edge of each room in the first and last row/columns of the current map, so instead of moving 12 tiles left/right it was 11 and instead of 8 tiles up/down it was 7. That was unless you went through an hatch. This is why the map above has such weird layout.
  • 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

Powered by EzPortal