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
87
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
60
TDD Talk Slides
damir
0
53
1 + 1 = OVER 9000!!!
damir
0
74
Rails Stack Overview
damir
1
98
OOP and FP: Bridging the Gap
damir
0
110
Did We Forget the Benefits of RDBMS?
damir
1
85
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
490
Lotus.rb
damir
2
330
Other Decks in Programming
See All in Programming
Improving my own Ruby thereafter
sisshiki1969
1
160
Cache Me If You Can
ryunen344
2
3k
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
Namespace and Its Future
tagomoris
6
700
Rancher と Terraform
fufuhu
2
550
Deep Dive into Kotlin Flow
jmatsu
1
360
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
610
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
460
Laravel Boost 超入門
fire_arlo
3
220
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
480
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
160
Featured
See All Featured
Music & Morning Musume
bryan
46
6.8k
Gamification - CAS2011
davidbonilla
81
5.4k
Faster Mobile Websites
deanohume
309
31k
Context Engineering - Making Every Token Count
addyosmani
3
55
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
GitHub's CSS Performance
jonrohan
1032
460k
A Modern Web Designer's Workflow
chriscoyier
696
190k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
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