LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Globe

Root / Submissions / [.]

12Me21Created:
Download:4DY3EEH3
Version:3.7Size:513 KB
Displays an image on a sphere. Changes from version 1: -increased speed (around 2x) -now writes a function into slot 2 instead of using a FOR loop -removed quality setting since it's faster to just use a smaller size and SPSCALE it up.

Instructions:

1: load map image using LOADMAP:
DIM MAP%[0,0]
MAP%=LOADMAP(file,u,v,width,height)
u: image X start v: image Y start width: image width height: image height (like SPSET) 2: generate sphere function:
SPHERESETUP radius,width,height,precision
radius: radius of sphere to draw width: image width height: image height precision: angle precision (number of decimal places to keep in the angle value. Higher values can take longer to load initially, and might exceed the maximum program size) 3: draw sphere
DIM OUT%[radius*2-1,radius*2-1]
SPHERE angle,MAP%,OUT%
GLOAD x,y,radius*2-1,radius*2-1,OUT%,TRUE,FALSE
angle: angle to display the sphere at (must be between 0 and 1)

Replying to:spaceturtles
Seems pretty cool. Could it be used for a simple KSP clone of some type, or would it lag too much?
you can only change one angle. the other angles are static and cannot be changed. therefore, you could only look at places on the equator at bird's eye view in your KSP game.

Replying to:spaceturtles
Seems pretty cool. Could it be used for a simple KSP clone of some type, or would it lag too much?
Oh, okay. I didn't say that I would make it, but as soon as I get done with Lasership 2, I plan on working on Turtle Space Program, which, unfortunately, won't be 3d.

displays the earth as it would look if it was a globe

Replying to:chicken
displays the earth as it would look if it was a globe
a bit too round for my taste

Question: can I use the map of earth in this for a program. I am a bad artist most the time and that is a REALLY good sprite of the entire earth...

This is cool

Replying to:haloopdy
Fancy! If it's extensible, it'd be cool if someone based a game around it. Or at least used it in the background.
As a background could be cool. I could try to mimic the Lunar Tower's backgrounds from Terraria lol

Replying to:thou_fatGAMER12
Question: can I use the map of earth in this for a program. I am a bad artist most the time and that is a REALLY good sprite of the entire earth...
I yeah sure I don't even remember where I got it from