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
Teaching Programming through Game Development
Search
Damir
October 17, 2014
Programming
0
89
Teaching Programming through Game Development
Slides for Sarajevo GameDev Meetup
Damir
October 17, 2014
Tweet
Share
More Decks by Damir
See All by Damir
A Tool Belt of a Seasond Bug Hunter
damir
0
64
TDD Talk Slides
damir
0
56
1 + 1 = OVER 9000!!!
damir
0
78
Rails Stack Overview
damir
1
100
OOP and FP: Bridging the Gap
damir
0
110
Did We Forget the Benefits of RDBMS?
damir
1
88
Ruby on Rails kurs: instalacija
damir
0
150
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
500
Lotus.rb
damir
2
330
Other Decks in Programming
See All in Programming
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
150
MCPサーバー「モディフィウス」で変更容易性の向上をスケールする / modifius
minodriven
8
1.4k
CSC509 Lecture 11
javiergs
PRO
0
310
チーム開発の “地ならし"
konifar
7
4.2k
AIを駆使して新しい技術を効率的に理解する方法
nogu66
1
610
Register is more than clipboard
satorunooshie
1
470
モビリティSaaSにおけるデータ利活用の発展
nealle
0
150
高単価案件で働くための心構え
nullnull
0
130
SUZURIの規約違反チェックにおけるクリエイタフィードバックの試⾏錯誤/Trial and Error in Creator Feedback for SUZURI's Terms of Service Violation Checks
ae14watanabe
1
150
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
140
オフライン対応!Flutterアプリに全文検索エンジンを実装する @FlutterKaigi2025
itsmedreamwalker
2
190
AI駆動開発カンファレンスAutumn2025 _AI駆動開発にはAI駆動品質保証
autifyhq
0
160
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
What's in a price? How to price your products and services
michaelherold
246
12k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
The Language of Interfaces
destraynor
162
25k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Building an army of robots
kneath
306
46k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
KATA
mclloyd
PRO
32
15k
Scaling GitHub
holman
463
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Transcript
Učenje programiranja kroz razvoj igara Damir Zekić @sidonath
None
Koji programski jezik učiti prvi?
That's not the right question!
Koji programski jezik učiti prvi? Kako programiranje učiniti zabavnim?
Pravljenje igara
Igra treba biti… … poznata … dovoljno jednostavna za napraviti
… prepoznatljiva i u reduciranoj formi → zabavnije je praviti nešto što znamo → ne želimo komplikovati → kako ne bismo morali riješiti svaki detalj
None
Za napraviti… Animacija ptice Kretanje cijevi Korištenje spriteova ! Collision
detection Brojanje poena High-scores
Ruby https://github.com/mribica/ruby-flappy-bird
None
Shoes.app :width => 300 do background "assets/bg.png" @gravity = 0
@bird_x = 0.5 @bird_y = 0 ! @bird = image "assets/bird.png" @bird.move @bird_x, @bird_y ! @pipe_x = 0.9 @pipe_y = 0.7 @pipe = image "assets/pipe.png" @pipe.move @pipe_x, @pipe_y ! @animate = animate(20) do @gravity = @gravity + 0.002 @bird_y = @bird_y + @gravity @bird.move @bird_x, @bird_y ! @pipe_x = @pipe_x - 0.02 if @pipe_x < -0.2 @pipe_x = 0.9 end @pipe.move @pipe_x, @pipe_y ! if (@bird_y > 1) || (@pipe_x < 0.6 && @pipe_x > 0.3 && @bird_y > @pipe_y) title "Game over!" @animate.stop end end ! keypress do |key| @gravity = -0.02 end end
None
Academy387 — Uvod u programiranje za mlade (Muamer Ribica) Noć
istraživača 2014 — Pravimo igru za 3 sata (Muamer Ribica & Damir Zekić)
None
None
Processing https://github.com/sidonath/processing-flappy-bird-clone
None
Academy387 — Programiranje za neprogramere (Damir Zekić)
Pitanja? Iskustva? Damir Zekić @sidonath