Friday, June 28, 2013

om-shell

Copperbox revision 2984.

I've updated OM-Shell to work with the changes to orca (the changes are actually minor).

Sunday, June 23, 2013

orca

Copperbox revision 2983.

I've changed the syntax and internals of the builder monads to separate declarations from statements. The intention behind this is that declarations can potentially be floated to the top during composition of instrument skeletons.


Sunday, June 16, 2013

flea circus

Copperbox revision 2982.

More work on flea motion / control.

In a nutshell the current code is too inefficient. I've spent most of today's coding time looking at why key presses weren't being picked up, but after running it on my (more powerful) laptop I realized the game was dropping keys because it was doing too much processing to fit in the frame rate. Maybe I'll need a faster machine for development, but there are certainly big improvements that could be made to the code first.

Sunday, June 9, 2013

flea circus

Copperbox revision 2981.

Work on the mechanics of flea movement.

Ideally, I want the flea to run with a decaying initial burst of velocity when you press left or right arrow key (if you keep left or right held down the flea keeps running at constant speed). Flea jumping should then 'inherit' the current direction and velocity with no changing direction mid-jump.

I think I have coded this, unfortunately it doesn't work well - using a keyboard doesn't yield a jump key press if you are running left or right (holding down the left or right arrow keys). If you release the left or right arrow key, the deceleration is so quick that the flea is near stationary when a jump key press is registered. This suggests I'm going to need to get a gamepad, though it seems a pity that I can't prototype with the keyboard.


Sunday, June 2, 2013

flea circus

Copperbox revision 2980.

More work on flea circus:






The first "puzzle" is building a stack of fleas by jumping onto the top of them from platforms (think acrobats making human towers). I've got some of the interaction working - the picture above is a screenshot not a mock up though a few cheats were involved.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.