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
rishi jain
October 06, 2017
Programming
0
130
RubyConf Indonesia 2017
rishi jain
October 06, 2017
Tweet
Share
More Decks by rishi jain
See All by rishi jain
The Achilles heel of a Rails developer: Upgrading Rails app.
rishijain
0
83
Why women should not miss the IT ride
rishijain
0
58
Build, Debug & Prosper
rishijain
0
150
Game Development - The Ruby Way..!!
rishijain
0
880
Other Decks in Programming
See All in Programming
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
550
Module Harmony
petamoriken
2
370
詳細の決定を遅らせつつ実装を早くする
shimabox
1
1.2k
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
610
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
0
130
競馬で学ぶ機械学習の基本と実践 / Machine Learning with Horse Racing
shoheimitani
13
12k
CSC509 Lecture 13
javiergs
PRO
0
250
All(?) About Point Sets
hole
0
150
Atomics APIを知る / Understanding Atomics API
ssssota
1
150
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
3
570
最新のDirectX12で使えるレイトレ周りの機能追加について
projectasura
0
250
Designing Repeatable Edits: The Architecture of . in Vim
satorunooshie
0
390
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Speed Design
sergeychernyshev
32
1.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.1k
Bash Introduction
62gerente
615
210k
Gamification - CAS2011
davidbonilla
81
5.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Balancing Empowerment & Direction
lara
5
750
Code Review Best Practice
trishagee
72
19k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
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 ?