Commit Graph

61 Commits

Author SHA1 Message Date
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
6d58a3698f gitignore ./hs_err_*
Former-commit-id: 98219061196e765fa923d153653330c4f7154572
Former-commit-id: b6470c55b6d512029d76edecb2163d0bde38f33a
2016-03-14 23:28:51 +09:00
Song Minjae
0347720241 gitignore ./out/*
Former-commit-id: 88e6aea40f35f7a0fbb4360798975250e012b154
Former-commit-id: 1648f35809ffc110f12722aa62e086979548bb4e
2016-03-14 23:24:49 +09:00
minjae song
eca3a566b0 README.md edited online with Bitbucket
Former-commit-id: 839632af5f186c13d841512965a1646383a0d155
Former-commit-id: bc38dd79f678e91ff33631372e3d8ba7523d92a1
2016-03-14 14:17:41 +00:00
minjae song
a00034da2d README.md edited online with Bitbucket
Former-commit-id: d00fb8fa3996b0c49cbc611234844decaa000413
Former-commit-id: 9d5316197eec8991a1f111cc16f62aa0e0a697e1
2016-03-14 14:06:03 +00: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
fd058e9004 buoyancy partially implemented (jump gets higher in water), fluidal movement resistance was failed to implement
Former-commit-id: 9a5275809b11c8597cdcc59bc8845f80eeb6bb56
Former-commit-id: 4946a70b3a0bab66fd6817859bf03517d3a1152e
2016-03-07 01:14:50 +09:00
Song Minjae
217db0a4ea nearbyTilesInfo issue has been solved
Former-commit-id: fea5f44cb768a565e3275eb711996758fec5d5d9
Former-commit-id: d24dbd5e87bcd70abf583bcf637d83dfef724e79
2016-03-06 22:05:05 +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
b53af23577 "sunlight leakage" fix was proven to be bogus, need proper fix, new JsonWriter and RasterWriter, auto toggle vsync, Doc: new attack momentum calc
Former-commit-id: b94cf67de8be29525c1760abb15e64a8f233028d
Former-commit-id: aef20331d16857d78066564f0c2e4c2cacbe4128
2016-03-05 14:13:53 +09:00
Song Minjae
dc788aa515 fix: "sunlight leakage" when GlobalLightLevel was changed, premature lightmap rendering on leftmost side of screen where no pre-calculated light value was given
Former-commit-id: bf628e9bde44858f641998e65bf5fef847060791
Former-commit-id: b32fec30a112a7b5868e51ba1394454d5740c5d9
2016-03-03 16:57:43 +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
8e55f84daa Collision detector seems like fixed, it still may cause problems (e.g. sudden teleportation), camera position now clamps at tile index [1, width - 1]; "rim" is now not shown
Former-commit-id: 6a285ed713728601cf16435b258522ecc10448a8
Former-commit-id: 4e562028ab08e170461ec0938a1846bc66dbaeb2
2016-03-02 20:30:26 +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