Development

  • XSL bitwise comparisons

    Need to do a bitwise test inside your XSLT – well without native support you can use the following… <xml/><br /> <stuff><br /> Value being checked = <xsl:value-of select="$testvar"><br /> test bit 1:<xsl:value-of select="number($testvar) mod 2)=1"><br /> test bit 2:<xsl:value-of select="floor((number($testvar) div 2) mod 2)=1"><br /> test bit 3:<xsl:value-of select="floor((number($testvar) div 4) mod 2)=1"><br /> [...]
    feat_xslt
  • onEnterFrame Vs. setInterval

    Well just had one of those weekends when you go home, pull out an old machine and test your latest creation, only to find it runs a little slow… Made some simple tweaks to make sure that people who play the game on a slower machine can still play it fairly (i.e. so if time [...]
    feat_flash
  • Snakes move routine V2

    God it's been ages! I've moved house (well flat) from one upstairs masonette to another! Fun when you have four bikes! Glad it's all over now. Just got to tidy it all up. Snakes move routine V2 has been completed. Just ironing out the kinks now. Got a slight issue with eating snakes before their [...]
    feat_hyperviper
  • Snakey world of pain!

    God I'm in a snakey world of pain! Snake now moves forward correctly, and you can eat them from behind. The length is being stored; however there's bugs if you eat the length down to zero. Also – the snakes don't reverse correctly once grown yet. Need to work on the reverse path finding for [...]
    feat_hyperviper
  • Snakes are growing!

    Started on the hellish snake factory logic this morning! It's going to be fun!!! Boo what a dissapointing England Vs USA match! I've got Cufon working with a Pixfont version of the HyperViper font! Switched all my headings too it and used a bit more C64 colours! Replaced the RND routine with a new one [...]
    feat_hyperviper
  • In with the Level Cleaners!

    OK so I've given up watching England play football! Got a snake growing into the maze successfully with a windback mechanism as previously described. Lots still to do though! But it's a bit of a milestone getting the unwinding to work. Also added a level cleaner so when you die, the snakes are removed and [...]
    feat_hyperviper