Commit Graph

50 Commits

Author SHA1 Message Date
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
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
Song Minjae
e225056b09 invisible wall for ActorWithBoby to prevent ArrayIndexException, faction system documentation, actor value: new boolean type, improvement on wall drawing
Former-commit-id: 6f90894a004acea32ef9361dbbece06a9b1db26a
Former-commit-id: 80757a7d641eac3687e552f657a0dee5692e6cf8
2016-02-15 13:47:11 +09:00
Song Minjae
bde8371ac9 new kana font and its tester, adjusting baselines of kana/cjkpunct/hangul, new color model 216 instead of 256, proof-of-concept factioning with four relationship models (amicable, neutral, hostile, fearful)
Former-commit-id: ac2ca8d0f4432377f1030afa6ac86df0c6887b3e
Former-commit-id: 855f49d6c0e89da1e7311744683dc83e68ac84e4
2016-02-15 02:47:40 +09:00
Song Minjae
6fdd3b7c9c export ActorValue into JSON
Former-commit-id: 9a5f09cf124a0e26baa9c671c2097351b906cb62
Former-commit-id: 76853a50c9491e7ee147a5d48727bb33b4323ebf
2016-02-10 23:09:06 +09:00
Song Minjae
224ba8f6be ground hit detection and adjust player position accordingly (it's working at least)
Former-commit-id: be639eeeac82b35aae145540ede5e0b1f3b02d01
Former-commit-id: 4d214a5160cd80955909da238c3991ede5488ca6
2016-02-10 21:27:50 +09:00
Song Minjae
954076d944 better console command parsing (now you can use quots), font support for Latin Extension A, now you can draw Runics also
Former-commit-id: 76aef3e704f171e23d6f0a6f78b051717e0f3212
Former-commit-id: 03373859fb5d858afbf4e92528dceb2dc118c763
2016-02-07 14:17:51 +09:00
Song Minjae
b25a6f5e98 Added water tex, now blue water actually makes you (and your glow) look blue-tinted, coloured light will affect colour of your glow altogether.
Former-commit-id: 95de1367817249d84dbc8add5e19e63846bc94e6
Former-commit-id: ab4bb16681c53105e43763547833e49f86bf4718
2016-02-07 00:19:10 +09:00
Song Minjae
cc0500fdce Converted Terrarum.Game to be a GameState of Slick
Former-commit-id: 6a3b2626d8db5209a2578c6924ee12cfaa5f1f79
Former-commit-id: 33caf533fbf4dc126c54120c7b1da6830106c8ae
2016-02-06 11:26:34 +09:00
Song Minjae
4ddd020d07 implemented tile connection draw, frosty area in map gen, fixed too less floating islands, ocean water now generates properly
Former-commit-id: d280e2f95c10f1060bfaa794b31d91965badc373
Former-commit-id: d0881343a802658b1fe0b2ad59561ca6ceb7a805
2016-02-06 00:48:25 +09:00
Song Minjae
d5c99aad5e First commit
Former-commit-id: 9340873f9cfb15264004c32d6e4b8f8bd6828d94
Former-commit-id: 1916747c109876aa064412e01204c3aeda9bbbc0
2016-02-05 13:36:35 +09:00