Tag Archives: F#

Simplifying State with Async (with XNA/WPF examples)

Now, let me start this post by saying I love XNA/Monogame. XNA was Microsoft’s first (and currently last) attempt to have a first class managed framework for writing games. Luckily the excellent Monogame project has picked up Microsoft’s slack and … Continue reading

Posted in Async, F#, Monogame, XNA | Tagged , , , , | 13 Comments

Book Review: F# for Quantitative Finance

I was recently given the opportunity to review the book F# for Quantitative Finance by Johan Astborg.  Disclaimer: I work in the finance industry, but I don’t do “Quant stuff” for a living. I’m not going to review the correctness of the … Continue reading

Posted in F#, Review | Tagged , | 1 Comment

Desktop class performance on a mobile phone?

I recently bought an iPhone 5S (this is partly why I’ve taken a short detour from the platform game – this will resume in my next post!). Once again Apple have managed to create hype around a new CPU which … Continue reading

Posted in Android, benchmarking, F#, iOS, Mono, performance | Tagged , , , , , | 2 Comments

A Platform game in F# and SpriteKit – Part 7 – DSLs baby!

So far our (1) level is fairly painful code to look at – admittedly SpriteKit and F# take something that could have been horrific and simply make it tedious. Today we change that. DSL According to Wikipedia a DSL is … Continue reading

Posted in F#, iOS | Tagged , , , | 1 Comment

A Platform game in F# and SpriteKit – Part 6 – Death

If there’s one thing we can all be certain of in life, it’s death. And so the same rule must apply to our dude. It’s been good knowing you little guy. F# shines again The last few posts have been … Continue reading

Posted in F#, iOS | Tagged , , , | 1 Comment

A Platform game in F# and SpriteKit – Part 5.5 – Sound Effects

Micro-post: Playing sound effects in SpriteKit: //Load the sound use jumpSound = SKAction.PlaySoundFileNamed(“Jump.wav”, true) //Play the sound scene.RunAction jumpSound Note that the File extension is important here – unlike the graphics formats loaded into SpriteKit. Winning! Next Time So far our level plays for … Continue reading

Posted in F#, iOS, Mono, Uncategorized | Tagged , , , | 1 Comment

A Platform game in F# and SpriteKit – Part 5 – Animation and Sound

Last time we added some scrolling to out game, but our main character looks rather static. Let’s let him move like Jagger (well maybe  Cliff Richard) Animation! SpriteKit is clever. It’s possible to give SpriteKit a bunch of textures and … Continue reading

Posted in F#, iOS | Tagged , , , | 1 Comment