Starfield Simulation Revisited
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Starfield Simulation Revisited
Hello,
There is a discussion in the forums with the topic title "Starfield Simulation" but it is 10 years old now, so I thought it best to create a new topic.
Attached is my stack for implementing a star field with stars emanating radially from the center and some suggestions for potential modifications and uses in the instructions. See the stack script header for additional references.
Happy coding,
Mike
There is a discussion in the forums with the topic title "Starfield Simulation" but it is 10 years old now, so I thought it best to create a new topic.
Attached is my stack for implementing a star field with stars emanating radially from the center and some suggestions for potential modifications and uses in the instructions. See the stack script header for additional references.
Happy coding,
Mike
- Attachments
-
- Starfield Warp Animation.livecode.zip
- (17.14 KiB) Downloaded 41 times
Mike Roberts
https://mygiantbrain.com
https://mygiantbrain.com
-
- VIP Livecode Opensource Backer
- Posts: 9709
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Starfield Simulation Revisited
Hi.
I tried something sort of in reverse, to duplicate the opening scene in the original "Star Wars" where a smoothly scrolling field of text narrowed and reduced its contents in textSize as it went along and disappeared into oblivion. This was about 14 years ago. Not perfect, as I recall.
Craig
I tried something sort of in reverse, to duplicate the opening scene in the original "Star Wars" where a smoothly scrolling field of text narrowed and reduced its contents in textSize as it went along and disappeared into oblivion. This was about 14 years ago. Not perfect, as I recall.
Craig
-
- Livecode Opensource Backer
- Posts: 9444
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Starfield Simulation Revisited
Um: I wonder if a series of fields each above the next in a group might not be a bit easier: no having to make the field appear trapezoidal, no having to set the textSize for individual lines.a smoothly scrolling field of text narrowed and reduced its contents in textSize
-
- Livecode Opensource Backer
- Posts: 9444
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Starfield Simulation Revisited
In a Starfield time moves differently.
Re: Starfield Simulation Revisited
Hi Mike, you're posting nice stuffHutchboy wrote: ↑Wed Jan 24, 2024 2:47 amHello,
There is a discussion in the forums with the topic title "Starfield Simulation" but it is 10 years old now, so I thought it best to create a new topic.
Attached is my stack for implementing a star field with stars emanating radially from the center and some suggestions for potential modifications and uses in the instructions. See the stack script header for additional references.
Happy coding,
Mike
The only suggestion I would make is it would be good to have adjustable speed.
This works so much smoother if you reduce the delay in updateStars to 25 milliseconds and even better to 10 milliseconds
Code: Select all
send "updateStars" to me in 10 milliseconds
perhaps add a slider or similar to do this? Could be a vertical slider on the side of the screen like a kind of throttle?
Stam