Commit Graph

43 Commits

Author SHA1 Message Date
Max Bradbury fb290f07f4 make walls vec optional 2020-10-18 15:59:56 +01:00
Max Bradbury c79d33ddf2 re-export modules for better ergonomics 2020-10-09 11:57:02 +01:00
Max Bradbury c4be0861cb update default game data for bitsy 7.2 (no game data changes, only editor changes here) 2020-08-14 12:11:56 +01:00
Max Bradbury c05010432a tidy up formatting 2020-07-26 12:08:10 +01:00
Max Bradbury a3ae353830 undo rustfmt 2020-07-20 21:04:56 +01:00
Max Bradbury 24e11362a0 flipping/mirroring images 2020-07-20 14:42:33 +01:00
Max Bradbury f08f0fdc16 remove inlining 2020-07-19 08:42:03 +01:00
Max Bradbury 3de82cbacc update default game data 2020-07-19 08:36:20 +01:00
Max Bradbury eef37898f7 implement PartialEq so we can compare tiles without comparing IDs 2020-06-30 00:32:59 +01:00
Max Bradbury a1f866086b tidy up pixels 2020-06-28 17:47:43 +01:00
Max Bradbury 168f3559e0 replace tile ID with string 2020-06-18 17:47:54 +01:00
Max Bradbury bf5b3a8d20 remove avatar (treat it as sprite) 2020-06-18 17:46:30 +01:00
Max Bradbury fe6f3f5c84 convert int IDs to strings 2020-06-18 14:44:20 +01:00
Max Bradbury ef310d6fb7 add dialogue name for 7.0 2020-04-30 19:44:20 +01:00
Max Bradbury 56f85470ff stop this one from complaining 2020-04-29 18:53:39 +01:00
Max Bradbury 8bd323b8a0 dedupe animation frames handling 2020-04-29 08:27:35 +01:00
Max Bradbury f899f03dbe allow inlining (this did not provide a statistically significant performance boost - oh well) 2020-04-28 18:00:31 +01:00
Max Bradbury dd00686de0 add transition and dialogue for exits (7.0) 2020-04-28 08:34:35 +01:00
Max Bradbury f0667b621a fix failing tests (sprite ID "A" converts to 10...) 2020-04-26 13:37:08 +01:00
Max Bradbury cf1ca6f1b5 reimplement avatar as a plain sprite; handle sprite items as these are mostly needed for avatar 2020-04-26 13:31:20 +01:00
Max Bradbury 1c6e3eb515 turn room format and room type into enums; transform line endings 2020-04-24 18:06:17 +01:00
Max Bradbury f4b82c3a67 missing field 2020-04-23 16:42:01 +01:00
Max Bradbury 096eb39bf6 optional version handling 2020-04-23 12:03:39 +01:00
Max Bradbury d1254988bc allow game to have font data (not really parsed for now) 2020-04-23 07:43:52 +01:00
github-actions[bot] cba6c16414
Format Rust code using rustfmt 2020-04-18 15:58:30 +00:00
Max Bradbury 78b2319d4f implement optional palette id for room 2020-04-18 15:50:01 +01:00
Max Bradbury c441fce485 implement optional name for avatar 2020-04-18 15:49:33 +01:00
Max Bradbury e71c87ad4c handle room wall array 2020-04-18 14:39:17 +01:00
Max Bradbury 935075e7a1 redo version as a struct 2020-04-18 11:03:24 +01:00
Max Bradbury cc0780b9cd implement font and text direction; call std and mock directly instead of importing 2020-04-18 10:45:01 +01:00
Max Bradbury f77c8b2d4e handle bitsy version as major and minor versions (uint); helper functions for game version/format 2020-04-17 09:37:03 +01:00
Max Bradbury 833e44a019 update mocks 2020-04-14 00:40:29 +01:00
Max Bradbury e84fa4cc7c tile ID functions and tile mock 2020-04-13 16:19:59 +01:00
Max Bradbury 45ee94aae9 item id to u64; item.dialogue -> item.dialogue_id 2020-04-13 14:47:15 +01:00
Max Bradbury c7f1d7220c implement ToBase36 for u64; room id to u64; sprite id to u64; tile id to u64; sprite.dialogue -> sprite.dialogue_id 2020-04-13 14:43:23 +01:00
Max Bradbury f424c49301 convert exit room id to u64 2020-04-13 13:51:29 +01:00
Max Bradbury 53d5a28923 convert room id and palette id to u64 2020-04-13 13:46:33 +01:00
Max Bradbury 1928334b27 convert palette id to int 2020-04-13 13:30:08 +01:00
Max Bradbury bef39f9b8b allow public uses of structs; add sample program 2020-04-12 17:13:08 +01:00
Max Bradbury 8e5d55c2a5 implement scene transitions 2020-04-12 15:40:40 +01:00
Max Bradbury 9dfaaa0173 game module 2020-04-12 14:38:07 +01:00
Max Bradbury b1eb0160c7 room module 2020-04-12 14:28:11 +01:00
Max Bradbury 1426102e67 rename mocks to mock 2020-04-12 13:50:07 +01:00