4. Few
words
about
new
Berliner…
• New
in
Berlin,
live
in
CharloXenburg
since
27th
August
• I
fell
in
love
to
Berlin
at
first
sight
• Berlin
is
awesome
5. Few
words
about
my
world…
• JAVA,
C++
• IP
Networks
• I
see
no
problems,
only
challenges
• Programming
languages
and
frameworks
are
just
only
tools
in
my
hand,
• I
feel
no
hip
toward
anything…except
SAAB’s…
23. What
exactly
is
RTS
Game?
• Real-‐Bme
strategy
(RTS)
is
a
sub-‐genre
of
strategy
video
game
which
does
not
progress
incrementally
in
turns.
• In
an
RTS,
as
in
other
wargames,
the
parBcipants
posiBon
and
maneuver
units
and
structures
under
their
control
to
secure
areas
of
the
map
and/or
destroy
their
opponents'
assets.
24. More
backend
than
frontend
• Algorithm
for
sight
detecBon
• Pathfinding
algorithm
and
colision
detecBon
• Algorithm
for
shooBng
(ArBllery
problem)
• Algorithm
for
game
states,
win/lose
condiBons
• Algorithm
for
unit
construcBon
• Algorithm
for
unit
auto-‐acBons
and
formaBons
• Algorithm
for
AI
• Dynamic
enviroment
25. My
Way…
• Do
It
from
scratch
• Make
it
efficient
• Simple
UI
• Simple
graphics
• Focus
player
on
tacBcs
rather
than
„click-‐fest”
26. …my
desBnaBon
• Game
for
every
plakorm
• Game
designed
for
Social
Networks
• Different
difficulty
levels
• BaXles
must
be
HUGE!
27. AdapBve
Tile
Refresh
• John
Carmack’s
invenBon
• In
order
to
implement
a
similar
technique,
we
need
to
get
rid
of
the
setTimeout()
in
the
draw()
loop
and
add
four
parameters
to
the
draw()
funcBon:
srcX,
srcY,
destX,
and
destY.
Calling
the
draw()
funcBon
without
passing
any
parameters
should
redraw
the
enBre
canvas;
passing
the
srcX/Y
and
destX/Y
parameters
should
redraw
only
the
area
within
that
boundary.
33. Sources:
• Making
Isometric
Social
Real-‐Time
Games
with
HTML5,
CSS3,
and
Javascript,
Mario
Andrés
Pagella
• Wikipedia
• hXp://gamedev.tutsplus.com/tutorials/
implementaBon/creaBng-‐isometric-‐worlds-‐a-‐
primer-‐for-‐game-‐developers/
• Google
Images