Josha von Gizycki
|
0e6aca8071
|
code style
|
5 years ago |
Josha von Gizycki
|
e1163421c5
|
cleanup
|
5 years ago |
Josha von Gizycki
|
6e5bfecf21
|
refactor main loop, made mistakes, fixed weird thing deep down in collisions
|
5 years ago |
Josha von Gizycki
|
32cf4937f8
|
some codestyle
|
5 years ago |
Josha von Gizycki
|
2539099cb8
|
drawing player
|
6 years ago |
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
|
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
|
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
|
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
|
fff66a6e54
|
30fps loop, scene handling, keydowns, almost nothing to see
|
7 years ago |