Tag Archives: SpriteKit

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

A Platform game in F# and SpriteKit – Part 4 – Running and Scrolling

So far in this series I’ve covered how to build a largely static screen in SpriteKit. Today I’m going to cover 2 things I’m going to move our dude from left to right under force I’m going to scroll the … Continue reading

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

A Platform game in SpriteKit and F# – Part 3 – A Jumping dude

Today’s post is going to be a short one – I’m going to add a dude who we can make jump. Before I go ahead and do that it’s important to add some physical properties to allow our player to land … Continue reading

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

A Platform game in SpriteKit and F# – Part 2 – Start building a level

Today’s post is going to be fairly short and sweet. I’m going to start filling out the level1 method, by making the 1st step of drawing the basics of a level. At the end of this post there will be … Continue reading

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