Skip to content

zomagic/guiBasic

Repository files navigation

guiBasic - GUI for CerberusX

  • This guiBasic previously known as MyGui was created by Christopher Challenger in 2012.
  • It was converted from MonkeyX to CerberusX by Memzen in 2019
  • Add support to Cerberus X Font by Mag in 2022 🎉
  • Add support to Cerberus X Mojo2 by bosh77 in 2025 🎉

After unzipping the downloaded file, copy the guiBasic folder into the modules_ext directory for use with mojo, and copy the guiBasic2 folder into the same directory for use with mojo2. Do the same with the sample folders: the Examples folder contains mojo examples, while the Examples2 folder contains mojo2 examples.

At the beginning of your code (mojo example):

Import guiBasic

In your OnUpdate() method:

Gui.Update()

In Your OnRender() method:

Gui.Draw()

Import mojo
Import guiBasic
Function Main();New Game;End Function
Class Game Extends App
	Method OnCreate()
		SetUpdateRate(60)
	End Method
	Method OnUpdate()
		Gui.Update()
	End Method
	Method OnRender()
		Cls(200,200,200)
		Gui.Draw()
	End Method
End Class

About

GUI for CerberusX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •