Commit graph

191 commits

Author SHA1 Message Date
yuni 61c7cffcef implement damage on low oxygen and collisions 2024-04-05 03:31:52 +02:00
yuni 23bceebc79 implement player respawn with "z" key 2024-04-05 02:58:12 +02:00
yuni beb241e9d6 add huge communications satellite 2024-04-05 00:32:42 +02:00
yuni e00d891150 expose speed cheats outside of dev mode 2024-04-02 17:27:06 +02:00
yuni 910d1b4407 fix despawning of scenes (fixes framerate drop after traveling far) 2024-04-02 17:17:31 +02:00
yuni 1498d95b5b remove debug output 2024-04-02 16:19:49 +02:00
yuni 868668ab43 remove debug code 2024-04-02 07:22:55 +02:00
yuni 591db70d08 base asteroid density on actual ring density 2024-04-02 07:09:46 +02:00
yuni be55433376 update asteroids only when changing cell 2024-04-02 05:59:33 +02:00
yuni 3ea2f3bc3a use fastrand for better asteroid distribution 2024-04-02 05:51:50 +02:00
yuni 0e18067024 tweaking asteroids 2024-04-02 05:41:12 +02:00
yuni e3e67b0c6f on-the-fly asteroid generation 2024-04-02 05:12:53 +02:00
yuni adb9f4b971 added asteroid generation function that generates across the rings 2024-04-02 02:30:14 +02:00
yuni 8e26208559 move player back to the outside of the rings. jupiter too large. 2024-04-02 01:33:00 +02:00
yuni 36f99d8215 tweak rings 2024-04-02 01:29:16 +02:00
yuni 6d3a0da314 1000x speed boost with v/b cheats when holding shift 2024-04-02 01:14:18 +02:00
yuni 2d7b787593 realistic sizes and distances for everything 2024-04-02 01:07:22 +02:00
yuni cfbd23f485 fix despawning of scene-based asteroids, turn them back from spheres to scenes 2024-04-01 23:54:56 +02:00
yuni 3f89826acb tweak asteroid parameters 2024-04-01 21:07:28 +02:00
yuni bbad89e1fb WIP despawning asteroids... for some reason, scenes can't despawn 2024-04-01 20:52:57 +02:00
yuni a78d4b0387 handle parents in position_to_transform, like in bevy_xpbd 2024-04-01 20:38:28 +02:00
yuni adeb207919 add 'b' key cheat to fly backwards quickly 2024-04-01 20:37:32 +02:00
yuni 65c911d4dd update cheat teleport coordinates 2024-04-01 20:01:11 +02:00
yuni 84747e1c3a add CENTER_WORLD_ON_PLAYER constant 2024-04-01 19:20:31 +02:00
yuni b583970a88 add note about parent objects not being supported 2024-04-01 19:17:08 +02:00
yuni 68cc65a2eb split off asteroid generation and spawning 2024-04-01 18:33:31 +02:00
yuni 5c50ac33e3 move global illumination from world.rs to camera.rs 2024-04-01 18:06:52 +02:00
yuni 71d926ec0f fix positions of asteroids 2024-04-01 18:01:51 +02:00
yuni 5889aed6fa place remaining objects relative to jupiter 2024-04-01 17:55:58 +02:00
yuni 5894a2443c center coordinate system of renderer at player camera
this avoids rendering glitches when camera is far away from the center
of the coordinate system.
2024-04-01 17:19:43 +02:00
yuni 8fbbcc3708 switch bevy_xpbd physics engine to 64bit precision
in preparation for enlargement of coordinate system to match real scale
2024-04-01 16:29:14 +02:00
yuni f70c12a3c6 add cheat codes in dev mode 2024-04-01 05:38:32 +02:00
yuni efc840b031 cleanup skybox/ar-toggle 2024-04-01 05:05:18 +02:00
yuni 7a3d38fc78 cleanup 2024-04-01 05:04:11 +02:00
yuni 0e1761855b cleanup 2024-04-01 03:58:32 +02:00
yuni 394390a4d6 more realistic ring density function 2024-04-01 03:21:12 +02:00
yuni 2121642b92 first attempt at jovian ring with shader 2024-04-01 02:05:38 +02:00
yuni 83b44d4dbc WIP ring effect 2024-04-01 00:48:59 +02:00
yuni d12585b28b split off command parser into commands.rs 2024-03-31 22:00:34 +02:00
yuni cc198f5465 add "light" command, add cozy illumination to pizza place 2024-03-31 04:10:54 +02:00
yuni 2411430799 apply smooth torque rather than "teleport" when rotating player 2024-03-31 03:09:40 +02:00
yuni ac3b17badf add "collider mesh" command, generating the collider from the scene 2024-03-31 01:35:45 +01:00
yuni ccd993a4fe load jupiter from a texture rather than scene 2024-03-31 00:18:49 +01:00
yuni cab5c8eaf5 fix angularmomentum command 2024-03-30 23:18:29 +01:00
yuni 0f375fab64 add collisions to asteroids, reduce count from 8k to 512 2024-03-30 22:59:18 +01:00
yuni 9975d8b2bf smoother handling of vehicle entrance/exits, also fixes adrenaline 2024-03-30 22:31:07 +01:00
yuni 19de229bb2 restore jupiter, add "physics off" command 2024-03-30 19:57:35 +01:00
yuni de8eb23d91 add some missing commands 2024-03-30 19:54:01 +01:00
yuni a5c796d491 tinkering on 3rd person mode 2024-03-30 15:43:48 +01:00
yuni b78340dd1a implement 3rd person view, flexible attachment of camera to actors 2024-03-29 19:41:46 +01:00
yuni bb73b1ed1d implement collider/mass commands 2024-03-29 18:20:12 +01:00
yuni f0739606ad less debug info 2024-03-29 17:21:46 +01:00
yuni 9534504b20 cleanup 2024-03-29 17:18:43 +01:00
yuni c6b8d21c54 disable downward gravity.... =D 2024-03-29 16:39:37 +01:00
yuni 25db91f39e implement controls and basic collisions 2024-03-29 16:33:12 +01:00
yuni 79edffccc1 place a couple of mysterious monoliths 2024-03-29 14:19:57 +01:00
yuni 477794f95c add rotationx command 2024-03-29 14:19:18 +01:00
yuni 62abacf648 add sound for ion engine 2024-03-29 04:36:46 +01:00
yuni 4111f16454 add engine warm up time 2024-03-29 00:03:10 +01:00
yuni f8d0c87664 renamed bike to MeteorAceGT 2024-03-28 17:25:35 +01:00
yuni 8bc80b3c6c implement exiting vehicles 2024-03-28 16:33:40 +01:00
yuni f4aea80f34 add rocket sound effect for bike 2024-03-28 14:14:49 +01:00
yuni cc285a7548 implement actor ids, actor oxygen tanks, clamp harvested oxygen
Conflicts:
	src/world.rs
