Commit Graph

1870 Commits

Author SHA1 Message Date
Song Minjae
12876a5ce2 corrected lighting bug where illuminant in front of the sun can take over the light level of the sun for a tile the illuminant occupies, ActorWithBody phys WIP
Former-commit-id: a1ce45eded6136464d0a2c02227c61ee8f2adcb2
Former-commit-id: e4af5a44eb79b4db85458c9233e43a6117797331
2016-05-05 17:11:01 +09:00
Song Minjae
1350ee0baf actor now moves like before, but still has a bug where keep 'pushing' the wall while suspended, gravity only accumulates (veloY increases) and not exert any force (hitbox does not move where it should).
Former-commit-id: 8844902b3395acf645b769d299f9459b27810675
Former-commit-id: 55a72ed87a1c56e4a8367bd3a0bc301b12edae2a
2016-05-03 14:05:27 +09:00
Song Minjae
6171b44170 CCD implementation for hitting ground
Former-commit-id: 786f0b4551b32be44767eac627dc247df3773968
Former-commit-id: 6ff2be7b31c91a581125c5682055776047660195
2016-05-02 00:42:04 +09:00
Song Minjae
f3050736be ball, raw injector float -> double
Former-commit-id: 19e44a1a5400bcf423a9cbb0c076eda48a1313d8
Former-commit-id: 73b3c09b0949f7b463de45b7f436b986445554f6
2016-05-01 20:05:39 +09:00
Song Minjae
05b374bfa7 no multithreading for actor update
Former-commit-id: aa575fabff183802cd326b24d5788bd44adbad95
Former-commit-id: a0d2b650aa5d3f19717049b17284eb76c694b24b
2016-05-01 11:35:00 +09:00
Song Minjae
64f9799c67 removed localised and unsynced 'scale' and 'mass' for ActorWithBody, they are now synced with actorvalue
Former-commit-id: d655b499c333011b8e46235fe3312617f673a6ad
Former-commit-id: 6cc9e6aabd69f7ba3e46e6dcba404c41c6130652
2016-05-01 01:05:37 +09:00
Song Minjae
c9f5fde3be Physics stuff Float -> Double
Former-commit-id: 54ccee75769691aa6aaa2416767bd15270f63347
Former-commit-id: 61e892434f48adf11e3ca49b60928a930fd5cde9
2016-05-01 00:23:36 +09:00
Song Minjae
7efc693c4a proof-of-concept collision solver, document for penetration compensation in collision solver and ActorWithBody (collide with world), updated README
Former-commit-id: 985edaea09aff8d972ece24e08bd31c378c60f2b
Former-commit-id: 5c8fbd014c2c2edae21cf89f45a96aedc8d8bad9
2016-04-27 01:25:25 +09:00
Song Minjae
7d804f24e7 physics objects (ActorWithBody) will now sleep if ||v|| < 0.5, faction ID is now positive integer (64-bit) only
Former-commit-id: 437cff82cf5748c36c5ad72bc43b4fc172b168c8
Former-commit-id: 3ab0500f83da229ec77b85c09ec42fd332ef62ce
2016-04-26 14:36:21 +09:00
Song Minjae
6ae31f1858 newton's law-compliant physics simulator for ActorWithBody, which would make implementing fluid resistance simulation easier job. Player's stop will now be processed by this phys simulator.
Former-commit-id: d9767dc54f8eaea7bbb4886fdad5ef38bab4c933
Former-commit-id: 74b7ea76c5d04272474b68760ad3958e715fe551
2016-04-26 01:15:53 +09:00
Song Minjae
519ecec774 new console command 'error' (stderr equivalent of console window)
Former-commit-id: ab54663fd64f9ae9c758f53b3f5800a5894f0db3
Former-commit-id: 7aba1585ffa45195622bb25e1c62cace474420c9
2016-04-25 12:49:56 +09:00
Song Minjae
1dc3e6df3e fixing the critical bug in active/dormant thingies, actor ID is now positive integer (I had to), class Actor is now shipped with ID generator, optimisation in add/removeActor
Former-commit-id: f743ecb27ba1cea05215889d7e1a77e10171cb8c
Former-commit-id: 4b88f9711c34542a8a504682cffe79a2f8a43ed8
2016-04-25 01:58:17 +09:00
Song Minjae
c4b64140be actors are now active/dormant depending on the distance to the player, only the active actors are to be updated. Actors outside of the camera (actually a distance to the player) are not rendered
Former-commit-id: 5f80c2ef3592aab5567723087c264e05458e98b3
Former-commit-id: 7714c6f5a6d7a48d4f5adfe8f6990b249bdb80b0
2016-04-24 16:37:08 +09:00
Song Minjae
1a1159b643 WIP collision solver, colour-codes in game fonts
Former-commit-id: 0bb85999176d89956398bbcc24e1b33cacd3e87c
Former-commit-id: 0ef0c1ac9b88f8fe42a7439fee69a8d4792be96a
2016-04-23 23:08:42 +09:00
Song Minjae
cffc9a9ba2 little changes to the help text
Former-commit-id: ba69c2195ceaceefa04292ad609abf833a7508a3
Former-commit-id: 24afe5923c454f31cd1ef06ab6351ef4e05677f2
2016-04-17 01:21:36 +09:00
Song Minjae
7c6d232ba6 Actor reference ID on debug window, RefID is now Int, added Japanese on help page
Former-commit-id: 3519b8746d611c4badd65f01644ba05e41d10d04
Former-commit-id: 45bb407c2d932e5d70aab9c9eb4f3ef55ce68d27
2016-04-16 01:03:19 +09:00
Song Minjae
f0d2415906 new small number font, fix on histogram drawing and torch drawing (now less likely to stick on wall)
Former-commit-id: 04d20ca0bf3c48152234073eb6875512450b942f
Former-commit-id: bde21ffce1581885cc449143c2f72932837f3c57
2016-04-15 19:38:04 +09:00
Song Minjae
a903c629ec compressed fonts, lightmap histogram
Former-commit-id: 2fd36e0b2b7cd45ecdab628e0d2679efd17f01f3
Former-commit-id: 5c4109d7a2ce320584674c5415054a381ba4d6ec
2016-04-15 16:34:57 +09:00
Song Minjae
d39715cbff Localised lightmap (reducing memory usage by 64 MB!), smoother and realistic light dimming (looks even more beautiful)
Former-commit-id: c312c73701bb3d2add4d5a5fe4f476ee6ee8be25
Former-commit-id: bc40f0e42025d1a368a22d08447c8ecc956248bb
2016-04-13 02:25:45 +09:00
Song Minjae
ac9f5b5138 com.torvald → net.torvald
Former-commit-id: 375604da8a20a6ba7cd0a8d05a44add02b2d04f4
Former-commit-id: 287287c5920b07618174d7a7573f049d350ded66
2016-04-12 12:29:02 +09:00