Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on May 16, 2012
  1. Different way of showing next dest gate (WIP)

    authored
    Modified the shader to highlight your planet in the direction of your next
    gate. Not totally working yet though.
  2. Game parameter tuning + fix for gate missing bug

    authored
    - Zooming the camera in closer and scaling down the width of the gates, so that
      they feel further apart.
    - Less variation between the racer sizes.
    - Reduce player velocity when bouncing off a side of the play area.
  3. Game parameter tuning + fix for gate missing bug

    authored
    - Zooming the camera in closer and scaling down the width of the gates, so that
      they feel further apart.
    - Less variation between the racer sizes.
  4. .gitignore changes

    authored
  5. Add a web page with the canvas at half size.

    authored
    A fair few people found that 1024x1024 was too big for their screens, so this
    adds index-small.html which runs at 512x512 instead.
Commits on Apr 23, 2012
Commits on Apr 22, 2012
  1. Make the camera follow the racers.

    authored
    The camera is zoomed in to show only 1 quarter of the race track at once, but if the players are too far apart to fit on the screen it will zoom back out.
  2. Duplicate the start gate.

    authored
    This means we don't have to special-case the final leg of the lap, from the final gate back to the start gate.
  3. Using Nuke's rotopaint to build my map!

    authored
    Added a script with the map in and a python script to export it as a JSON file that the game can pick up directly.
  4. Added a .gitignore

    authored
  5. Calculate gaussian kernel & defer framebuffer creation

    authored
    So we can make it an arbitrary size, maybe, if necessary. framebuffers are expensive, so we defer creation of them until postprocessing is switched on for the first time.
  6. Framebuffer initialisation changes

    authored
    Moved framebuffer creation into a separate function because I need to do it twice now. I'm creating a second framebuffer so that I can ping-pong between them to build up effects.
  7. Un-break postprocessing.

    authored
  8. Enlarge play area to 1024x1024

    authored
  9. It's a REAL GAME!!!

    authored
    Added win/lose/tie conditions. It's a real game now!
  10. Added in the win/lose states

    authored
    There's no way to reach either of these states yet though.
  11. Added support for lots of different game states

    authored
    So far, we have: titles, game setup, countdown, playing. Still to add: win, lose, paused. And probably some others.
    
    Also fixed an annoying bug with text rendering where overlapped text wasn't getting shown. It was because they were all getting drawn at the same depth, but the depth func was set to LESS rather than LEQUAL.
  12. You can pause the game now.

    authored
  13. Add a makefile for deploying

    authored
  14. Added basic AI for npc racers.

    authored
  15. Fix up text rendering.

    authored
    Text isn't coming up in the right place yet, but at least it IS coming up now!
  16. Esc key quits the game.

    authored
  17. Add a title screen.

    authored
    There's separate draw and update functions for the title screen. Also moved the post-processing into a separate function.
  18. Very minor tweaks.

    authored
Something went wrong with that request. Please try again.