Commit Graph

97 Commits

Author SHA1 Message Date
Song Minjae
76453c82c2 multiple lightboxes for luminous actors
Former-commit-id: 7ee7d962a9da07d6b1a7936ee19a7458f390bbbc
Former-commit-id: c5c83ec33ecaade54a73bcc211318ecd4a473182
2016-07-05 02:21:15 +09:00
Song Minjae
2e46df67a8 Separated langpack, concept art for inventory UI
Former-commit-id: 7a98df93b4ef50b47283abcd99576d6fbefc9cc5
Former-commit-id: db6e34417ccf84e59ba68547f30459cb4b188eb7
2016-07-04 23:08:16 +09:00
Song Minjae
2ed435165a ActorWithBody: broke CCD again for fundamental error-catching, new tile STONE_BRICKS
Former-commit-id: 3d98f83f3d40f4423b403eae717a06ac6fc22531
Former-commit-id: 13616655a392941e0c91c3384384475ae0adb5db
2016-06-29 01:15:13 +09:00
Song Minjae
659921ae92 update on the korean font
Former-commit-id: 89fd87d821235b5ed3a7dbd289e4ea7ef2efb185
Former-commit-id: 2681c691e7b453ef149a6aec168fada9d5dfa9b3
2016-06-26 01:41:47 +09:00
Song Minjae
91f52eeab5 collision detection and CCD: Not exactly fixed but it works good enough
Former-commit-id: 3feb9b1156fc941390b4efe4c1540ed4c5dbd109
Former-commit-id: 8c97b0ade765731800ef09b722e0742e44443338
2016-06-25 00:23:20 +09:00
Song Minjae
e62f8feda5 added "lightBox" to the interface Luminous; determines which area of the actor is luminous, and modified lightmapRenderer code accordingly
Former-commit-id: d7d9c33977b0fa2fd505cd070cf1cb6da0bdc0db
Former-commit-id: cf7c96f2ff891e07622ac0657811ea9de2cbd7c5
2016-06-20 13:14:41 +09:00
Song Minjae
e926dd84db Merge branch 'master' of https://bitbucket.org/minjae_song/terrarum_renewed
Former-commit-id: e747b44a2507ec1ba9556ecd1d3d0f993af5b8db
Former-commit-id: 62b1c07fc320a10a36b0b2bf711a44832a5d0d56
2016-06-17 13:57:45 +09:00
Song Minjae
1565a17c74 now the sunstone and the daylight capacitor are also managed by TilePropUtil, added field "dlfn" in tileprop.csv
Former-commit-id: 7dfec6896031f89eb1f0de062303485bee8ee5f4
Former-commit-id: 0fae44e4b200248997ab873e415e9d7bce8de2e4
2016-06-17 13:54:06 +09:00
Song Minjae
4cf30b0d84 more proper torch flicker, now the sunstone and the daylight capacitor is also managed by TilePropUtil, added field "dlfn" in tileprop.csv
Former-commit-id: 860c346d7d1350db9771383aa9ddfdeebc0ce30d
Former-commit-id: a199bc5f828237ff197d2333e161aaeafccc3038
2016-06-17 13:52:11 +09:00
Song Minjae
175f6de01b torches' flicker time is now determined by FPS to get same speed from alternating frame rate
Former-commit-id: c88c54f7613f8f3bbc3b89153ca30400b2a124ac
Former-commit-id: 505ebdaf930f257e1a2521a5b07b65843e56a201
2016-06-17 01:49:19 +09:00
Song Minjae
c4ad69525b TilePropCodex is now object, torch flicker (WIP as all the torches are in unison)
Former-commit-id: df9c0e3a9ace2ba976da5e81f1f2d2217db541a0
Former-commit-id: 81a25a938023f318937e1f4ded15e6047fdf8864
2016-06-17 01:39:55 +09:00
Song Minjae
9f42ae9639 thread pooling terraingen, WIP
Former-commit-id: 1d0687d8b34d5e8192b652904a437cdb29f27b10
Former-commit-id: 1c06ce97a59eb13455cc180a4d5f13ffbead1f84
2016-06-13 00:48:37 +09:00
Song Minjae
f98cd773b1 thread pooling actor update, updated kotlin lib
Former-commit-id: 17dc75ada5a6652fa555c3a34214704897ca9afe
Former-commit-id: 75ddbe0187f978958cc5c1208a0cfb85bfdcdfaf
2016-05-25 19:32:48 +09:00
Song Minjae
46a3065423 no idea
Former-commit-id: 9738d12e5a468b71142745fbf0ce02fcf1ca623c
Former-commit-id: a26b80a1990996d9c05b0909128c210e0f897312
2016-05-13 20:17:31 +09:00
Song Minjae
d3e1b17abd new utility tiles: Sunstone and Daylight Capacitor
Former-commit-id: 1cd01c381d395a413baf50d851718205b2bfe1fd
Former-commit-id: 0199c31f7e83ff6396128602985cfa3c13e07e63
2016-05-08 23:32:38 +09:00
Song Minjae
127e6344cf player now walks again, still stick to wall if key is kept down, but gravity is no longer accumulated (because the walking velocity is now separated)
Former-commit-id: f9394abe6230a4e60f2f7a42e81f7e85264a60c5
Former-commit-id: 1cd5b78c5800aef082d5eeec13a0a0a50ccea35b
2016-05-08 01:29:52 +09:00
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
b603b044b9 Vector2 from org.dyn4j
Former-commit-id: c5a3fb48a01ce123eb7ace5fd9b8de776b723a74
Former-commit-id: 89f114e8d80b1645be87b5ece95caa9866764f28
2016-05-01 00:30:23 +09:00
Song Minjae
a9f516cf63 updating a document from the phys engine branch
Former-commit-id: e88835c9150281af59f6fb4f406ab57613fbc854
Former-commit-id: 3cb863aae27f695b8eb1586a6e260eb8325ce006
2016-05-01 00:27:15 +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
fba0b80d24 readme
Former-commit-id: 73e3b1364a1f6b850141f0bd377af25cc4064e6e
Former-commit-id: 0152733c4c43a91ebc8d2cfc6e56970800394ebc
2016-04-27 01:29:17 +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
Song Minjae
2a34efb489 renamed *Factory to *Builder
Former-commit-id: 780f44b223dcd950433202297cde68e1160066ab
Former-commit-id: 23a9b3ef5573ff7469e27e6b2af3759d542549f3
2016-04-12 12:18:16 +09:00
Song Minjae
cee702da32 Lightmap: HDR (0 - 4.0) implementation
Former-commit-id: 1f18bcecf936b68e11e482a65a3bb247d2fb6d94
Former-commit-id: 961a3236c03e353372e8aa107d56540622e9d303
2016-04-11 01:06:09 +09:00
Song Minjae
a1e12e59d7 Conditional overscanning for lightmap, actor/uiContainers are now LinkedList, added methods to retrieve/delete actors
Former-commit-id: 866789452965a62871e87713fa6c450e16f99895
Former-commit-id: b7a9b20d2a648ca0f10d4cf2f0ffdf449c38c1ae
2016-04-10 15:38:58 +09:00
Song Minjae
7ab937d5fc establishing the concept of creature defence AV, some function name changing
Former-commit-id: 309f15be553b2bb0d391f89dab457748b6e3f063
Former-commit-id: 537edfa27245453cd2c37feed8d21861286425e5
2016-04-07 22:51:56 +09:00
Song Minjae
062abfff36 tweak in Kana font, fonts can now produce colours
Former-commit-id: 4f83fbe93e86ffae090986b58802a2fe0c1fd83e
Former-commit-id: 9b0ae019b5dae16236c25597ca31e6aa3b6fb78c
2016-04-07 00:24:27 +09:00
Song Minjae
bad4afe247 new noisegen for ores/gems, need some test, error-proof ActorValue addressing, more comments for ActorWithBody.kt
Former-commit-id: a3441e31f11fa89283babee4c9749680495af923
Former-commit-id: 4092ed362f4f8c28685f82a70ee49e0bee0f0a13
2016-04-04 23:55:00 +09:00
Song Minjae
1573851130 cavegen renewed (WIP)
Former-commit-id: c29114d50d7d86ef903aa2215b5603a01547999a
Former-commit-id: 1099816bc5fd8998cbd538a855c9986bc6b1b983
2016-04-01 14:38:45 +09:00
Song Minjae
aa914377fe Lightmap.get/MapLayer.get are now nullable, better overworld generator with Joise, still needs fix in the dirt layer part.
Former-commit-id: 0a5fa31bab45d093771ca109adbeb9c07fb8e90e
Former-commit-id: d8a2b5b77a36b6c742cf220b2d325895111c8f3a
2016-03-29 13:15:03 +09:00
Song Minjae
2a26c12821 Make package names comply with the naming conventions, new player tester "Cynthia", creature-making factories now use CreatureRawInjector to create their ActorValues.
Former-commit-id: f924467637c8e34ecc9b2ffd00b343253c40aaf7
Former-commit-id: 7779de4420c27e06ee17e8576b643c366d434ef8
2016-03-26 00:16:51 +09:00
Song Minjae
f1686e4cdd more Kotlin (Everything is now Kotlin except for RNGs and FastMath), more sunlight tinkering, a lantern
Former-commit-id: b284424580831956f8383b97ccfc1bdd1e03feeb
Former-commit-id: ec788cf7ef74f91fb54b905817febd22b6da6d54
2016-03-24 23:41:56 +09:00
Song Minjae
e57d7b9224 renew message UI, proper sunlight sim, lightlevel back to 24bit, using CharArray for MSBs and ByteArray for LSBs
Former-commit-id: 1ae49640ac07e8102dd535ef49baa646cb59a947
Former-commit-id: febee94f8e5405733c7361853ba018131316a745
2016-03-23 20:37:42 +09:00