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, 4, 5, 6, 7, 8, 9, 10 Suivante
Tituya Hors ligne Administrateur Points: 2141 Défis: 26 Message

Citer : Posté le 14/08/2020 00:46 | #


if the article is in English, I can translate it in the review.
You can write whatever you want, just some screens of your project and a little text to show us what you did and what you want to add ! That can be usefull if you want to make an advertisement for your game !
Bretagne > Reste du globe
(Et de toute façon, vous pouvez pas dire le contraire)
Projet en cours : Adoranda

Mes programmes
Hésite pas à faire un test !


Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 29/08/2020 10:50 | # | Fichier joint


Update: Monsters!
- Slimes will now spawn - they are peaceful, but attack them and they'll fight back!
- While holding a weapon, press 7 to swing it and attack nearby entities
- Added combat, entity drops, and death/respawn mechanics
- Added a particle explosion engine for when stuff gets killed
- Increased hotbar size to 5
- And of course, numerous bugfixes.
Youtubenosio Hors ligne Membre Points: 13 Défis: 0 Message

Citer : Posté le 10/09/2020 18:03 | #


salut est ce que c'est compatible 35+E II
Lightmare Hors ligne Membre de CreativeCalc Points: 690 Défis: 0 Message

Citer : Posté le 10/09/2020 18:09 | #


Ce programme utilise Gint, or Gint étant compatible Graph 35+E II, normalement tout est bon !
"Quand je dis à la cour : "Sautez ! ", tout le monde me demande "jusqu'où ?" "
Dijkstra - The Witcher
Lephenixnoir Hors ligne Administrateur Points: 24235 Défis: 170 Message

Citer : Posté le 10/09/2020 18:15 | #


Excepté que ce programme présente un bug temporaire qu'on est en train de résoudre, mais sinon oui xD
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Lightmare Hors ligne Membre de CreativeCalc Points: 690 Défis: 0 Message

Citer : Posté le 10/09/2020 18:17 | #


Ah dommage. Mais j'étais bon sur la théorie !
"Quand je dis à la cour : "Sautez ! ", tout le monde me demande "jusqu'où ?" "
Dijkstra - The Witcher
Youtubenosio Hors ligne Membre Points: 13 Défis: 0 Message

Citer : Posté le 10/09/2020 18:20 | #


effectivement y'a une system error qui me fait une demande de reset de ma calculatrice x)
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 19/09/2020 03:08 | # | Fichier joint


Update:
- Added pickaxes (they also function as axes)

Not much content in this release, as the main feature is Graph 35+E II / fx9750GIII compatibility!

After a long couple of weeks of bugfixing on both mine and Lephenixnoir's part (mainly Lephe with a big patch to gint), we have managed to make the game run on these models. Release folders now contain subfolders for both the main and compatible versions.
Massena Hors ligne Ancien rédacteur Points: 2219 Défis: 11 Message

Citer : Posté le 22/09/2020 20:49 | #


Nice work !
What about a post in the review (?) of projects ?
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 22/09/2020 20:52 | #


As promised, I'll see if I can whip up an article tonight
Massena Hors ligne Ancien rédacteur Points: 2219 Défis: 11 Message

Citer : Posté le 22/09/2020 20:52 | #


Thanks a lot !
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 10/10/2020 11:26 | # | Fichier joint


Update:
- Added torches, furnaces, iron, and anvils
- Added a 12-minute day/night cycle with a sun/moon background and clock
- Overhauled world generation, now includes clusters of materials and caves
- An empty space must have a placed tile beside it for a tile to be placed there
- Player health now regenerates
- Big UI changes:
-- Item names are now displayed in the inventory and crafting menus
-- The hotbar now disappears after a couple seconds or not being used, freeing up screen space
-- Removed the "Generating World" screen, replacing it with text showing what part of the world is currently being generated
- A few smaller additions, changes, and bug fixes.

NOTE: This version and onwards is not compatible with SH3 calculators due to RAM requirements.
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 12/10/2020 06:48 | # | Fichier joint


Important patch:
- Fixed a crash caused by opening the crafting menu when nothing is craftable.
Note: This issue is only present in v0.6.0-indev.
Potter360 Hors ligne Rédacteur Points: 1221 Défis: 2 Message

Citer : Posté le 12/10/2020 07:54 | #


Hello !
I have a Graph 85 SD calculator.
is the file compatible?
(I translate in English on Google Translate so the translation may not be perfect ...)
Globalement, coder. Mal, mais coder.
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 12/10/2020 08:13 | #


I don't know much about the Graph 85 SD (though it seems like it might be too old according to Google), someone else with more knowledge might be able to answer that.
Dark storm Hors ligne Labélisateur Points: 11634 Défis: 176 Message

Citer : Posté le 12/10/2020 09:14 | #


If your game is compatible with SH3 CPU, then it should be compatible with the Graph 85 SD.

Anyway @Potter360, can you test it and tell us if it's ok? And if the gray does not render well, see with @Lephenixnoir to adjust the timing values.
Finir est souvent bien plus difficile que commencer. — Jack Beauregard
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 12/10/2020 09:21 | # | Fichier joint


The latest build isn't SH3 compatible, he will need to try v0.5.1-indev or below (I've attached it to this comment, use the Graph 35+E II version).
Lephenixnoir Hors ligne Administrateur Points: 24235 Défis: 170 Message

Citer : Posté le 12/10/2020 10:06 | #


A Graph 85 SD, that's a rare one! (And here I was just telling Kbd2 everyone had SH4 calcs xD)
You can't expect too much compatibility there, ultimately I don't think the SH3 has enough memory to run Terrario.
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Citer : Posté le 17/10/2020 15:20 | # | Fichier joint


Update:
- Added chests (9 to interact, F5 and F6 to swap between chest and inventory tabs)
- Added zombies, whom spawn between 7:30PM and 4:30AM
- Changed the controls a bit:
-- 7 now uses the currently held item, and 9 interacts with placed objects
-- 8 now only jumps once.
Potter360 Hors ligne Rédacteur Points: 1221 Défis: 2 Message

Citer : Posté le 20/10/2020 19:24 | #


Pour info sur G85 :

ca commence à marcher puis :
Exception ! (SysERROR)  

TLB miss read
PC : 00309b54
TEA : c1628ac0
TRA : 00000000

The add-in crashed
Please reset the calc


Voilà !
Globalement, coder. Mal, mais coder.
Lephenixnoir Hors ligne Administrateur Points: 24235 Défis: 170 Message

Citer : Posté le 20/10/2020 19:27 | #


Probablement un problème de gint en toute honnêteté, je n'ai pas de Graph 85 donc jamais pu faire un portage complet. Si tu as du temps pour faire un test complet et qu'on voie s'il y a des soucis, hésite pas à faire un tour sur le topic de gint.
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Précédente 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Suivante

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 76 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