Giter Site home page Giter Site logo

szmoore / htr-webgl Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 66.8 MB

Humphrey The Rabbit: WebGL Version (now with 100% less WebGL)

Home Page: http://rabbitgame.net

License: MIT License

HTML 10.90% Python 14.40% JavaScript 68.30% CSS 0.84% Makefile 2.80% C++ 1.76% Java 1.00%

htr-webgl's People

Contributors

szmoore avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

htr-webgl's Issues

Multiplayer support with websockets

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.

Refactoring

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.

How to improve?

Multiplayer
Profiles and high scores
Seasonal Themes
Weapons
Menu World

Difficulty Reductions

Game is slightly too hard...

General Suggestions:

  • Easier to kill foxes - No; they are easy enough if you practice
  • Lives - Could work; have a collectable (carrot), reset position / enemies but not position
  • Change win mechanism - I like the current win mechanism
  • Fix bugs... Takes effort, but might happen one day
  • Decrease frequency of foxes - No; if you are good at killing them it actually gets boring when there aren't any around

Level 2 Suggestions:

  • No more sideways boxes - I've tested this, it actually makes it harder
  • No Ox - BOO
  • Stop foxes from stacking on each others backs - Too hard
  • Nothing I am really willing to do to be honest...

Boxes stuck in walls with several pixels on screen

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.

Got squished after stopping a box in mid air

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.

Level 3

New music. Demo written. Have found someone who will sing for it (!?)

  • Flesh out tracks like level 2 or leave as piano only like level 1?
    New background. Yellow? Actual background image?
    Story line / Cut scene?
  • All I got is "Henry the Rabbit appears and a plot line ensues"
    • Scene: Fox and Ox are both beaten up, Henry The Rabbit yells at them, "I am surrounded by fools" etc, says the Roc will do a better job.
    • This requires a lot of drawing (even if it isn't animated) :S
      New enemy: Roc (ie: eagle)
  • Flies sideways and kills you
  • Drops things? Too hard, leave for later level
  • Replace the sideways boxes? Would be annoying
  • Replace the Ox?
  • Keep the Foxes though. How do Foxes interact with Rocs?
    • Isn't consistent with storyline (hah)

Biggest problem is nearly no one will get to Level 3 at the current difficulty.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.