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 |