开发者

Javascript game framework or library for board games?

开发者 https://www.devze.com 2023-03-22 17:28 出处:网络
I am trying to build a card game in Javascript.Currently I am using Raphael to draw my graphics, but I\'m bad at math, like really bad.I\'m wondering if there is a library or framework out there that

I am trying to build a card game in Javascript. Currently I am using Raphael to draw my graphics, but I'm bad at math, like really bad. I'm wondering if there is a library or framework out there that would allow me to build a card game in Javascript without having to manually figure out the x and y coordinates of every object I 开发者_如何学编程want to draw.


You could look into a Javascript Game Engine, depending on your exact requirements you should find one for you.

Usually a game engine include facilities to manage sprites, layers, and scene; handle events; easy animations; redrawing regions, detecting collisions, etc.

Render Engine is an open source game engine that seems pretty good. Many more are available under a commercial license.

A list of both open source and commercial game engines is available here, with brief descriptions to allow you to quickly find your way (discarding the not-yet-mature engines and choosing based on features or focus).

0

精彩评论

暂无评论...
验证码 换一张
取 消