Re-virtual resolution
  • 77
  • 2
I've been looking a long time for a efficient and easy way to create a virtual resolution on all devices including mobiles and desktops. There's autofit, it's for mojo1 only but I was thinking of converting it only to discover it might not be a good idea, also it's blurry (which could be a...
Lense effect
  • 44
  • 4
A lense effect using mojo2. Import mojo2 Function Main:Int() New Game() End Function Class Point Field x:Float Field y:Float Method New(tX:Float,tY:Float) x = tX y = tY End End Class Game Extends App Field myimage:Image Field canvas:Canvas...
Added blend mode
  • 129
  • 5
Hi I added a subtractive blend mode for anyone who wants it, just replace the graphics.cxs file inside your Cerberus folder with this one. Here's an example how a shape would be painted using normal paint mode and the new subtractive mode. Normal drawing versus subtractive
Team DevLog Phil7- Update 2020/06/27
  • 106
  • 0
This is my first DevLog ever. So let's see how it goes... Besides looking into the render layer candidate Sokol and wrapping my head around C99 versus C++11 to see how it could be implemented, I am working on the documentation of Cerberus X. This is what I have so far: - New Strukture of the...
My DevLog - Update 2020/06/25
  • 211
  • 4
Well, of course! Here we are. I start a new thread, to keep your dev log tidy ;) As you might have read, I am currently working on a VS Code extension for Cerberus X. What I have so far: - syntax highlighting - document outline - rudimentary in-editor help panel See for yourself: It's not...

[EXAMPLE] 2D camera in mojo2

  • 131
  • 0
Hi. Currently I am having a big fight trying to implement a 2D camera with mojo2 and I did come across this article explaining how to implement a camera in Monkey X and mojo: How to create a 2D Camera Effect in Monkey X The author in the article also share links to third party sites where he...
Journeys with Cerberus - "Undaunted"
  • 163
  • 4
As I mentioned, I'm pretty new to Cerberus, I figured I'd share my journey so far. I've always loved the 2D "iso" thing (yes yes I know it's technically dimetric due to foreshortening on the one axis but everyone calls it isometric) and I'm finally getting around to trying to make a game I've...
ST-Animation a.k.a. UV-Animation (mojo2)
  • 159
  • 0
This snippet demonstrates the basics of texture coordinate animation. Strict ' ST-Animation / UV-Animation ' (in Cerberus X, texture coordinates are called ST) Import mojo2 Function Main:Int() New MyApp Return 0 End Class MyApp Extends App Field canvas:Canvas ' material...
The Book of Shaders Port (mojo2)
  • 101
  • 0
I try to port The Book of Shaders examples to Cerberus X using the Mojo 2, Shader Effect example code as starting point. It's going well so far... This is the gradient example... The Book of Shaders code My Port Just save the shader code in the data folder of your project and name it...
2D in 3D rendering (mojo2)
  • 244
  • 1
Hi folks, as @SimonVD asked about if 2D in 3D is possible in CX, I gave it a try in mojo2. With the help of some math stuff borrowed from miniB3D and Vortex2, you can set the ModelMatrix in a way that you can use the 3 dimensions. Of course you need to tell mojo2 render in a perspective view...

About Cerberus X

Welcome to Cerberus X, a cross-platform development toolset which serves 2D game development at its core. Cerberus X is a fork of the Monkey X programming language which was originally developed by Mark Sibly. The goal is to enhance and develop it further!


Top Bottom