About friGame¶
friGame is a game development library in JavaScript written by Franco Bugnano. It allows creating 2D games that run in any modern web browser without having to rely on external plugins such as Flash.
It started as a porting of the excellent gameQuery library by Selim Arsever in order to use the HTML5 <canvas> element, but it has developed since then its own set of unique features.
gameQuery Copyright (c) 2008-2013 Selim Arsever, licensed under the MIT
friGame Copyright (c) 2011-2021 Franco Bugnano, licensed under the MIT
Contribution / Contact information¶
friGame development is hosted on GitHub. If you find a bug, please use the issue tracker.
If you have any questions regarding the usage of friGame, feel free to ask a question on StackExchange using the tag frigame
.
If you want to submit a game, or for any other kind of question, suggestion, or comment, you can send me an email at the address: info@frigame.org
What it can do¶
Goals and Features¶
Goals¶
- Fast
friGame has been developed in order to be fast while maintaining an easy to use API
- Modular
Add features to your game by simply including the modules you need
- Canvas or DOM rendering
The same feature set is available in either the HTML5 <canvas> or DOM backend, and selecting a backend is only a matter of including the appropriate file
- Compatible
By using only standard web technologies friGame is compatible with any modern mobile or desktop browser, including IE6 (No PNG alpha support) or IE7, without requiring any external plugin
Features¶
Sprites with animations, movement, collision detection, callbacks, transforms
Sprite layers (grouping) with optional background image or gradient
Extensible resource manager
Sound support using Web Audio API and HTML5 Audio where available, with optional fallback to Flash
Extensible tweening for sprite and sound properties
Optional keyboard and mouse state polling