Home
Cube2D Engine, A minimal 2D simple and easy to use game development engine that provides everything you need for game development and utilizes super fast and super simple wren as its scripting language.
Features
- Minimal
- Simple And Easy To Use
- Highly Customizable
- Utilizes wren as its scripting language.
- Binds almost all of raylib, raymath, Cube2D Framework
- Automatic asset management using Cube2D Framework
- Scene Management using Cube2D Framework
Upcoming
They maybe canceled later on.
- Networking with nbnet
- Audio Management
- Shapes other than Rect.
- CLI
- GUI
- Whatever Issues On Github says.
Example
Whats a programming project without example on its home page?
// File: SceneGame.wren
// Scene Management
// Creating A Simple Player
import "raylib" for COLOR
import "Cube2D" for Engine, Scene, Rect
class SceneGame is Scene {
construct new() {
_Player = Rect.new(0, 0, 32, 32)
_Player.Tint = COLOR["RED"]
super()
}
Update() {
var Speed = 10
// .Base seems weird but we will look into it later.
Engine.WASDMovement(_Player.Base, Speed)
}
Draw() {
_Player.Draw()
}
}