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
79
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
59
TDD Talk Slides
damir
0
48
1 + 1 = OVER 9000!!!
damir
0
67
Rails Stack Overview
damir
1
91
OOP and FP: Bridging the Gap
damir
0
110
Did We Forget the Benefits of RDBMS?
damir
1
82
Ruby on Rails kurs: instalacija
damir
0
140
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
480
Lotus.rb
damir
2
320
Other Decks in Programming
See All in Programming
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
120
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
41
15k
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.3k
Unity Android XR入門
sakutama_11
0
140
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
210
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
670
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.7k
テストをしないQAエンジニアは何をしているか?
nealle
0
130
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
110
Linux && Docker 研修/Linux && Docker training
forrep
23
4.5k
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
180
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
770
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
How STYLIGHT went responsive
nonsquared
98
5.3k
GitHub's CSS Performance
jonrohan
1030
460k
Faster Mobile Websites
deanohume
306
31k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Music & Morning Musume
bryan
46
6.3k
A Tale of Four Properties
chriscoyier
158
23k
Building Your Own Lightsaber
phodgson
104
6.2k
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