GSim version 0.25

What did you draw?
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

GSim version 0.25

Post by testtubegames »

Play with it Here.

Added in a new feature, and was so excited to share it, I couldn't wait until version 0.3!

Version 0.25
"Whaaaaaaaaaaaaaaaaaaat?"

New in this Version:
-Tracking! Follow planets around, keeping them centered on the screen.
-Advanced tracking! The orbital lines can be drawn *as an astronomer on that planet would see them*... really weird retrograde orbits and all that
-Click an object to open up a menu, where you can track it or delete it.
-Press 'space' to pause/play (helpful when you want to click on quick-moving objects)
-Press 'tab' to make all the buttons invisible - to really enjoy your images.
-UI re-arrangement, buttons and options are in different places (with some works-in-progress... the eyeball will open up a whole visual-style editor eventually)

Next to Do:
-Circular orbits, for one thing. That'll make solar systems +moons a real cinch.
-Add in more of the things from this list

So, yeah, tracking. It's awesome. And confusing. To go to a planet's reference frame, click on it (with the cursor active). In the menu that pops up, click 'view world from it' (didn't have time to come up with a catchier button name, there). Click the button again to get back to the normal world. There are almost certainly some bugs that will crop up, but I had so much fun playing with this today, I wanted to get it in your hands and see what you all would do with it!
User avatar
robly18
Posts: 413
Joined: Tue Jun 04, 2013 2:03 pm

Re: GSim version 0.25

Post by robly18 »

Oh man! I must try this! This opens up so many new possibilities!

EDIT: Found a bug.
Things are loaded absolutely. So if you're in some frame of view when things are loaded, they'll be loaded the same on your screen as if they had been loaded with no frame of reference, messing up some things.

EDIT2: Another one: the camera is a bit funky when loading something while in a frame of view.
Convincing people that 0.9999... = 1 since 2012
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim version 0.25

Post by testtubegames »

robly18 wrote:Things are loaded absolutely.

EDIT2: Another one: the camera is a bit funky when loading something while in a frame of view.
The first one was an easy "oh yeah, forgot to add a line of code so loading works" fix. So, yeah, that's fixed now.

I haven't encountered the second bug yet. What funky thing happens?
User avatar
wtg62
Posts: 174
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim version 0.25

Post by wtg62 »

This is the best version yet!
It's really funny to create a solar system and track an object (in 'view world from it' mode) with a highly eccentric orbit, because of how jerky everything looks from it.
I really think you should've kept drag and delete, because sometimes you need to delete multiple objects at once.
This message has been brought to you by wtg62, duh!
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim version 0.25

Post by testtubegames »

wtg62 wrote:This is the best version yet!
I really think you should've kept drag and delete, because sometimes you need to delete multiple objects at once.
Rad! And don't worry, drag and delete will be coming back -- my plan is to have 'shift + mouse drag' let you select multiple things, in the standard computer way... then you can delete all of them at once. Fewer buttons on the screen, easier & more intuitive interactions is my goal with that.

These jerky motions, though, were too cool -- I couldn't wait until I'd added in drag & delete to upload it :)
User avatar
wtg62
Posts: 174
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim version 0.25

Post by wtg62 »

I found another issue:
At some (seemingly) random point in time after playing for a while, the arrows under the planet/star/asteroid buttons (which let you configure color and whatnot) disappear.
The only way to fix this is to reload the game.

And yes, the jerky motions are awesome :D
This message has been brought to you by wtg62, duh!
User avatar
testtubegames
Site Admin
Posts: 1148
Joined: Mon Nov 19, 2012 7:54 pm

Re: GSim version 0.25

Post by testtubegames »

wtg62 wrote:At some (seemingly) random point in time after playing for a while, the arrows under the planet/star/asteroid buttons disappear.
Fixed!
User avatar
wtg62
Posts: 174
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim version 0.25

Post by wtg62 »

Also this is something I've experienced in previous versions, but sometimes when I try to load code...
Either it doesn't load all of the planets, some are loaded with delay, or I have to spawn more planets to make it load the missing planets.

Example:

Code: Select all

Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 0,y0: 17.5,vx: 0,vy: 0,t0: 0,who: 2,m: 1000,c: 1], [x0: 2.5,y0: 230,vx: -2.27,vy: 0,t0: 330,who: 2,m: 100,c: 2], [x0: 135,y0: -150,vx: 3.53,vy: 3.97,t0: 1219,who: 3,m: 0,c: 0], [x0: -65.0264,y0: 191.0228,vx: 1.18826,vy: -0.5252184,t0: 3328,who: 3,m: 0,c: 3], [x0: 182.8871,y0: -50.19693,vx: -1.894593,vy: 1.928324,t0: 4252,who: 3,m: 0,c: 3], [x0: -57.32811,y0: -161.9964,vx: 4.316585,vy: -0.777209,t0: 5353,who: 3,m: 0,c: 5], [x0: 188.4454,y0: 97.89459,vx: -1.3868,vy: 1.92834,t0: 5872,who: 3,m: 0,c: 7], [x0: 4.613942,y0: 223.1645,vx: -3.663782,vy: 0.1714831,t0: 6163,who: 3,m: 0,c: 7]
This is a planet with 4 moons orbiting a star (code is long because I created this system without editing the code).
For me, upon loading the save, either the moons will be gone, or the entire planetary system with the planet (which means only the star is loaded).

Edit 1:
testtubegames wrote:To go to a planet's reference frame, click on it (with the cursor active). In the menu that pops up, click 'view world from it' (didn't have time to come up with a catchier button name, there)
Just noticed this, you could call it "Surface view" or "Planet view".

Edit 2:

I've experimented with that system once more to see if I could get it working:
The planetary systems entities loaded, but they went everywhere and didn't follow any of their trajectories.
This is some really weird stuff! :P

Edit 3:

Found another minor bug, which is that the ghost of the planet/star/asteroid (which represents where the planet you're creating is going to be placed) also disappears after a while (or it could be because I'm placing a planet while/right after zooming). This makes it a little frustrating to precisely place objects. Again, only way to fix is to reload the game.
This message has been brought to you by wtg62, duh!
A Random Player
Posts: 523
Joined: Mon Jun 03, 2013 4:54 pm

Re: GSim version 0.25

Post by A Random Player »

Downloaded Unity. "How bad can it be?" It wasn't, took less than 2 minutes to install. Took a bit to get the sim working, but now I can finally see that it's awesome :D
Clearing and saving are still a bit buggy, will need some time to get used to the sim to figure out exactly what it is. (I think reference frames are not reset upon clearing once, or something?)
A quick (?) suggestion: Add tooltips to the buttons.
$1 = 100¢ = (10¢)^2 = ($0.10)^2 = $0.01 = 1¢ [1]
Always check your units or you will have no money!
User avatar
wtg62
Posts: 174
Joined: Mon Jan 27, 2014 11:30 pm
Location: Texas, United States

Re: GSim version 0.25

Post by wtg62 »

A Random Player wrote:A quick (?) suggestion: Add tooltips to the buttons.
I second this, as much as I and a few others would already know what everything does pretty well, new users might not.
(Honestly I never got the point of what currently is the eye button :P)
This message has been brought to you by wtg62, duh!
Post Reply