Commit graph

55 commits

Author SHA1 Message Date
yuni c880a8fb97 add basic grainy texture to material_asteroid 2024-04-16 18:28:15 +02:00
yuni f56521e49f add dummy material_asteroid.wgsl and shading::AsteroidSurface 2024-04-16 16:41:15 +02:00
yuni b186b37ffb add debug function that applies JupitersRing shader to all scenes 2024-04-16 16:28:19 +02:00
yuni fc01b68086 add shading.rs 2024-04-16 16:27:17 +02:00
yuni 69fb360229 move stars.rs to an included array in src/data/ 2024-04-14 22:30:49 +02:00
yuni 5df3f66ea6 implement "set" token for chats 2024-04-14 16:20:51 +02:00
yuni 86cd3b049e rename settings.rs to var.rs, planning to add more than settings to it 2024-04-14 14:55:00 +02:00
yuni 053f2827dd handle god mode properly when restarting/cheat-dying 2024-04-11 21:17:34 +02:00
yuni cb698cc3b2 Revert "reset settings on death/restart"
This reverts commit 3676fd444c.
2024-04-11 21:12:56 +02:00
yuni 3676fd444c reset settings on death/restart 2024-04-11 21:07:01 +02:00
yuni 9f15e78e07 show actual names of stars when targeting them 2024-04-08 01:08:32 +02:00
yuni 36859f6bb6 start in BorderlessFullscreen instead of Fullscreen by default
this fixes a crash on some windows machines
2024-04-08 00:24:03 +02:00
yuni 17f44664e5 implement fullscreen toggle key F11 2024-04-08 00:23:55 +02:00
yuni ca7d2facd9 split off chat logic from actor.rs into new chat.rs 2024-04-04 13:34:13 +02:00
yuni 5edc05df89 cleanup 2024-03-31 22:08:26 +02:00
yuni d12585b28b split off command parser into commands.rs 2024-03-31 22:00:34 +02:00
yuni 97640c383c add a cozy fade-in from black on start 2024-03-30 21:14:04 +01:00
yuni 25db91f39e implement controls and basic collisions 2024-03-29 16:33:12 +01:00
yuni 198da2c850 Let's try out bevy_xpbd_3d. Added it as dependency. 2024-03-29 16:15:26 +01:00
yuni 427a3cb182 add --version option 2024-03-28 22:34:16 +01:00
yuni d2bb8d447c embed assets into binary only in release builds 2024-03-22 12:06:03 +01:00
yuni a0031603e5 add bevy_embed_assets plugin for compact releases 2024-03-22 11:49:34 +01:00
yuni 77acbfbd9b move star chart to nature.rs 2024-03-19 03:57:27 +01:00
yuni 1c06343fa6 dye stars in their color (doesn't work too well yet) 2024-03-18 23:47:03 +01:00
yuni 6b0f9c671a render starmap based on HYG dataset [http://www.astronexus.com/hyg] 2024-03-18 22:39:46 +01:00
yuni 2786129499 disable skybox for now 2024-03-18 20:58:16 +01:00
yuni 872142946c toggling hud toggles bloom setting 2024-03-18 04:57:17 +01:00
yuni ba28b9470d stop logging fps to console 2024-03-18 04:41:52 +01:00
yuni 6a6b53d0c0 cleanup 2024-03-18 04:39:26 +01:00
yuni d95d3e8f9f pluginize everything 2024-03-18 00:04:57 +01:00
yuni f9e76921ec generalize player into actor 2024-03-17 23:53:43 +01:00
yuni c80fec0dd4 add some player vars and display them in gauges 2024-03-17 21:29:27 +01:00
yuni d58e9ebb1e turn settings into a resource 2024-03-17 18:26:44 +01:00
yuni a72b76a234 add HUD with FPS display 2024-03-17 15:23:22 +01:00
yuni 56c76eaee0 add FPS diagnostics 2024-03-17 14:55:09 +01:00
yuni e400628af5 bulk commit 2024-03-17 00:24:47 +01:00
yuni 3ab0a82181 Revert "use only required plugins"
This reverts commit 5384ea2ec9.
2024-03-16 23:05:07 +01:00
yuni 5384ea2ec9 use only required plugins 2024-03-16 23:04:58 +01:00
yuni c98a6d7dc5 add player::handle_input 2024-03-16 22:33:02 +01:00
yuni b223dcdb29 add settings.rs 2024-03-16 22:20:49 +01:00
yuni 94d9d15705 move skybox code to world.rs 2024-03-16 21:46:17 +01:00
yuni 1076bd569f add player.rs 2024-03-16 21:22:59 +01:00
yuni 559efc68f5 split off camera code into separate camera module 2024-03-16 21:00:40 +01:00
yuni 7a39938efb move audio code to separate file 2024-03-16 20:53:57 +01:00
yuni e0c1b2cfb8 added t key to toggle music 2024-03-16 20:46:42 +01:00
yuni c003193723 add sound effects: wake up sound, bgm (not provided with the source) 2024-03-16 20:27:10 +01:00
yuni a7321f73fb start in full screen with mouse grabbed 2024-03-16 19:07:28 +01:00
yuni 43004caffc add mouse-based camera controls 2024-03-16 16:35:48 +01:00
yuni c6ab6000c6 disable aliasing 2024-03-16 16:35:39 +01:00
yuni 27eea41398 load a skybox with stars 2024-03-16 16:22:44 +01:00