Josha von Gizycki
|
9be3f6b848
|
put inputs into gamestate, api changes, sprite cycle resets when no input is given, simplifications
|
7 years ago |
Josha von Gizycki
|
43da44c0ab
|
Merge branch 'master' of https://github.com/joshavg/topdown2d
|
7 years ago |
Josha von Gizycki
|
6f7050e887
|
code cleanup
|
7 years ago |
Josha von Gizycki
|
09a6272ea0
|
remove trailing whitespace
|
7 years ago |
Josha von Gizycki
|
4988bf7d75
|
"real" target-fps calculation
|
7 years ago |
Josha von Gizycki
|
0c87dad736
|
moveable viewport - 'n stuff'
|
7 years ago |
Josha von Gizycki
|
9db2244933
|
Merge branch 'master' of https://github.com/joshavg/topdown2d
|
7 years ago |
Josha von Gizycki
|
28f4a9e072
|
add sample maps
|
7 years ago |
Josha von Gizycki
|
e4d5e7c9b7
|
player keeps direction and stops walking
|
7 years ago |
Josha von Gizycki
|
6c5cc517a1
|
sprites'n stuff
|
7 years ago |
Josha von Gizycki
|
d7a1a692d9
|
some documentary comments
|
7 years ago |
Josha von Gizycki
|
edc370b415
|
remove useless tests
|
7 years ago |
Josha von Gizycki
|
1c80990156
|
rename objects to not collide with core functions, use case instead of cond
|
7 years ago |
Josha von Gizycki
|
160aa92b8b
|
things can bump into things
|
7 years ago |
Josha von Gizycki
|
c370d37157
|
new fps calculation, objects move with pixels per second speed
|
7 years ago |
Josha von Gizycki
|
7eb713ed39
|
make move code more clear and differentiate keep-in logic
|
7 years ago |
Josha von Gizycki
|
fe586f841a
|
restructuring, keeping objects inside bounding box
|
7 years ago |
Josha von Gizycki
|
91b35cba12
|
moving objects, fixes
|
7 years ago |
Josha von Gizycki
|
b2baae0b9b
|
remove main.js
|
7 years ago |
Josha von Gizycki
|
fff66a6e54
|
30fps loop, scene handling, keydowns, almost nothing to see
|
7 years ago |
Josha von Gizycki
|
f0e66456b1
|
Initial commit
|
7 years ago |