2024-03-28 13:33:40 +01:00
yuni bfa6a463d3 implement a second optional chat script parameter 2024-03-28 13:28:37 +01:00
yuni b22f780f73 implement chat scripts 2024-03-28 13:28:34 +01:00
yuni 61324ffe7a implement entering vehicles, variable engine parameters 2024-03-28 13:26:41 +01:00
yuni ec7fcc0ef4 add bike (not rideable yet) 2024-03-28 12:05:30 +01:00
yuni c4b3b47a8e more stars 2024-03-27 16:47:22 +01:00
yuni 9f182f95de upgrade pizzeria & sign 2024-03-21 04:34:09 +01:00
yuni 7080c8d34c implemented maximum star magnitude, looks actually better w/ less stars 2024-03-21 03:20:59 +01:00
yuni beefe695f6 add moonlet that occludes the sun 2024-03-21 03:15:35 +01:00
yuni 402883d8bf add OutFly™ SecondSkyn Modern Astronaut Spacesuit/Loungewear 2024-03-21 02:51:22 +01:00
yuni 52e5b09ffa found nice regressions for star colors / star sizes 2024-03-21 02:50:57 +01:00
yuni 6d98a0e459 WIP better star brightnesses 2024-03-21 02:11:07 +01:00
yuni 8b9d7d4afa allow minus/underscore in command names and single-word strings 2024-03-20 21:38:25 +01:00
yuni 4c30563ac0 allow single-word strings in defs.txt without double quotes 2024-03-20 21:37:55 +01:00
yuni 82b7a32286 add error cube, to show when model is missing 2024-03-20 21:25:47 +01:00
yuni ac0a57b9b1 cleanup 2024-03-20 21:12:37 +01:00
yuni 64ceece0df spawn pizzeria through defs.txt 2024-03-20 21:10:57 +01:00
yuni 6cf99e6b0a add sun-blocking moonlet thru defs.txt 2024-03-20 21:03:22 +01:00
yuni b8af14c1dd spawn Juptiter through defs.txt 2024-03-20 20:51:22 +01:00
yuni 8736397cbf defs.txt: implement "angularmomentum", "rotationy" commands 2024-03-20 20:50:57 +01:00
yuni 34f63d08a5 implemented spawning Actors through defs.txt 2024-03-20 20:37:35 +01:00
yuni d9c5398a17 WIP implementing spawning Actors through defs.txt 2024-03-20 20:05:11 +01:00
yuni 40489b3aad implement suit integrity and oxygen drain 2024-03-20 18:37:10 +01:00
yuni a29ab0cc42 AR now adds AI-generated fake ambient light to the darkness of space 2024-03-20 06:56:13 +01:00
yuni 3cf3d05b7b dont play second sound when sending message 2024-03-20 06:42:39 +01:00
yuni 37e0505839 streamline defs.txt 2024-03-20 06:41:10 +01:00
yuni 328b3a5c21 properly reset parser on new message/choice 2024-03-20 06:20:58 +01:00
yuni 71f66426c5 less verbosity 2024-03-20 06:02:06 +01:00
yuni de47a87a27 finished world def parser for conversations 2024-03-20 05:52:02 +01:00
yuni 96584db0a3 populate ParserState struct 2024-03-20 04:54:39 +01:00
yuni 4394905d17 WIP parser for world definitions file 2024-03-20 04:34:09 +01:00
yuni 4a71cba57e slower asteroid rotation 2024-03-19 23:50:11 +01:00
yuni bf4be327ed rotate jupiter to see the eye 2024-03-19 22:29:36 +01:00
yuni 810ad8c563 ===JUPITER=== 2024-03-19 22:16:30 +01:00
yuni 8bfe15d3d4 integrate two fresh asteroid models 2024-03-19 21:09:20 +01:00
yuni d9b014f673 cleanup 2024-03-19 18:27:32 +01:00
yuni 38307776df add space pizzeria 2024-03-19 18:15:19 +01:00
yuni 1c23861ec4 implement drifting 2024-03-19 16:18:52 +01:00