Building a game in a day
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Building a game in a day

  • 4,828 views
Uploaded on

Presentation to F#unctional Londoners Meetup group on cross platform game development with F# & MonoGame, covering games built in a day at the GameCraft game jams.

Presentation to F#unctional Londoners Meetup group on cross platform game development with F# & MonoGame, covering games built in a day at the GameCraft game jams.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,828
On Slideshare
2,272
From Embeds
2,556
Number of Embeds
17

Actions

Shares
Downloads
7
Comments
0
Likes
1

Embeds 2,556

http://trelford.com 1,586
https://twitter.com 515
http://www.trelford.com 260
http://cloud.feedly.com 82
http://www.feedspot.com 34
http://www.newsblur.com 27
http://digg.com 15
http://alvinashcraft.newsblur.com 9
http://newsblur.com 9
http://feedly.com 4
http://webcache.googleusercontent.com 3
http://fpish1.rssing.com 3
http://trelford68.rssing.com 3
http://www.goread.io 2
http://summary 2
http://translate.googleusercontent.com 1
http://127.0.0.1 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • http://functionaltalks.org/2013/08/26/john-carmack-thoughts-on-haskell/
  • http://www.theguardian.com/technology/appsblog/2013/aug/21/android-games-outselling-sony-nintendo?CMP=twt_gu
  • http://www.monogame.net/
  • See: http://en.wikipedia.org/wiki/Coroutine#Common_usesCode sample:http://fssnip.net/ca
  • http://gamecrafty.herokuapp.com/london-august-2013/the-prismer/

Transcript

  • 1. BUILDING A GAME IN A DAY PhillipTrelford, F#unctional Londoners, 2013
  • 2. DON’T GAMES PROGRAMMERS USE C++? YES  Engines  Graphics  Sound  Physics NO  Scripts  AI  Interaction  Tools
  • 3. DOTHEY REGRET IT? Veteran Games Programmer John Carmack extolling the virtues of functional programming at QuakeCon
  • 4. QUAKE 3 – F# SCRIPT Will Smith @TIHanTime6h @brandewinder @7sharp9 Finally got something going in #FSharp #Quake3. Messing around with the weapon position. :) pic.twitter.com/zAZ439Kdch
  • 5. F# FOR PROFIT Functional-first programming for:  Time to Market  Efficiency  Correctness  Complexity
  • 6. F#TESTIMONIALS order of magnitude increase in productivity, GameSys performance is 10× better than the C++ that it replaces, Aviva Units of measure reduced the chance of errors dramatically, Bing F# is the night vision goggles I need when I go into the dark and attempt to solve previously unsolved problems, Microsoft
  • 7. PORTABLE IS DEAD, LONG LIVE MOBILE  Android games now out-selling games for Sony and Nintendo handhelds  IDC and App Annie's study suggests that iOS and Android combined now generate four times the revenues of dedicated gaming handhelds - Guardian
  • 8. CROSS PLATFORM GAME ENGINES Designer-orientated  Unity (C#, JavaScript, Boo)  PhoneGap (JavaScript) Code-orientated  XNA/MonoGame (C#, F#)  PyGame (Python)  Love (Lua)  DirectX (C++)
  • 9. RETRO GAME (XNA + F#) 2007
  • 10. XBLA: PATH OF GO (XNA + F#)
  • 11. XNA IS DEAD Hacking XNA to run onVS 2012  DownloadVS2010 (Express etc.)  Install XNA  Hack XML config file  Install Xbox Live (Windows 8)
  • 12. LONG LIVE MONOGAME  Develop inVisual Studio (PC) or Xamarin Studio (Mac & PC)  Cross Platform  iOS  Android  Windows  MacOSX  Linux  Playstation Mobile  Ouya
  • 13. GAMES PROGRAMMING 101 Game Routines(Co) React Render
  • 14. COROUTINE ZOMBIES Pseudo Code random_pause 10 while not dead wait_until_in_range 50.0 home_in_on_target 10 F# yield! random_pause 10 while true do yield! wait_range 50 yield! home_in 10
  • 15. FLINT EASTWOOD (F# + SILVERLIGHT) Dublin GameCraft 2012 6 hours
  • 16. THE PRISMER Kenneth Heine Berle Neil Danson Quinton Coetzee Anton Semenov Malcom Knight ThomasTrelford PhillipTrelford
  • 17. TOOLING VS2012 + F# + XNA Paint.Net Gimp MusicMaker Jam Bxfr.Net (Sound effects) DropBox
  • 18. 11 HOURS LATER Making games – fun for all the family 
  • 19. QUESTIONS? Twitter: @ptrelford Blog: http://trelford.com/blog F# Foundation: http://fsharp.org