A port of my game "Painfull Success" for Casio CG50 calculators.
replace rectangles drawing with tileset
rewrite CMakeLists.txt
upgrade to gint 2.4



You can also use your local clone with git send-email.

#Painfull Success CG

A port of my game Painfull Success for Casio fx-CG50 calculators.


In this game, you will need to exploit common "failure" mechanics in platformers. Lava stun you and propulse you high in the opposite direction you where facing, and going out of bounds allow you to death warp.


  • Left and right: move left and right.
  • Shift: jump.
  • tan and →: move camera up and down.
  • 6 (R): restart the level.
  • Exit: quit the game.
  • Down: fastfall (not needed to complete the game).


Builds of this game are available on Planet Casio.

To build this game, you will need:

  • A suitable GCC toolchain for SH4 architecture.
  • The gint runtime and fxsdk.

You can use GiteaPC to setup the toolchain:

$ giteapc install Lephenixnoir/sh-elf-binutils:any Lephenixnoir/sh-elf-gcc:any Lephenixnoir/fxsdk Lephenixnoir/gint

Once it's done, you can build the game using the fxsdk:

$ git clone https://git.sr.ht/~kikoodx/painfull-success-cg
$ cd painfull-success-cg
$ fxsdk build-cg

You can now transfer and run the resulting G3A on your calculator.


The code is under the MIT license. Levels and colors are under CC-BY-SA 4.0. See LICENSE for more details.