Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Song Minjae
24ec0a08a8 successfully implemented fluidal movement resistance, batch command processing
Former-commit-id: 64282c01aac622cce25cf7c9a79f53059d8f6547
Former-commit-id: d96a602887400c91bfee7660c29f12118858e6f3
2016-03-07 13:44:48 +09:00
Song Minjae
4462fc89a6 Support for tile damage, increasing available tiles to 4096, has issue on MapCamera where 'nearbyTilesInfo' does not work properly
Former-commit-id: 84b4c7d70604743c3981078c5f53e615be714b0b
Former-commit-id: d8e79628cae968e7636a19e5e36be23a4bf8edd2
2016-03-06 14:46:29 +09:00
Song Minjae
5f6206541e New tileprop: opaque — whether the wall is completely hidden by the tile
Former-commit-id: f1680dd3fbe289ded64bea8c717996216113bca2
Former-commit-id: 98856da3d4b83ed9332cf50790967cdefbf8e622
2016-03-02 23:46:22 +09:00
Song Minjae
b759f0e5e1 Collision detector fixing on going, hangul combining (johab) font
Former-commit-id: d225fb399ea7ca6c80da1fa35db3c13a1505f1cc
Former-commit-id: e218312c567bb7b2ea30961076e8bd24a8f2c131
2016-03-02 14:30:44 +09:00
Song Minjae
630f0c6118 Temporal fix to collision detector — Full quantisation of float-point hitboxes. "Jump to teleport to ceiling" was my shit
Former-commit-id: a3421b000b9ecf71ca5f03f79f11658cf57a17db
Former-commit-id: e4e540ed339161d3c89228077f217fcb57d01c06
2016-03-02 01:20:22 +09:00
Song Minjae
9eb5b00a95 fixed "jump to teleport to ceiling" and added some warning on the code comment
Former-commit-id: 985626c4d0b8d3a48182a2266835debb2abe8074
Former-commit-id: 8970c37017e4ae50ee1adb3973e65fcb0c1f0e45
2016-03-01 01:08:25 +09:00
Song Minjae
ef44aae418 Redone collision detection. FIXME: Jump to teleport to ceiling (erratic behaviour on negative facing), nameset in CSV, documentation for RAWs, unicode punctuations in font, environmental colour overlaying (mux) in MapDrawer, actor luminosity is now actorvalue, camera now will center to center of the player, test tile remove and place,
Former-commit-id: 890f8a703f9f9f5a6b6a7c26b2f5d9928d63cf40
Former-commit-id: 9b9d5afd32871cc791d525ff2aafe693205d8c54
2016-02-29 23:44:39 +09:00
Song Minjae
f78f8e2306 linear-time jump power mode, resulting better control that allows (bit) more instinctive jump, added jump time doc, fullwidth punctuation for the chinese language
Former-commit-id: e45c825db3642f1134c37c2e568917239b00c125
Former-commit-id: 3a9a5454f6b7c9cd67659fe56cf6593d94d8963c
2016-02-26 02:32:31 +09:00
Song Minjae
c56e09505b Bug fix in LightmapRenderer — Now water attenuates sunlight, new creature attribution: religion sphere
Former-commit-id: fd200afabaf318bec060a8fea9eb82da6f105aad
Former-commit-id: e035368f4d6d589bdb6822301fee763eb00df984
2016-02-25 01:28:00 +09:00
Song Minjae
19630e2147 faster jump response, more documentation (ABOUT, MECHANICS)
Former-commit-id: 1392de885f6cbcd48102a20d707f3a9e5a4df9ca
Former-commit-id: e7908894aef53fde4b1cf391e48ac9b7fd3f0a13
2016-02-24 12:44:32 +09:00
Song Minjae
0b6d8ff44d New idea: Rogulike randomiser for potion, etc., variable jump height controlled by key pressing time
Former-commit-id: 2408607006af5f29d8ecbd3ced655f2908c97afb
Former-commit-id: 33f03178aa8af54f76ce3b1324b2134173a540ff
2016-02-24 02:58:25 +09:00
Song Minjae
34a04943ab Improvement to light blending (can mix sunlight to transparent and luminous tile), failed attempt to perturb terrain, need better algorithm
Former-commit-id: a8b456401859802fe5d19b7d12a41033f2ed3e44
Former-commit-id: 4f4a976e6f295f45519744216704c864afb6d621
2016-02-23 13:42:44 +09:00
Song Minjae
60fdff7528 proper colour blending of light, opacity is now "how much RGB value the tile absorbs", added partial support of Japanese Kana and Icelandic in polyglot.csv
Former-commit-id: 9f9b510c8155f2d93fd428bd90692c2298105aa8
Former-commit-id: fc3f15d5b0127c212a12e5126a4954420aa076ad
2016-02-22 01:37:17 +09:00
Song Minjae
90c4154fb8 Locales using CSV, added language sheet from Polyglot Project
Former-commit-id: 6cbb8643ca82e26db3a2ea90db9bee132c22c2ce
Former-commit-id: cd6489fab6b988af8939fab167b69119d77eff8f
2016-02-21 14:28:06 +09:00
Song Minjae
e3c382e1fb 40-step coloured lighting instead of previous 256 steps, reducing memory usage by half (size of array of 'int' > size of array of 'char'), kerning in bitmap fonts (interchar, spacing of unihan/hangul/kana), new jp/kr unihan font from chinese font as jp/kr language has slightly different glyph for certain han character
Former-commit-id: 5d88e02857e6d33d87421fb5a2a39b423c540e0f
Former-commit-id: e4ea5a98bf738db1478fa91dbd4a43231c2354af
2016-02-21 01:26:56 +09:00
Song Minjae
b4c2108dc3 new library commons-codec, authenticator for cheats, cyrillic support, unicode han logographic support, test for Actor that is 'Luminous', ascii punctuation kerning for Hangul
Former-commit-id: 1d083344abc3d6f08dfb252021c68f2a6cc7e068
Former-commit-id: 3b6dd15580a698bfe36b1dae24d6b2daeaf369c7
2016-02-20 02:22:16 +09:00
Song Minjae
0ce19ea6bd Continuous cave for spelunkers using ridged noise
Former-commit-id: 65254151c3e8138b9259bb74c9543774b15501a0
Former-commit-id: 0b384bf49a8806cdb92dde7c41fd720915c08daf
2016-02-19 00:52:55 +09:00
Song Minjae
71e8e153e7 Faction Raw reader, new locale 'jp_kana' and 'jp', adjusting kana font
Former-commit-id: 3e401ba531be1d3baed7bd280db4ad5619ce252b
Former-commit-id: 530d4f8bc7cbc39068485c4fecb81693e569534a
2016-02-18 00:40:04 +09:00
Song Minjae
dbce32086f global light field in GameMap, CSV tile prop importer, coloured light attenuation (blue lighting for sea floor!) using both 'opacity' and 'lumcolor'
Former-commit-id: c592f661c1dae3c9dc9c9130a06f77a8f082ae79
Former-commit-id: 0df9489aa02393f25eb4b0e8262bc2d9a54dd2e4
2016-02-17 01:34:35 +09:00