raphaelstary / shieldsup Goto Github PK
View Code? Open in Web Editor NEWmy 1st game
my 1st game
chrome canary desktop when dev tools are open and just dev tool size changes
everything gets duplicated, maybe the scene starts twice
refactor input handling.
it should be called from within the game loop and not totally DOM event based anymore
reproduce: resize in intro, then navigate to credits screen, then try go back
when resizing the pre game screen while space ship flies into the middle the fire stays or moves to the ground aka game position
on possible solution could be:
in resize method delete the startX flag and when shake gets called next time, set it if undefinde
... -> better solution would be change the screen shake internals ...or come up with a smart idea
when language (key) is not existing everything crashes
render coordinates (x & y) for drawables (asteroids and stars esp.) are floats.
I'm not 100% sure if it's still the case, but double check it pls
for example:
on mobile safari animations are very slow, performance is good but animation is triggered by request animation frame which is clearly not firing at 60fps
device rotation act very strange (mobile chrome nexus4)
first step find out on which systems: make a regression test an document it
counter doesn't stack animations if one digit increases by more than 1, it shows just the last animation: ex.: from 2 to 5 it shows just animation 4 to 5 (not 2 to 3, ..., 4 to 5)
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.