szmoore / htr-webgl Goto Github PK
View Code? Open in Web Editor NEWHumphrey The Rabbit: WebGL Version (now with 100% less WebGL)
Home Page: http://rabbitgame.net
License: MIT License
Humphrey The Rabbit: WebGL Version (now with 100% less WebGL)
Home Page: http://rabbitgame.net
License: MIT License
This is sort of running in parallel with development of foxbox
Initial goal is just to have two players in the same game. Collaboration!
We need a server to connect two players. First sub-goal is to just have a server capable of keeping track of the state of a single player's game.
I didn't know how to do inheritance properly in Javascript and followed some really terrible advice which worked, but makes the code unmaintainable. The whole thing is one giant singleton. I'm refactoring it so I can add multiplayer. Hopefully this will also fix some of the general bugs.
Multiplayer
Profiles and high scores
Seasonal Themes
Weapons
Menu World
There are so many snarky comments to make I can't choose one.
Game is slightly too hard...
General Suggestions:
Level 2 Suggestions:
Seems to get really slow especially when using canvas 2d.
Not supposed to happen.
Sideways boxes spawn with ignoreCollisions = {"LeftWall" : true, "RightWall" : true}
And then there is a setTimeout
to allow them to collide with walls again.
This is a horrible hack and the setTimeout
seems to trigger early sometimes.
Chrome on Windows.
Something like this may help
http://stackoverflow.com/questions/8916620/disable-arrow-key-scrolling-in-users-browser
If the box is MovingTowards
the player, Above
the player, and RelativeSpeed
is high enough, you will get squished.
The sideways boxes have a random timeout after which they will fall vertically.
Play testing / more complaints are needed to see whether this is actually a bug, or the cutoff for RelativeSpeed
needs to be increased, or sideways boxes need to do something obvious (flash?) before they fall.
This is not a bug.
But if the box moves too fast you can get squished.
New music. Demo written. Have found someone who will sing for it (!?)
Biggest problem is nearly no one will get to Level 3 at the current difficulty.
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.