HTML5 游戏引擎:CanvasEngine
来源:
时间:2024-11-29 10:28Canvas Engine 是个 HTML5 Canvas 框架,也是个面向 2D 的视频游戏。Canvas Engine 能提供所有 HTML5 创建简单游戏的 Canvas,提供给游戏架构一个简单的 API。用 Canvas Engine 制作的游戏能兼容所有主流的浏览器,支持触屏设备和移动设备。
特性
Low-level API
Fullscreen support (Supported platforms). Multiple image file formats: DDS, JPG, PNG and TGA. Define a transparent color Scene Structure Overlay scenes Pause scene Multiplayer model Preloading Get the percentage of loading Elements Manipulation Manipulation : jQuery syntaxe Draw : HTML5 Canvas API syntaxe Utilities merge object classWindows
Dialog box with the outline CursorAnimations
Set an animation from a spritesheet Frequence and animation speed Sequence of multiple image Creating a custom animation with multiple sequences Display once, loop or temporaryTimeline (aka Tween)
Easy to make interpolations effects 29 Effects : easeInQuad, easeOutQuad, easeInCubic, easeOutCubic, etc. LoopCollision
Entities model Test collision with virtual grid Polygon intersection and Contains Point.Text
Set maximum line width Display effect Line by line Character by character font file formats : TTF, EOT external fontsGoogle Fonts Fontdeck Fonts.com Typekit
Sound
Multiple sound file formats: OGG, WAV, MP3. Fading effects Web Audio or SoundManager2Effects
Change tone screen Perform a flash Shake screenScrolling
Level Design
Tiled Map Editor (http://www.mapeditor.org) Gleed 2d (http://gleed2d.codeplex.com)Save & Load
Encoding with BISON.jsSpritesheet Management
Input
Access to input types: Keyboard, Mouse, Xbox360 Pad, Joysticks click, dbclick, mousemove, mouseup, mousedown, mouseout, mouseover* Multi-Touch with Hammer.js : hold tap doubletap drag, dragstart, dragend, dragup, dragdown, dragleft, dragright swipe, swipeup, swipedown, swipeleft, swiperight transform, transformstart, transformend rotate pinch, pinchin, pinchout touch (gesture detection starts) release (gesture detection ends)项目主页:http://www.open-open.com/lib/view/home/1396964379325
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
相关知识
HTML5 游戏引擎:CanvasEngine
深入浅出HTML5游戏引擎视频教程【共32课时】
白鹭引擎HTML5专场 移动游戏蓝海启航
5款常用的html5游戏引擎以及优缺点分析
HTML5游戏开发进阶指南
游戏引擎白鹭:一款卓越的开源免费移动游戏引擎
html5游戏开发进阶指南 pdf
20个超赞的HTML5网页游戏设计欣赏
《HTML5游戏开发进阶指南》怎么样
这几款非常好用的开源游戏引擎和框架,赶快收藏
推荐资讯
- 1老六爱找茬美女的烦恼怎么过- 5070
- 2博德之门3黄金雏龙法杖怎么得 4907
- 3《大侠立志传》剿灭摸金门任务 4365
- 4代号破晓官方正版角色介绍 4062
- 5赛马娘锻炼到底的伙伴支援卡事 3848
- 6闪烁之光11月兑换码大全20 3820
- 7爆梗找茬王厕所特工怎么通关- 3588
- 8原神原海异种刷怪路线-原神原 3584
- 9《我的世界》领地删除指令是什 3537
- 10原神开局星落湖怎么出去 原神 3464
资讯热点排名