Josha von Gizycki
|
62c49be8d4
|
more preinit on viewport
|
6 years ago |
Josha von Gizycki
|
faeccbecde
|
player position
|
6 years ago |
Josha von Gizycki
|
eb924c7a54
|
2-layer map, more tiled-integration on player collision and viewport
|
6 years ago |
Josha von Gizycki
|
85c3ad5e5d
|
map borders
|
6 years ago |
Josha von Gizycki
|
abcaf09b12
|
fix image smoothing
|
6 years ago |
Josha von Gizycki
|
dddbec48c6
|
collision preps
|
6 years ago |
Josha von Gizycki
|
53cb470860
|
nicer zoom
|
6 years ago |
Josha von Gizycki
|
25f6235a76
|
map-def init in tileset namespace
|
6 years ago |
Josha von Gizycki
|
0828251785
|
disable shtupid empty pixel rows
|
6 years ago |
Josha von Gizycki
|
56a69fcc34
|
disable useless smoothing, zoom
|
6 years ago |
Josha von Gizycki
|
635c391e54
|
slightly better tileset code
|
6 years ago |
Josha von Gizycki
|
edcfd29de8
|
shitty tileset code
|
6 years ago |
Josha von Gizycki
|
71f8759bd5
|
code style, sprites calculate speed in cycles per second
shit's working now, i promise
|
6 years ago |
Josha von Gizycki
|
71160351d1
|
fix rubbish last commit
|
6 years ago |
Josha von Gizycki
|
9b61fdc888
|
simplify scenestates, code indentation
the :data key in scenestates sucks. the whole scene map is now the scenestate
|
7 years ago |
Josha von Gizycki
|
1493b0f1a1
|
fix gameloop resuming after 5 seconds, stop updating the scene while paused
|
7 years ago |
Josha von Gizycki
|
3ae3a8299e
|
soft-pausing the gameloop with ctrl-2, continue running the gameloop with ctrl-3
|
7 years ago |
Josha von Gizycki
|
25adfdb6fc
|
small refactorings, indentation style
|
7 years ago |
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 |