Skip to content

mastercuber55/Cube2D-Engine

Repository files navigation

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

Example

// 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
		Engine.WASDMovement(_Player.Base, Speed)
	}
	Draw() {
		_Player.Draw()
	}
}

About

A 2D easy to use game engine written in C++17 which uses wren as its scripting language.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors