Commit graph

41 commits

Author SHA1 Message Date
Christopher Willis-Ford
65e4f1b56e refactor: use Duration for TIME_STEP and WORK_TIME 2023-06-09 13:48:10 -07:00
Christopher Willis-Ford
eee0d2fcb0 refactor: stage plugin -> runtime plugin 2023-06-09 13:35:16 -07:00
Christopher Willis-Ford
75ccf61f19 style: apply lint and clippy recommendations 2023-06-09 11:50:27 -07:00
Christopher Willis-Ford
ecb5f4d086 fix: show sprites again 2023-06-02 15:24:27 -07:00
Christopher Willis-Ford
0e113c2346 refactor: (broken) spawn targets as Bevy entities
This is broken in that currently it's not even trying to spawn Bevy
sprites for the targets, so nothing is visible after loading is done.
2023-06-02 15:08:04 -07:00
Christopher Willis-Ford
4a819c343c refactor: separate Target from Sprite 2023-05-19 14:52:30 -07:00
Christopher Willis-Ford
49bcc57364 feat: spawn a sprite bundle for each target 2023-05-05 18:23:29 -07:00
Christopher Willis-Ford
cfa03ed985 feat: load entire Scratch project as a Bevy asset 2023-04-28 17:49:37 -07:00
Christopher Willis-Ford
8cb80f00a7 feat: load project JSON and assets through Bevy 2023-04-28 09:40:22 -07:00
Christopher Willis-Ford
892499f444 refactor: move ZipAsset plugin into assets/ 2023-04-26 11:14:22 -04:00
Christopher Willis-Ford
4308c27fc2 feat: (WIP) load PNG, MP3, and WAV assets in ZIP 2023-04-26 10:46:47 -04:00
Christopher Willis-Ford
11b17afa25 refactor: move ZipAsset code into a plugin 2023-04-25 22:57:19 -04:00
Christopher Willis-Ford
60d405cf50 refactor: (WIP) load SB2 zip using a Bevy asset loader
TODO: load individual assets within the SB2
2023-04-25 22:11:28 -04:00
Christopher Willis-Ford
38d1d01a24 refactor: upgrade to Bevy 0.10.1 2023-04-24 08:43:03 -07:00
Christopher Willis-Ford
7c47838fc6 feat: get ready to load costumes and sounds 2023-04-21 20:21:09 -07:00
Christopher Willis-Ford
7609d99eab feat: impl From<sb2::Project> for VM::VirtualMachine 2023-03-24 19:55:31 -07:00
Christopher Willis-Ford
693d357813 refactor: make clippy happy 2023-03-24 14:17:53 -07:00
Christopher Willis-Ford
bbd9cce395 feat: parse scripts structurally, change Block to enum of block shapes 2023-03-18 00:38:14 -07:00
Christopher Willis-Ford
15b2fb6084 fix: TopLevelScript was using logic that should have been in Block 2023-03-17 18:51:49 -07:00
Christopher Willis-Ford
356806c8e8 feat: implement custom deserializer for top-level scripts 2023-03-03 19:09:39 -08:00
Christopher Willis-Ford
0233c6780f feat: deserialize all SB2 fields except scripts 2023-03-03 17:16:03 -08:00
Christopher Willis-Ford
a024b1c932 feat: WIP deserialize SB2 project JSON
* switch from SB3 format to simpler SB2 format
* move SB2 code into its own module
* implement deserializing more fields, including stage children
2023-03-03 16:45:29 -08:00
Christopher Willis-Ford
c554586172 feat: (WIP) deserialize project JSON 2023-02-17 18:18:53 -08:00
Christopher Willis-Ford
a0606ac311 feat: extract and parse project JSON 2023-01-27 16:05:20 -08:00
Christopher Willis-Ford
56d3fa8287 feat: actually start unzipping the project
Also simplify the project loading task setup
2023-01-20 17:24:59 -08:00
Christopher Willis-Ford
9ffc4070a7 refactor: break existing source into separate files 2023-01-06 17:58:31 -08:00
Christopher Willis-Ford
0010276dfb fix: change loading screen to text 2023-01-06 17:33:34 -08:00
Christopher Willis-Ford
1d51aa443f chore: add fonts 2023-01-06 17:13:56 -08:00
Christopher Willis-Ford
780dba67c0 feat: load a project file and display a loading screen 2022-12-09 20:20:27 -08:00
Christopher Willis-Ford
044b13ad4f chore: upgrade bevy to 0.9.1 2022-12-09 17:52:54 -08:00
Christopher Willis-Ford
2bc4284587 docs: update README.md with info specific to this branch 2022-10-28 15:43:13 -07:00
Christopher Willis-Ford
395d3467f0 feat: build for web 2022-10-14 17:38:49 -07:00
Christopher Willis-Ford
6439bdda21 feat: run 'scripts' at 30 FPS 2022-10-14 16:19:23 -07:00
Christopher Willis-Ford
cd7d373770 feat: draw a squirrel 2022-09-30 17:08:25 -07:00
Christopher Willis-Ford
5773217535 refactor: separate sprite, stage, and project 2022-09-30 16:19:53 -07:00
Christopher Willis-Ford
1d03842f33 feat: print sprite names every 2 seconds 2022-09-30 15:30:45 -07:00
Christopher Willis-Ford
69b0de5d84 build: enable dependency optimization in dev, plus dynamic linking 2022-09-30 14:58:59 -07:00
Christopher Willis-Ford
dd577c6018 feat: use some Bevy systems to print some messages 2022-09-30 14:55:16 -07:00
Christopher Willis-Ford
4274ec5373 build: cargo add bevy 2022-09-30 14:04:34 -07:00
Christopher Willis-Ford
9c502d0b7b build: cargo new scratch-bevy 2022-09-30 14:02:24 -07:00
Christopher Willis-Ford
2d80e3c1d9 docs: add README.md and a few helper files 2023-08-16 16:44:16 -07:00