Skip to content

🚧 An Experimental Javascript 2D Game Framework

License

Notifications You must be signed in to change notification settings

afterwind-io/wooly

Repository files navigation

Wooly

🚧 An experimental Javascript 2D Game Framework. 🚧

中文


Summary

Wooly is a 2D game framework written in Typescript, based on Canvas API. The object tree model and coding style are largely inspired by Godot.

It is rather simple, but still battery-included. Built-in functions including:

  • Sprite
  • Animation
  • Collision Detect (AABB/SAT)
  • Input Handling
  • Audio Playback
  • UI Framework
  • Particle
  • State Machine Model
  • Scene / Scene Manager
  • Camera
  • Inspector (FPS | Entity Counter | Mouse Indicator)
  • Physical Simulation (Never Happens)
  • And other goodies...

Since the quality standard of Wooly is as lower as "enough to build my game upon", though it is possible, I don't suggest using it in a serious project. Consider it when:

  • Doing quick prototyping
  • Working on a not-that-serious project
  • Seeking a handy framework for a game contest like JS13k

    But watch out for the package size, my friend.

  • Take a peak of what a naive game framework looks like
  • Trying to write a Godot game in C# on Linux, but the coding experience is not pleasing at all

Docs

Coming soon. Maybe.

TODOs

  • Comments on all public APIs
  • Examples
  • Detailed docs

Trivia

The origin code was an in-game library of my contest project for JS13k 2019. The game is never finished, but the library alone works quite well, IMO.

About the name, I was just thinking of a short and fluffy word, and yeah, that's it, Wooly.

License

MIT

About

🚧 An Experimental Javascript 2D Game Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published