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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Damir
October 17, 2014
Programming
110
0
Share
Teaching Programming through Game Development
Slides for Sarajevo GameDev Meetup
Damir
October 17, 2014
More Decks by Damir
See All by Damir
A Tool Belt of a Seasond Bug Hunter
damir
0
78
TDD Talk Slides
damir
0
73
1 + 1 = OVER 9000!!!
damir
0
96
Rails Stack Overview
damir
1
120
OOP and FP: Bridging the Gap
damir
0
120
Did We Forget the Benefits of RDBMS?
damir
1
97
Ruby on Rails kurs: instalacija
damir
0
160
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
510
Lotus.rb
damir
2
340
Other Decks in Programming
See All in Programming
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
560
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
250
GoogleCloudとterraform完全に理解した
terisuke
1
180
10 Tips of AWS ~Gen AI on AWS~
licux
5
520
tRPCの概要と少しだけパフォーマンス
misoton665
2
250
Making the RBS Parser Faster
soutaro
0
640
Kingdom of the Machine
yui_knk
2
1.3k
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
290
第3木曜LT会 #28
tinykitten
PRO
0
120
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
340
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
130
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.9k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
4 Signs Your Business is Dying
shpigford
187
22k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
230
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
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