Featured Stories
  • My first attempt at a HaxeFlixel/NME game came to me just as I was going to sleep the other night. I think I’d been playing a bit of Super Hexagon...

    Avoiding Game

    My first attempt at a HaxeFlixel/NME game came to me just as I was going to sleep the other night. I think I’d been playing a bit of Super Hexagon…

  • I found a new programming language called HaXe and a game development environment called NME. They’ve stopped me wasting time when trying out game ideas!

    Using cross platform tools to avoid time wasting

    I found a new programming language called HaXe and a game development environment called NME. They’ve stopped me wasting time when trying out game ideas!

  • On my mini quest to create “fun” games I try mixing bits of Robotron with Asteroids and come up with something that’s amusing for a short prototype.

    Roboids 2013

    On my mini quest to create “fun” games I try mixing bits of Robotron with Asteroids and come up with something that’s amusing for a short prototype.

Others
  • RSS Wiki Content
    • programming:algo:easing
      An easing function is usually a function that describes the value of a property given a percentage of completeness. Our easing functions will take several arguments: […]
    • linux:admin:main - created
      find . -type f -name '*.cpp' -exec mv {} /tmp/foo \; […]
    • programming:algo:maths - created
      Find opposite angle in radians This finds the angle 180 degrees but in radians // Finds the angle that is 180 degrees from the given angle, but in radians fmodf((angle + M_PI), (M_PI * 2)) Linear Interpolation #include #include #define M_PI 3.141 #define PI180 (M_PI/180) #define DEG2RAD(x) (x * PI180) float getShortAngle(float a1, float a2) { float angle = f […]
    • programming:algo:main
      * Easing/Tweening * Calculate 2D normal vector * Generate polygons * Timing * Maths […]
    • programming:algo:timing - [Counting time]
      In games things sometimes need to happen regularly but at set times. These times are often specified in seconds - “Player is invulnerable for 10 seconds”. If we assume the game ticks along at a specific frame rate, that can be used to time things. For example if we count the number of frames that have passed and we know the game runs at 60 fps then each fram […]