Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
RubyConf Indonesia 2017
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
rishi jain
October 06, 2017
Programming
130
0
Share
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
85
Why women should not miss the IT ride
rishijain
0
59
Build, Debug & Prosper
rishijain
0
150
Game Development - The Ruby Way..!!
rishijain
0
910
Other Decks in Programming
See All in Programming
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.5k
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
260
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
330
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
840
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
230
感情を設計する
ichimichi
5
1.4k
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
250
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
310
存在論的プログラミング: 時間と存在を記述する
koriym
5
860
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
170
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
230
Making Projects Easy
brettharned
120
6.6k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
200
Building the Perfect Custom Keyboard
takai
2
730
From π to Pie charts
rasagy
0
160
How to Talk to Developers About Accessibility
jct
2
170
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
110
Building AI with AI
inesmontani
PRO
1
890
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 ?