So far I just have the HTML code and my VBScript is tiny at the moment;
Sub Window_OnLoad()
imgEarth.style.pixelLeft = document.body.clientwidth / 2
imgMoon.style.pixelLeft = imgEarth.style.pixelLeft
txtAngle.value = 0
End Sub
'Alters moon position relative to Earth
Sub...
Hi, I'm fairly new to programming and have started with VBScript. I'm planning to construct a two dimensional solar system program, but I am unsure of one vital thing; orbits. I have an idea of how the moon can orbit the Earth but can't make it work properly, and am unsure on how to make an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.