cmaas / impact-tile-shader Goto Github PK
View Code? Open in Web Editor NEWTile-based Shader Plugin for Impact.js
Tile-based Shader Plugin for Impact.js
I don't think forceDrawNextFrame
is needed or even a good thing to be honest. The savings it provides are inconsistent. If most of my frames need TileShader to draw, then my entire game really needs to account for its cost and be able to handle it across the board. So frames that TileShader.draw()
doesn't get called are faster, but I don't care because I can afford the cost of TileShader.draw()
anyway.
I'd argue get rid of it and always draw. Makes the plugin simpler and more reliable.
I have two entities that are using light sources, one is 32x32, the other is 16x16. My lighttiles are still using the standard size image. Is it possible to correct the light offset to account for varying entity sprite sizes?
I'd like to not change the lighttile size, as I prefer the look of the smaller tiles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.