Commit graph

782 commits

Author SHA1 Message Date
yuni 6703431ac6 fix pizzeria mass 2024-03-30 19:15:11 +01:00
yuni 4b13530e4a implement rotation key "r" 2024-03-30 19:14:59 +01:00
yuni d073eb067c fix engine thruster direction 2024-03-30 18:58:45 +01:00
yuni 15781d2175 fix flicker when toggling 3rd person camera 2024-03-30 18:57:46 +01:00
yuni 3472be43b0 spawn the player a bit outside the vehicle 2024-03-30 18:54:29 +01:00
yuni 80aed73264 will this help with vehicle exiting? still seems random... 2024-03-30 18:51:21 +01:00
yuni 26b974ea16 better camera jitter avoidance
as described here: https://docs.rs/bevy_xpbd_3d/latest/bevy_xpbd_3d/index.html#why-does-my-camera-following-jitter
2024-03-30 18:50:53 +01:00
yuni ce8f4666c5 trying to fix player "teleportation" on vehicle exiting... 2024-03-30 18:48:33 +01:00
yuni 962f73f522 stop physics simulation of original model when entering vehicle 2024-03-30 18:05:22 +01:00
yuni b590c4de44 fix collision sfx while in vehicles 2024-03-30 18:04:57 +01:00
yuni af2f43b9f9 fix hud speed display 2024-03-30 17:19:11 +01:00
yuni e15cf6791f fix new camera control system to work with vehicles 2024-03-30 17:05:46 +01:00
yuni 3f656924e1 non-shaky camera updates (especially while moving fast) 2024-03-30 16:53:26 +01:00
yuni 7431c4f594 refactoring camera::run_camera_controller 2024-03-30 16:41:29 +01:00
yuni 6e3d958638 mouse movement now changes player orientation relatively, not absolutely 2024-03-30 16:32:42 +01:00
yuni 0456b8506c add settings.mouse_sensitivity 2024-03-30 16:27:56 +01:00
yuni b945d7bda7 add camera::sync_camera_to_player function, fixing cam alignment 2024-03-30 16:26:19 +01:00
yuni bee0d98ae1 explicitly set tonemapping to TonyMcMapface 2024-03-30 15:50:49 +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 349e38e848 cleanup 2024-03-29 17:22:54 +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 c390a18ae5 add crash sound on collision 2024-03-29 16:58:42 +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 198da2c850 Let's try out bevy_xpbd_3d. Added it as dependency. 2024-03-29 16:15:26 +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 2b4fd9e5b5 cleanup 2024-03-29 03:31:15 +01:00
yuni b3885aa4b6 come to a full stop when braking while slow 2024-03-29 03:30:03 +01:00
yuni 0717495d57 fix slow braking 2024-03-29 02:49:16 +01:00
yuni dd49906cce clamp input vector, allowing slow motion while holding space
In typical games we would normalize the input vector so that diagonal
movement is as fast as forward or sideways movement.  But here, we
merely clamp each direction to an absolute maximum of 1, since every
thruster can be used separately. If the forward thrusters and the
leftward thrusters are active at the same time, then of course the total
diagonal acceleration is faster than the forward acceleration alone.
2024-03-29 02:41:05 +01:00
yuni 8f682ee5b6 cleanup 2024-03-29 02:40:55 +01:00
yuni ac747ac9c3 stop key now breaks with proper engine physics 2024-03-29 02:21:28 +01:00
yuni add6605a9a WIP stop key 2 2024-03-29 01:55:23 +01:00
yuni 65c843f55f WIP stop key 2024-03-29 01:40:58 +01:00
yuni b96eb701ab cleanup 2024-03-29 01:31:02 +01:00
yuni 57d651ad04 cleanup 2024-03-29 01:19:37 +01:00
yuni 33bb26b8e1 cleanup 2024-03-29 01:13:28 +01:00
yuni 73d96aa69c cleanup 2024-03-29 00:14:01 +01:00
yuni 880f92611a fix up/downward thrusters 2024-03-29 00:09:00 +01:00
yuni 4111f16454 add engine warm up time 2024-03-29 00:03:10 +01:00
yuni a25b249bb8 enlarge the FoV at high adrenaline 2024-03-28 23:38:41 +01:00
yuni 1486b6749a gain adrenaline at high velocity 2024-03-28 23:13:59 +01:00
yuni bbf4f468cd add m/s + km/h display 2024-03-28 23:09:08 +01:00
yuni 427a3cb182 add --version option 2024-03-28 22:34:16 +01:00
yuni 5e9dbf0344 unmute sfx in cargo run by default 2024-03-28 20:54:34 +01:00
yuni e1bcb9bb7a remove wakeup sound at start 2024-03-28 20:54:28 +01:00
yuni 0b193e53ad fix text box position 2024-03-28 20:53:54 +01:00
yuni 4602ee0504 cleanup 2024-03-28 20:49:57 +01:00
yuni ee58302156 cleanup bloom code in hud 2024-03-28 20:47:41 +01:00
yuni 2eb00d025d add toggleable reticule to HUD 2024-03-28 20:47:18 +01:00
yuni 99fd2ec750 cleanup 2024-03-28 20:35:54 +01:00
yuni 44ec500ce7 remove radio when hud is active (mainly to remove all nonfree assets) 2024-03-28 20:03:51 +01:00
yuni 6eb126d4c1 change BGM to Dead Space Style Ambient Music by Sharvarian 2024-03-28 19:59:57 +01:00
yuni 0a37e523b6 document vehicle enter/exit key in README, change to q 2024-03-28 17:25:57 +01:00
yuni f8d0c87664 renamed bike to MeteorAceGT 2024-03-28 17:25:35 +01:00
yuni c25f627a22 better bike model, angled side thrusters allow backward motion 2024-03-28 17:18:54 +01:00
yuni 8bc80b3c6c implement exiting vehicles 2024-03-28 16:33:40 +01:00
yuni 8c3fa09b5c add bike start sound when entering vehicle 2024-03-28 16:02:25 +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 36b6e3696c implement hud info for remaining oxygen duration 2024-03-28 13:28:36 +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 542e124137 more realistically sized Jupiter (distance=125Mm from jupiter's center) 2024-03-27 16:47:20 +01:00
yuni 80da840af5 add screenshot to readme 2024-03-22 16:22:09 +01:00
yuni b2d4586478 tweak external assets 2024-03-22 15:26:25 +01:00
yuni 22a106d7a3 better input number glyphs 2024-03-22 14:38:28 +01:00
yuni b47a181e96 add custom-made font Yupiter 2024-03-22 14:38:12 +01:00
yuni 2027929319 fix sound path 2024-03-22 13:57:29 +01:00
yuni 7780b90e8f mute audio in debug builds when run through cargo run 2024-03-22 12:28:39 +01:00
yuni 4a5a239639 mute audio by default in debug builds 2024-03-22 12:08:00 +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 06264159e5 tweaks 2024-03-21 19:01:18 +01:00
yuni f3f1733f2f add dead drifter 2024-03-21 18:52:52 +01:00
yuni 24efcc715d tweak conversation 2024-03-21 18:46:18 +01:00
yuni 624582f361 finally fix player velocity/momentum 2024-03-21 18:45:43 +01:00
yuni 50d8d1faee refined chatbox 2024-03-21 06:04:06 +01:00
yuni 4d82ebb038 better dialog 2024-03-21 06:03:50 +01:00
yuni dcef43ad88 wrote better pizza dialog 2024-03-21 05:32:39 +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 573d27bb6e cleanup 2024-03-20 21:42:58 +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 e3e8278d03 prettier reply formatting 2024-03-20 18:54:22 +01:00
yuni 538ad92e3a fix defs 2024-03-20 18:51:46 +01:00
yuni e0c13af0eb add LifeForm.is_alive bool 2024-03-20 18:37:42 +01:00
yuni 40489b3aad implement suit integrity and oxygen drain 2024-03-20 18:37:10 +01:00
yuni 4626e6c1da nicer input prompts 2024-03-20 06:56:25 +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 31dc79ddab typo 2024-03-20 06:01:54 +01:00
yuni 2faa1b3dcf delete assets/scenes/conversations.scn.ron 2024-03-20 06:00:54 +01:00
yuni 20fd163aba add the pizzeria conversation back in 2024-03-20 05:59:32 +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 2c7f2b2ab7 cleanup 2024-03-20 04:33:57 +01:00
yuni da2bd35c99 add mystery gauge 2024-03-20 02:23:29 +01:00
yuni 204c5c160c implement sending chat responses 2024-03-20 02:23:14 +01:00
yuni 4a71cba57e slower asteroid rotation 2024-03-19 23:50:11 +01:00
yuni b5b3f2c424 implement chat levels (like log levels) in conversations.scn.ron 2024-03-19 23:44:10 +01:00
yuni d6291061c9 better sound effects 2024-03-19 23:37:01 +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 fce7fa58cd v0.1.3 release 2024-03-19 18:32:24 +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 b0d6c600c6 staggered updates 2024-03-19 16:38:08 +01:00
yuni 1c23861ec4 implement drifting 2024-03-19 16:18:52 +01:00
yuni caa53fdb59 implement rotation of objects 2024-03-19 16:14:12 +01:00
yuni cc8734e793 added text wrapping 2024-03-19 15:51:08 +01:00
yuni cd02873f5b cleanup 2024-03-19 06:25:00 +01:00
yuni 51bd6d3867 add new sound for established chats 2024-03-19 06:24:27 +01:00
yuni d63ad5b0d7 move chat box to bottom left 2024-03-19 06:14:25 +01:00
yuni da7a646a1e new version 2024-03-19 06:11:04 +01:00
yuni 2f19df9f95 prevent multiple chats with the same person 2024-03-19 06:08:19 +01:00
yuni 029a53c115 implement delays between messages 2024-03-19 06:01:17 +01:00
yuni bac0b59733 implement conversation system 2024-03-19 05:38:27 +01:00
yuni 60370ad583 rm player.rs 2024-03-19 03:57:45 +01:00
yuni 77acbfbd9b move star chart to nature.rs 2024-03-19 03:57:27 +01:00
yuni 9f6d12145f refactor audio events, add notification popup message on alien chat 2024-03-19 03:18:16 +01:00
yuni f6b067533c the alien says "Hello World" if you talk to it 2024-03-19 01:24:27 +01:00
yuni 39aa5b04b3 update dir. light to actually come from the sun
thankfully we have only one star in the system, trisolaris would be
annoying to code
2024-03-19 00:03:02 +01:00
yuni c86d51fe92 cleanup 2024-03-18 23:54:04 +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 38a85be608 toggle skybox when toggling AR 2024-03-18 15:40:35 +01:00
yuni 871da1be78 Revert "change default settings to more release-friendly values"
This reverts commit ee63a4e9c6.
2024-03-18 14:08:11 +01:00
yuni ee63a4e9c6 change default settings to more release-friendly values 2024-03-18 14:07:48 +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 a541591b84 add "m" key for muting SFX 2024-03-18 04:10:08 +01:00
yuni 5d4ec3c77c better distribution of asteroids 2024-03-18 04:07:46 +01:00
yuni 1e003adeeb red oxygen warning 2024-03-18 03:47:31 +01:00
yuni f069cd7325 mute SFX 2024-03-18 03:45:46 +01:00
yuni 2361209eab add a bunch of asteroids + actor count in hud 2024-03-18 03:42:31 +01:00
yuni 1e7fc6030b cleanup 2024-03-18 03:20:22 +01:00
yuni f4dc03516b face away from the sun 2024-03-18 03:15:31 +01:00
yuni a7ec9ae5a1 cleanup 2024-03-18 03:06:41 +01:00
yuni 9edc352086 play some nice Girls Go Wild by LP on the AR radio 2024-03-18 03:03:49 +01:00
yuni 0a8777a764 add click sound assets 2024-03-18 02:24:52 +01:00
yuni cbccd3b109 add a second click sound 2024-03-18 02:15:44 +01:00
yuni 496c4ece71 add a nice click sound 2024-03-18 01:52:41 +01:00
yuni 58aadd731d tweaks 2024-03-18 01:23:35 +01:00
yuni 03dab2bb23 auto-hide log messages 2024-03-18 01:02:17 +01:00
yuni 0cf1c4102f add proper padding to HUD 2024-03-18 00:42:10 +01:00
yuni 49414989bd add system log to hud 2024-03-18 00:36:56 +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 cef6e5cce7 implement power, WIP suit systems (defunct) 2024-03-17 22:28:10 +01:00
yuni 41d97942de implement adrenaline_jolt 2024-03-17 21:57:30 +01:00
yuni c80fec0dd4 add some player vars and display them in gauges 2024-03-17 21:29:27 +01:00
yuni bb0e08fc35 define font size in settings 2024-03-17 20:37:37 +01:00
yuni af4235c756 switch to NotoSansSC-Thin font 2024-03-17 20:28:45 +01:00
yuni 2e4dbe4844 rename assets/restricted/ to assets/tmp/ 2024-03-17 20:28:35 +01:00
yuni 0506e773b8 use chinese font ZCOOLQingKeHuangYou-Regular.ttf 2024-03-17 20:04:16 +01:00
yuni 68d19c3a6a toggle AR/hud with TAB key 2024-03-17 19:03:02 +01:00
yuni d58e9ebb1e turn settings into a resource 2024-03-17 18:26:44 +01:00
yuni f99f82d35f cleanup 2024-03-17 15:47:06 +01:00
yuni 395b0bcd3f smaller fps text 2024-03-17 15:34:47 +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 9c2b2e4e0f add Space key to slow down 2024-03-17 14:39:42 +01:00
yuni 56a9fd766d make the sun BRIGHT 2024-03-17 14:29:40 +01:00
yuni d4f5da819c lets not go overboard with the bloom 2024-03-17 14:29:33 +01:00
yuni 7801dc6cdb white sun 2024-03-17 14:19:17 +01:00
yuni d7823f7657 darker stars 2024-03-17 14:19:12 +01:00
yuni 571f886782 add the SUN 2024-03-17 14:16:25 +01:00
yuni 9cec03a34f brighter stars 2024-03-17 13:37:55 +01:00
yuni 2664602574 rename vars 2024-03-17 13:37:52 +01:00
yuni d607da7766 add alien floating in space 2024-03-17 01:25:57 +01:00
yuni 2281fd89e7 fix alpha value 2024-03-17 01:23:35 +01:00
yuni 95de7f425e add a brown rock 2024-03-17 01:05:03 +01:00
yuni d4114f01c0 disable friction, thrusters now accelerate instead of move 2024-03-17 00:48:23 +01:00
yuni 5471b46c03 add a thruster sound when accelerating 2024-03-17 00:43:26 +01:00
yuni e400628af5 bulk commit 2024-03-17 00:24:47 +01:00
yuni 1514fb5b02 sphere -> large moon far away, eclipsing the sun 2024-03-16 23:53:01 +01:00
yuni 62936e3044 rotate light source 2024-03-16 23:44:53 +01:00
yuni 67fcd8096d explicit luminance 2024-03-16 23:44:46 +01:00
yuni 3317666ec2 remove point lights (never worked anyway) 2024-03-16 23:41:43 +01:00
yuni 99dc391bc2 Revert "add plane below the player"
This reverts commit 57e5241abf.
2024-03-16 23:38:14 +01:00
yuni 57e5241abf add plane below the player 2024-03-16 23:37:48 +01:00
yuni f337a6024c add directional light, disable ambient light 2024-03-16 23:37:18 +01:00
yuni ec1f7cf96c add a sphere in space 2024-03-16 23:11:56 +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 50e731a3ca simplify skybox code 2024-03-16 21:53:13 +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
yuni e8dbe717cd simple black window with Q key to exit 2024-03-16 16:12:35 +01:00
yuni 0b6b03a9c1 tutorial: timer 2024-03-16 15:21:51 +01:00
yuni 6ed2169efe tutorial: plugins 2024-03-16 15:21:44 +01:00
yuni 36724b9602 working through the bevy tutorial 2024-03-16 15:03:07 +01:00
yuni ddba06e750 add hello world application with bevy dependency 2024-03-16 14:27:22 +01:00