Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RubyConf Indonesia 2017

RubyConf Indonesia 2017

6e6a476be4033a81ead8e6c2e496e8f5?s=128

rishi jain

October 06, 2017
Tweet

Transcript

  1. Rishi Jain @jainrishi15 Game Development ❤

  2. History of gaming

  3. https://store-images.microsoft.com/image/apps.13559.9007199266501842.77773a7e-4736-4d1c-b540-04b3470884b7.df4261ee-dd77-4243-bcdb-41080f3d5deb?w=472&h=787&q=60

  4. http://www.todayifoundout.com/wp-content/uploads/2011/12/Pong-arcade-game.jpg

  5. http://playsterr.com/wp-content/uploads/2016/01/breakout-voyager_img1.png

  6. My history of gaming

  7. None
  8. https://i.ytimg.com/vi/k7vcUei5u2E/maxresdefault.jpg

  9. None
  10. https://cdn.vox-cdn.com/thumbor/mQVeHmMDCRQdZXPIwdGgAaYhKQU=/ 0x0:2000x1500/1200x800/filters:focal(840x590:1160x910):no_upscale()/cdn.vox-cdn.com/ uploads/chorus_image/image/56594937/super-mario-bros.0.0.gif

  11. https://media.contentapi.ea.com/content/www-easports/en_US/fifa/news/ 2016/fifa-17-release-date/_jcr_content/headerImages/image.img.jpg

  12. Let’s code a game in ..?

  13. None
  14. RUBY ❤

  15. None
  16. Really ruby ?

  17. Ruby is slow.. right? https://dab1nmslvvntp.cloudfront.net/wp-content/ uploads/2015/04/1428359764rubygemsslow.png

  18. Graphics & Ruby ..? http://i0.kym-cdn.com/photos/images/original/ 000/468/503/1d4.png

  19. GOSU

  20. Gosu - 2d game library - support for ruby -

    Open source - OS X, Linux, Windows
  21. Gosu Showcase

  22. CptnRuby

  23. Dave

  24. Dragon Eggs

  25. Speed fest

  26. Lets build a game ..!!

  27. Requirements - Game theory - Mathematics * - Gosu api

  28. https://static1.squarespace.com/static/550334cbe4b0e08b6885e88f/55a3f2b1e4b0d44eb7d704bc/55a3f2b2e4b0d44eb7d7086c/1352396072863/1000w/ books_bundle.jpeg Game Theory

  29. Game Loop INITIALISE DRAW UPDATE

  30. Mathematics

  31. http://i0.kym-cdn.com/photos/images/original/001/019/285/3a7.jpg

  32. https://i.imgflip.com/dr98v.jpg

  33. https://pics.me.me/mathematics-rule-1-if-it-seems-easy-then-you-are-25045757.png

  34. Gosu api

  35. Initialise game

  36. Draw image

  37. DragonEggs - Game window - Eggs - Baskets - Collision

    - Assets
  38. 10.times do |n| Egg.new(400*n + 400, 100) end

  39. Egg: 400, 100 Egg: 800, 100 Egg: 1200, 100 Egg:

    1600, 100 and so on … X Y
  40. x: 0 x: 800 y: 0 y:800 (400, 100) 800,

    100
  41. Collision

  42. Process

  43. 1. Game Idea

  44. 2. Visualisation Egg Basket

  45. 3. Building the assets

  46. 4. Coding

  47. 5. Releasing * releasy * ocra * gem

  48. Resources 1. http://github.com/rishijain/dragoneggs 2. https://github.com/gosu/gosu 3. https://www.libgosu.org/ruby.html

  49. Thank You @jainrishi15

  50. Questions ?