Skip to content

Vachilla64/Caldro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Caldro Game Engine

Caldro is a self-contained, web based 2D Game Engine, with systems built from the ground up specifially but not limited to the engine. Everything ihas been written from the ground up in Javascript

Project Examples

Here are a few games runing on Caldro

  • Volley Valley A fun 2D Volleyball game, Code, Art and Sounds were all by your's truly
  • More games and early projects are on my Sololearn account

Technologies

Everything is in JS :)

Features

  • A versatile rendeing Engine (expakding support for WebGL and WebGPU)
  • Camera class
  • Different Options for 2D Physics from simple colliders to detail physics simulation engines
  • 2 sound engines, the regualr HTML5 Audio Engine and WAAPIManager Audio engine, built ontop of the Web Audio API (standing on the shoulders of Giants with the WAAPI)
  • Vector and Matrix Math Classes and Utilities
  • Quite versativeNeural Networks class with numerous editable layer activation types and a Genetisc Algorithms abstractions that plays nicely together
  • Basic Expanded Math Library
  • Mouse and Keyboard Input Event Handling abstractions
  • Basic Control UI primitives e.g "Joyticks and Buttons"
  • A versatile basedAnimation Engine

The Process

long before all this AI slop coding trned came along

I started making games around 2020, during the Great Lockdown, on my phone with SPCK Editor. It was such a great way to pass time and explore ideas

and the more games and ests I made, the more some parts of the code stood out as time savers

and they kept growing One year and 2687 lines of naive Javascript code later I uploaded the first Caldro file via file upload to github web from my phone

and 10k+ more lines of naive Javascript code later here we are

Caldro is a passion project, and it's not dying anytime soon :)

What I have learend so far

I have gained a deeper appreciation for all the things that most software do behind the scenes that we just expect them to do

  • undo and redo are not "just ctrl z and boom time travel"
  • writing nerual nets and genetic algorithms from scratch was fun
  • learning about graphics programming and now learning about shaders and rendering pipelines and how common effects like bloom work under the hood is so cool
  • learning core CS concepts before getting to college was a huge help for CS courses
  • I always used to think video goames were jsut that, software where every possible state was an image and it would just play the proper image equence depending on what players input. Thankfully I was wrong on that last one :)

Resources (I'd like to build my own game engine too!)

I've got you! Do be warned, this is no where near an exhasutive list

AI

Neural Networks

Neural Networks from Scratch - by Harrison Kinsley & Daniel Kukieła The youtube playist starts the process. The Book goes more in depth. Support them if you would like to by getting it here I think it's a great resource

I followed the concepts but used no libraries for that authentic "from scratch" experience

Genetic Algorithms

Idk man look it up on youtube and follow the conepts in your favourite programming language It's much better to do that first

rendering

MDN canvas is a great starting point

Running the Project / Contributing

Currently this is a solo project but once it is ready to be open source and I have made proper documentation I will update this section

About

A HTML5 Canvas based Javascript Web Game Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors