Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Projets de programmation


Index du Forum » Projets de programmation » Terrario, a Terraria rewrite for the calculator
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Terrario, a Terraria rewrite for the calculator

Posté le 10/07/2020 16:05

2021 Casio Awards winner, thanks everyone!

Hi. I noticed a while ago there weren't any games like Terraria or Minecraft available for Casio calculators. For the past while I've been working on rewriting Terraria in C for the SH4 calculators using gint. I'm not sure when if ever I'll finish it, since it is a fairly big project, so I've decided to put it here for now.

Here are a few screenshots of the progress so far (some may be out-of-date):
Main menu


Gameplay


Inventory


Crafting


Equipment


A visualisation of a generated world (click for full detail)



The game runs at 30FPS. Worlds are 1000x250 tiles large (640x250 on the 35+E II / GIII).

The control scheme and a crafting guide can be found in the game's About menu.

This forum page is updated regularly with the latest release of the game, as well as a changelog in the comments.

If you aren't sure what an item does, feel free to search it up on the official Terraria wiki.

Most recent update:
Jungle and a bunch of content.

Up next:
Who knows?

The attached file contains the latest build of the game, as well as instructions and a screenshot compiling script and map tool.

The source code repository as well as early builds of the game can be found at this GitHub repo and its Gitea mirror. Obviously, expect bugs in these early builds, though I take care to remove the major ones I find before releasing.

Due to the very large world, the save files for this game are big. Make sure you have at least 450kB of storage space before installing the addin (300kB on Graph 35+E II), and try to keep at least 300kB free afterwards. Tampering with the files in the TERRARIO folder will corrupt the save, so don't do that. The game will warn you if you have low storage space available, so that you can optimise your storage.

NOTE: You must have a Graph 35+ E, Graph 35+E II, fx9860GII, or fx9750GIII model calculator to run this game.

Fichier joint


Précédente 1, 2, 3 ··· 7, 8, 9, 10


Zaky202 Invité

Citer : Posté le 12/12/2023 06:43 | #


is there any way to listdir the directory im in?

void listdir(uint16_t const *path , list_t* scr, int x_scrl ,int y_scrl) {
    void listdir(uint16_t const *path) {
    int shandle;
    uint16_t foundfile[FILENAME_MAX];
    struct BFile_FileInfo fileinfo;

    // Open a search handle
    int result = BFile_FindFirst(path, &shandle, foundfile, &fileinfo);

    if (result < 0) {
        print_txt(scr,"Error opening directory", x_scrl, y_scrl);
        return;
    }

    // Iterate through the directory entries
    while (result == 0 || result == BFile_EnumerateEnd) {
        print_txt(scr, "F", x_scrl, y_scrl);

        // Continue the search
        result = BFile_FindNext(shandle, foundfile, &fileinfo);

        if (result < 0) {
            print_txt(scr, "Error during enumeration", x_scrl, y_scrl);
            break;
        }
    }

    // Close the search handle
    BFile_FindClose(shandle);
    scroll(scr,x_scrl,y_scrl);
}
}


The function
print_txt
, and the variables
x_scrl , y_scrl
is my way to print in my terminal application
I try to use this way to listing all files but i get no output , can any one help me?
Zaky202 Hors ligne Membre Points: 35 Défis: 0 Message

Citer : Posté le 12/12/2023 07:57 | #


Lephenixnoir a écrit :
Nope. Many people are wondering on Github. Someone has to delve into the code. First step is to get a reproducible error.


Any Help Admin?
Tuper4 Hors ligne Membre Points: 856 Défis: 19 Message

Citer : Posté le 13/12/2023 21:19 | #


I found a method to make it work ! Unfortuneatly, it dosen't work on graph 35+e II
you just need to start a new game, move a few blocks, and then save the game. Then, when you load the game, it dosen't make the error any more! but you need to save the game after about ten to twenty minutes, because it may recrash.
Ne vous arrêtez pas quand vous êtes fatigé(e), arrêtez vous quand vous avez terminez.


Joyful_Diamo Invité

Citer : Posté le 30/05/2024 06:06 | #


Hi...
I am trying to play your game, I can do everything but when I save and then re enter the world it has failed to save any blocks and I just die
Is there any way to fix this?


Joyful_Diamo Invité

Citer : Posté le 30/05/2024 06:08 | #


Also, I am on a 'graph 35+e II' (casio fx-9860giii).
Précédente 1, 2, 3 ··· 7, 8, 9, 10

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 53 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd