kelianb / blapika-game-framework Goto Github PK
View Code? Open in Web Editor NEWA framework that simplifies the development of JS apps that use a canvas and a main loop.
A framework that simplifies the development of JS apps that use a canvas and a main loop.
The idea is to multiply the volume of each audio instead of setting the value.
This would allow us to balance audio properly (for example, we might want a music to be lower than the rest, or a specific sound effect to be higher) without breaking it when we modify the volume. It should also make it easier to create a volume slider (since the value simply moves from 0 (muted) to 1)
This would probably replace the globalVolume feature.
The main problem is that we have to store a few more values for each particle.
This could be useful for games that doesn't require a fixed view port ratio
This issue is related to audio loading but requires more investigation
The content of the resource-manager isn't the one of the resource-manager, it looks like the one of the core
Right now, calling it in update causes "concurrency" issues.
Possible fixes :
dt would be the virtual time interval of the update. This can be useful for animating movement (ex : x += vx*dt).
For convenience, it could be good to have dt in microseconds so we don't have to design with insanely large values when multiplying a speed by dt, for example.
AudioManager.loop(mus1);
AudioManager.toggleMute(); // Mute mus1
AudioManager.loop(mus2); // mus2 is still played
Pros:
Cons:
Rename gravity and wind, and change documentation for default value (use the correct jsdoc syntax [varName=defaultValue]).
This would avoid having dozens of <script> tag in every project.
Ordering needs to be taken into account.
Add the possibility to give a function to render a particle instead of an image
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.