Log In  
Follow
UnitVector
Orbital OST (in progress)
by
[ :: Read More :: ]

I'm a physics teacher and my students always have a really hard time visualizing vector addition early on, so I decided to make a little tool so they can play around with 2-D vectors.

  • Up to 6 vectors and their resultant vector.
  • Can be arranged from the origin or tip-to-tail
  • Can view Cartesian components or polar representation
  • Grid can be zoomed and panned

Things I may add:

  • Short tutorial or at least a "controls" tab
  • Viewing x/y vector components or angles on the grid
  • Choose your vectors' colors
  • ...?

Please let me know if you think it needs any adjustments.

Cart #vectoraddition01-0 | 2024-05-28 | Embed ▽ | License: CC4-BY-NC-SA
6

How to use:

  • Click on "Add Vector" button, then click anywhere on the grid to set the tip of the vector.

  • To adjust vectors, click and hold on the tip and drag it around to where you want.

  • To delete vectors, right-click anywhere along their length.

  • To zoom, use the mouse-wheel.
  • To pan the grid, click-and grab anywhere except on a vector tip and drag.
P#149089 2024-05-28 19:27

[ :: Read More :: ]

I've run into an issue in a particular cart while running in screensaver/wallpaper mode. It seems to be some kind of issue with srand() but using seeds and clearing them works fine everywhere else in the program except in one place.

Here's a gif of part of the screen with the program running normally:

and here's when running as a wallpaper or screensaver:

You can see that the raindrops' locations and colors are not being randomized here. There are several other elements in the scene which are being randomized correctly, which is the strange part. Has anyone else run into a similar issue?

Here's the cart, as-is. The code-snippet in question is in the rain.lua script, which is adapted from @donswelt 's Tiny Rain:

Cart #landscape_flyby_01-0 | 2024-05-20 | Embed ▽ | License: CC4-BY-NC-SA
1

You can see it also doesn't work when embedded here. But if you run the cart in Picotron, it does. ¯_(ツ)_/¯

P#148747 2024-05-20 23:16 ( Edited 2024-05-20 23:41)

[ :: Read More :: ]

Cart #orbital_v1_0-1 | 2022-04-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
33

Orbital v1.0

Story:

In the distant future, an AI-piloted ship arrives in a distant star cluster. Its mission: to search for signs of intelligent life. You are that AI.

Gameplay:

Navigate star systems and land on planets searching for clues to what happened to a long lost civilization. As you discover alien artifacts, you may gain abilities. Absorb special minerals on the planets to replenish your energy. No enemies or time limit, but watch your fuel levels and don't crash into a star or a planet surface (nose-to-ground collision).

Controls:

Saving:

This game supports saving/loading. It should work in the web version depending on your browser settings, but it definitely works if you grab the cart and run it locally. Will save automatically after the intro text is read, and after each artifact is found. You can also save through the in-game menu under "options" at any time. If you save in space, you will load exactly where you were, but if you save while on a planet, you will reload back in space where you were when you encountered the planet.

Notes:

Those familiar with KSP will adapt to the controls easily. Others may struggle with navigating gravity wells. For now, see the tips below. Please let me know how it feels to you, or if at any point you're unsure what to do next.

Size:

This game uses no map and almost no sprites. The entire star cluster is 65,536 x 65,536 pixels in size, so there are huge distances between stars. And the planet surfaces are about 32,768 pixels wide. Everything is generated procedurally, based on a seed chosen when you start a new game, so the star locations and planet surfaces are consistent and unique to your save game. 8192/8192 tokens used. 99.14% compressed size.

Tips on Orbital Mechanics (how to fly a spaceship):

  • After you start, try accelerating just a little bit, then wait. Watch how your orbit is affected, and see how your speed corresponds to your orbital distance.

  • Use the acceleration sparingly. Small bursts. Unless you are accelerating away from a star toward interstellar space.

  • When in orbit of a star, accelerating in your direction of travel will increase your orbital distance on the opposite side of your orbit. Decelerating will reduce that distance.

  • Also, increasing orbital distance slows you down, decreasing orbital distance speeds you up.

  • Combining the above two ideas, if you are behind a planet and want to catch up, slow down a little bit. This will make you fall slightly closer to the star, making you speed up. And vice versa: if you are in front of a planet, speed up a little. It's counter-intuitive, but it works.

  • Accelerate/decelerate at the lowest or highest points in your orbit. This is where you can achieve the greatest change in your orbits vs fuel cost.

  • BE PATIENT.

Good luck!

Updates from last version (0.9)

  • Lore added. (Still subject to change)
  • Z-menu now has "Stellar Cartography" at the top for faster access
  • Mini-map appears as soon as you enter a gravitational well.
  • Updated ending animation.

Bugfixes

  • 4/11/22: fixed bug when crashing after running out of gas
P#107009 2022-02-16 05:43 ( Edited 2022-04-12 04:27)

[ :: Read More :: ]

I'm getting close to finishing up a game called Orbital. I've been working on the music lately and wanted to get some feedback on it. Tell me what you think.

  1. Encounter
    [sfx]

  2. Artificial Intelligence
    [sfx]

  3. Occlusion
    [sfx]

  4. Collision Course
    [sfx]

  5. Extra Terrestrial
    [sfx]

  6. Gravity Well
    [sfx]
P#106950 2022-02-15 05:13