Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
RubyConf Indonesia 2017
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
rishi jain
October 06, 2017
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RubyConf Indonesia 2017
rishi jain
October 06, 2017
More Decks by rishi jain
See All by rishi jain
The Achilles heel of a Rails developer: Upgrading Rails app.
rishijain
0
120
Why women should not miss the IT ride
rishijain
0
68
Build, Debug & Prosper
rishijain
0
160
Game Development - The Ruby Way..!!
rishijain
0
940
Other Decks in Programming
See All in Programming
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.2k
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.1k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
210
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Domain-Driven Transformation
hschwentner
2
2.3k
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.4k
A better future with KSS
kneath
240
18k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Making Projects Easy
brettharned
120
6.8k
Mobile First: as difficult as doing things right
swwweet
225
10k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Building the Perfect Custom Keyboard
takai
2
910
エンジニアに許された特別な時間の終わり
watany
109
250k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Transcript
Rishi Jain @jainrishi15 Game Development ❤
History of gaming
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
http://www.todayifoundout.com/wp-content/uploads/2011/12/Pong-arcade-game.jpg
http://playsterr.com/wp-content/uploads/2016/01/breakout-voyager_img1.png
My history of gaming
None
https://i.ytimg.com/vi/k7vcUei5u2E/maxresdefault.jpg
None
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
https://media.contentapi.ea.com/content/www-easports/en_US/fifa/news/ 2016/fifa-17-release-date/_jcr_content/headerImages/image.img.jpg
Let’s code a game in ..?
None
RUBY ❤
None
Really ruby ?
Ruby is slow.. right? https://dab1nmslvvntp.cloudfront.net/wp-content/ uploads/2015/04/1428359764rubygemsslow.png
Graphics & Ruby ..? http://i0.kym-cdn.com/photos/images/original/ 000/468/503/1d4.png
GOSU
Gosu - 2d game library - support for ruby -
Open source - OS X, Linux, Windows
Gosu Showcase
CptnRuby
Dave
Dragon Eggs
Speed fest
Lets build a game ..!!
Requirements - Game theory - Mathematics * - Gosu api
https://static1.squarespace.com/static/550334cbe4b0e08b6885e88f/55a3f2b1e4b0d44eb7d704bc/55a3f2b2e4b0d44eb7d7086c/1352396072863/1000w/ books_bundle.jpeg Game Theory
Game Loop INITIALISE DRAW UPDATE
Mathematics
http://i0.kym-cdn.com/photos/images/original/001/019/285/3a7.jpg
https://i.imgflip.com/dr98v.jpg
https://pics.me.me/mathematics-rule-1-if-it-seems-easy-then-you-are-25045757.png
Gosu api
Initialise game
Draw image
DragonEggs - Game window - Eggs - Baskets - Collision
- Assets
10.times do |n| Egg.new(400*n + 400, 100) end
Egg: 400, 100 Egg: 800, 100 Egg: 1200, 100 Egg:
1600, 100 and so on … X Y
x: 0 x: 800 y: 0 y:800 (400, 100) 800,
100
Collision
Process
1. Game Idea
2. Visualisation Egg Basket
3. Building the assets
4. Coding
5. Releasing * releasy * ocra * gem
Resources 1. http://github.com/rishijain/dragoneggs 2. https://github.com/gosu/gosu 3. https://www.libgosu.org/ruby.html
Thank You @jainrishi15
Questions ?