Commit Graph

83 Commits

Author SHA1 Message Date
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
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
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
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
Song Minjae
511bbfdc8f more Kotlin, UIs now can open/close with animation, working world time with skybox colour changing (sunlight transition is still WIP), fixed project library settings so that the suggestion in IntelliJ IDEA would work properly
Former-commit-id: 82c857164f2636ad943d5a43f0690a3431ab0f26
Former-commit-id: 7c8b70e6b267f7c5c050d7d0902278739ec18b44
2016-03-22 15:45:31 +09:00
Song Minjae
9335046057 update on Kotlin lib, master sprite (psd) is now Lab 16 bits/px
Former-commit-id: 0c344b7472e4935c1c55f35a718623cdbe1ec993
Former-commit-id: 63e163245cab2037de3efbfc72c3d307402c2b46
2016-03-18 01:17:24 +09:00
Song Minjae
73a8e51c31 moar kotlin
Former-commit-id: b529f2c7fb04433c3bc5f04f451fec384da1dc75
Former-commit-id: 23ea19279fbf275d69e08ea09ea9f734d50f5722
2016-03-15 13:24:21 +09:00
Song Minjae
3f49a8aebe Joise, Kotlin (it's working at least)
Former-commit-id: d5be0e95ba259d566d6d5d20eb576010a149ae7d
Former-commit-id: 9502c7cd7e738147e31d2e9824e48bea24d00abf
2016-03-14 22:43:28 +09:00
Song Minjae
46a553d258 new doc SAVE_FORMAT, new unihan font WenQuanYi
Former-commit-id: 654fe713ae8165ed37fc85535e9536b01a5fe611
Former-commit-id: 34468f4d34b3dfd4be01c48c7fab34fe04678a6b
2016-03-12 01:38:56 +09:00
Song Minjae
95092ea56c more draft on Actor inventory (save <RefID/ItemID, amount>), successfully implemented 9-set hangul johab font, Hashtable -> HashMap
Former-commit-id: 4f51d33a166ca10ee49c471104ebe97aeee33fe7
Former-commit-id: 0066f44d522f3c9d96ad57b92d17a05dc920bffb
2016-03-11 13:26:42 +09:00
Song Minjae
d76fd97e5a better defined Hangul Johab font, correction on FloatingIslands to utilise new 4096 tiles, multiple type beach (white, black, green), ACHTUNG! ActorWithBody has temporal debugger! (sout), former HSV is now HSVUtil, new HSV for HSV dimension, HSVUtil.toRGB and HSVUtil.fromRGB, more jakanaJP and isIC in polyglot.csv
Former-commit-id: e8cd234d1140d623ba7ab551d3429fc4a453b5c1
Former-commit-id: e11bc93da0d37e385e375fbb0086cf7dbb3a5454
2016-03-10 23:42:53 +09:00
Song Minjae
8b558902e7 more tiles (green sand, sandstones), lightmaprenderer now search for all luminous cator, solid tiles now WILL NOT "hide" walls, EnvColourOverlay will also make screen warm (haven't tested)
Former-commit-id: fc45b4c8992d7bdaf8612ec9b1048eeafe862573
Former-commit-id: 5514775225b569ba2423d97a253b28def9680bc3
2016-03-10 00:34:51 +09:00
Song Minjae
4b1c60cfb8 new wire and gadgets (switcher, cutter, director, bridge), more tweak on sprites, tweak on illuminator light colour
Former-commit-id: 22b5134093b18d7475ca91ca6df16f40b17e748e
Former-commit-id: 7788e32fb535ba5aec444f6355a46ff7c009e6de
2016-03-08 18:10:06 +09:00
Song Minjae
37518a9f23 made tile connectivity clear and explicit, more tiles with graphics, 16-colour pallete has been defined, now you can place arbitrary tile in the game, use ActorValue "selectedtile", fine-tuning and shading on human sprites (see npc_template_cynthia.psd), replacing apostrophe SINGLE_QUOT (') to TYPOGRAPHY_SINGLE_QUOT_CLOSE (’)
Former-commit-id: 7ba22c510956d59af19def7895e329a9d8a3bf1b
Former-commit-id: e8ccd59ff87fe2f6f94b4699c9f4c25a2e7cf9b6
2016-03-07 23:51:45 +09:00