You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server
0
b/Games publicado por u/Adriweb October 18, 2015, 11:25:47 PM
These last few days, Critor and I (well, I was just helping him a bit) have been working on a game for the TI-83 Premium CE / TI-84 Plus CE, "Mandragore", which is in fact originally a game from the 80s for computers like the C64 / ZX Spectrum / CPC etc.
In this game, you have to find your way around the map collecting things and visiting places.



Here's a Youtube Video of it in action (though not the latest version).

For better performance, the game uses the CE's LCD 8bpp mode and redraws only needed tiles. As you can see, there is no scrolling-lag as there would have been if made in pure-Basic (there is however the "standard" OS repeat-keys delay, which we'll probably fix later on).
What's "special" about this game is that it is, as far as we know, the first "big" thing written in C for the CE :) (We've had headaches working around ZDS' C language (≈ C89) compiler limitations...)
For that, Critor and I used TI-Planet's upcoming online C compiler, and its real-time multi-user editing feature proved immensly useful :D

Anwyay, it's available to download here : http://ti-pla.net/a328137
Of course, it's open-source so anyone can learn from it :) We ourselves have to thank MateoConLechuga (and possibly others?) for some 8bpp-related routines.

via https://tiplanet.org/forum/viewtopic.php?f=41&t=17421
Last Edit: November 26, 2015, 12:37:58 AM by DJ Omnimaga
Inicia sesión o crea una cuenta para dejar un comentario
u/Dream of Omnimaga October 18, 2015, 11:30:13 PM
I was wondering what was the story behind this game because on Google Hangout I noticed that your sprites only used a few colors similar to ZX Spectrum colors. I now have my answer :P

I hope the upcoming online C compiler will help the TI community produce games (and of course features an easy to access English version :) )

Also this news exacerbates the need for a TI-83 Premium CE/84+CE emulator, so that we can take proper screenshots.



Good job Critor and Adriweb for porting this old game :). It reminds me of Ultima and Dragon Warrior.
Last Edit: October 18, 2015, 11:32:23 PM by DJ Omnimaga
u/Araidia October 19, 2015, 02:30:04 PM
Awesome!
It's nice seeing new things for the TI84 Plus CE(since it's the only calculator I own)
u/Araidia October 20, 2015, 06:40:08 PM
Does this require any other programs to be installed, such as CE Textlib?
u/Dream of Omnimaga October 20, 2015, 06:54:04 PM
CE Textlib is only for BASIC programs actually, while this game uses C. I don't know if it's nostub or requires a shell, though.
u/Adriweb October 20, 2015, 08:08:47 PM
No, it requires nothing, just launch it with Asm(
(But you can launch it with Cesium or PHASM if you want, I guess)
u/p4nix October 20, 2015, 08:27:44 PM
Seems that casio is much easier than TI :P You'll even have a fancy icon then instead to start it manually with Asm(
But anyway, cool stuff you are working on. I wonder how hard it is to get started with C on this calculator - programming on casio is quite easy because you already get a SDK.

* p4nix runs
u/Adriweb October 20, 2015, 08:40:32 PM
Quote from: p4nix on October 20, 2015, 08:27:44 PMSeems that casio is much easier than TI :P You'll even have a fancy icon then instead to start it manually with Asm(
Shells can provide you with icons too ;) (And things Noshell-like, like PHASM, make "Asm(" optional)

Quote from: p4nix on October 20, 2015, 08:27:44 PMBut anyway, cool stuff you are working on.
Thanks :)

Quote from: p4nix on October 20, 2015, 08:27:44 PMI wonder how hard it is to get started with C on this calculator - programming on casio is quite easy because you already get a SDK.
As hard as opening a page in your browser, if you use TI-Planet's online CE C compiler (when it's out) :P
It looks like this, for this code:

So... you pretty much just have to code, see warnings and/or errors as you hit the build button, and try it out on your calc :)

An easy-to-setup/use emu side-by-side for debugging would be nice, too. Maybe one day... ?
But the current TODO/WISH list has already several things to take care of (multi-files projects is a big thing in the list...)
u/p4nix October 20, 2015, 08:49:36 PM
Oh, forgot about that great online tool. But what would you have to do in order to do it offline?
u/Adriweb October 20, 2015, 08:55:49 PM
Quote from: p4nix on October 20, 2015, 08:49:36 PM
Oh, forgot about that great online tool. But what would you have to do in order to do it offline?
Basically, set up ZDS as described here.
The include file is available here: http://wikiti.brandonw.net/index.php?title=84PCE:OS:Include_File
For work on ASM/C libs, see Mateo's files (posted here and there)
u/Lionel Debroux October 21, 2015, 05:25:42 AM
And the parts of the code not directly related to TI-Planet integration, which were derived from the resources Adriweb has linked to, will be open source.
u/Dream of Omnimaga October 21, 2015, 05:27:35 AM
Quote from: Adriweb on October 20, 2015, 08:40:32 PM
Quote from: p4nix on October 20, 2015, 08:27:44 PMSeems that casio is much easier than TI :P You'll even have a fancy icon then instead to start it manually with Asm(
Shells can provide you with icons too ;) (And things Noshell-like, like PHASM, make "Asm(" optional)

Quote from: p4nix on October 20, 2015, 08:27:44 PMBut anyway, cool stuff you are working on.
Thanks :)

Quote from: p4nix on October 20, 2015, 08:27:44 PMI wonder how hard it is to get started with C on this calculator - programming on casio is quite easy because you already get a SDK.
As hard as opening a page in your browser, if you use TI-Planet's online CE C compiler (when it's out) :P
It looks like this, for this code:

So... you pretty much just have to code, see warnings and/or errors as you hit the build button, and try it out on your calc :)

An easy-to-setup/use emu side-by-side for debugging would be nice, too. Maybe one day... ?
But the current TODO/WISH list has already several things to take care of (multi-files projects is a big thing in the list...)
Another thing that TI has over Casio is that a Flash app with zero bytes of code in it will not take 29 KB by default  like on the Casio fx-CG20 :P
u/critor October 26, 2015, 01:24:16 PM
Did you reach the end ? ;)
My best play is in 1086km :


I don't know if it's the shortest way.
So in order to help you and still give you some place for enhancements, here's a non optimal youtube walkthrough in 1092km :


The official map may help you too :
Last Edit: October 26, 2015, 01:28:29 PM by critor
u/Dream of Omnimaga October 29, 2015, 06:47:02 AM
I was surprised that every step represented 1 Km. I guess that's due to the map being a world map lol. I thought it took like 25-30 steps before reaching 1 km, if not more. I wonder if this game engine could be expanded into a full game?

The Reign of Legends 3 had a step counter as well, but since that game also had battles that involved grinding and lots of searching around in dungeons, the step counter would usually reach 15000 near the end (I once hacked my save file to have 99 levels and all spells from the start and still reached 10000). IIRC Final Fantasy III or VII had one too and it went very high. I can't imagine walking this much in real life for some adventure while carrying this much equipment XD
u/critor February 26, 2016, 08:46:01 PM
Here's the full map of the Mandragore kingdom :


Yes, all this fits in your calculator. ;)
Start a Discussion

b/Games

Video games for TI, HP, Casio calculators, as well as Android, PC and game consoles.

62
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal