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 » Mario Kart game (work in progress)
Circuit10 Hors ligne Membre Points: 6 Défis: 0 Message

Mario Kart game (work in progress)

Posté le 22/07/2022 01:32

This post in in English rather than French like most of the posts since I don't know French, sorry

I'm working on this Mario Kart game for the Casio CG50/Graph 90+E:



It currently runs with a pseudo-3D effect at 60fps (thanks a lot to Lephenixnoir for helping me optimise this), and has a lap count (currently counts laps when you reverse over the line as I haven't added checkpoints), a timer and drifting with boosts similar to the actual games.

Currently there is only one track, no items, no AI players, no coins, no menus etc. but I'm planning to add these things in the future.

There is also a browser port which has some configurable physics options for testing, as I'd like feedback on how the values should be set or how the physics could be improved in other ways.

Controls (calculator):
Accelerate: Shift
Hop: Alpha or 7
Steer: D-pad
Toggle FPS display: EXE
Toggle framelimit: F3

Controls (browser):
Accelerate: X
Hop: Z
Steer: Arrow keys

Source code (currently very messy, and contains some files it shouldn't)

Fichier joint


Loieducode Hors ligne Membre Points: 192 Défis: 6 Message

Citer : Posté le 22/07/2022 11:11 | #


Tried compiling myself for my calculator and an

fxsdk build-cg

ended up failing by complaining about missing source files...

(and assets too)
Trickswriting(sort le 1er avril):
   100%
Circuit10 Hors ligne Membre Points: 6 Défis: 0 Message

Citer : Posté le 22/07/2022 12:33 | #


Sorry, I didn’t really clean up any hardcoded paths or test it, if you want to build it I’ll fix that (I did also attach the g3a if you just want that)
Circuit10 Hors ligne Membre Points: 6 Défis: 0 Message

Citer : Posté le 22/07/2022 17:33 | #


OK, I fixed the missing files if you pull the latest version, the other thing you need to know is that you have to install libprof and the development version of gint:

giteapc install Lephenixnoir/libprof
giteapc install -u Lephenixnoir/gint@dev
Hackcell Hors ligne Maître du Puzzle Points: 1532 Défis: 11 Message

Citer : Posté le 23/07/2022 19:32 | #


I tried it for the weekend of tests, it was entertaining and enjoyable, especially the drifting being implemented, I can't wait for the rest to test it completely.

If I had one complaint right now it would be the mix of Mario kart 8 or whatever for the kart and F-zero/Super Mario kart for the map. Which seems a bit weird to me.
Lephenixnoir En ligne Administrateur Points: 24673 Défis: 170 Message

Citer : Posté le 24/07/2022 11:47 | #


Excellent demo! Even though I saw most of the recent developments I had yed to test it on the calculator, and it's smooooth as heck.The 60 FPS grind is paying off!

I played for a little while and managed to get my single lap time down to 25:60, 3 laps to 1:17:90. There isn't a lot to do yet but cutting corners properly and getting the mini-boosts still leaves room for some technique.

Whenever you have an important update feel free to tag @RDP in your message so the update appears in our next "Revue des Projets" (project review) on the front page
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Circuit10 Hors ligne Membre Points: 6 Défis: 0 Message

Citer : Posté le 26/07/2022 01:10 | #


Hackcell a écrit :
I tried it for the weekend of tests, it was entertaining and enjoyable, especially the drifting being implemented, I can't wait for the rest to test it completely.

If I had one complaint right now it would be the mix of Mario kart 8 or whatever for the kart and F-zero/Super Mario kart for the map. Which seems a bit weird to me.


Thanks! The track is from Mario Kart Super Circuit and the sprites are taken from a 3D model that is a recreation of the Mario Kart 64 sprites, from the Mario Kart 64 HD project.

I can’t really take the sprites from Mario Kart Super Circuit since they’re the wrong size etc. and having a 3D model is really flexible and useful. Obviously I can’t take the track from a 3D game without major edits since this is game has a 2D track using a tilemap (the calculator can’t handle e a full 3D scene at 60fps). What do you think I could do? I did try brightening the lighting on the 3D model to make it fit better, should I try to add more colour depth to the track?
Slyvtt Hors ligne Maître du Puzzle Points: 2410 Défis: 17 Message

Citer : Posté le 26/07/2022 08:04 | #


I tried MArio Kart only during few minutes and need to admit this is really impressive.
I had no doubt that the G90+E/CG50 is very powerful, thanks to what I saw while developping Outrun, but this is really a good job.

The rendering is both fast and very accurate, with no distortion of the map. The controls are also very receptive.
I am looking forward to see opponents and traps on the track to enhance the game experience and increase fun.
There are only 10 types of people in the world: Those who understand binary, and those who don't ...

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