Uploaded October 2018 | Updated September 2026, 14 hours ago
Today we learn about loops and arrays and use that to write some code to fly rockets to orbit...
Helpful documentation for improving the code*:
vessel.flight docs: krpc.github.io/krpc/python/api/space-center/flight.html
vessel.control docs: krpc.github.io/krpc/python/api/space-center/control.html
vessel.orbit docs: krpc.github.io/krpc/python/api/space-center/orbit.html
*These docs pretty much just give you a list of variables you can access inside vessel.control, vessel.flight() etc.
This should be a good starting point for figuring out how to the information you need from the game to make the improvements I mentioned...
My Code: mediafire.com/file/1mph12gm758u6bv/Lesson3.py/file
My Rocket: mediafire.com/file/6xqgmdounbz3whs/Phoenix_2.craft/file
Today we learn about loops and arrays and use that to write some code to fly rockets to orbit...
Helpful documentation for improving the code*:
vessel.flight docs: krpc.github.io/krpc/python/api/space-center/flight.html
vessel.control docs: krpc.github.io/krpc/python/api/space-center/control.html
vessel.orbit docs: krpc.github.io/krpc/python/api/space-center/orbit.html
*These docs pretty much just give you a list of variables you can access inside vessel.control, vessel.flight() etc.
This should be a good starting point for figuring out how to the information you need from the game to make the improvements I mentioned...
My Code: mediafire.com/file/1mph12gm758u6bv/Lesson3.py/file
My Rocket: mediafire.com/file/6xqgmdounbz3whs/Phoenix_2.craft/file










