A Metal Renderer in Swift Playgrounds (Part 12)
Analog Style Input
I need to handle input and although I’m not sure how the gameplay will turn out, I know I will want something resembling an analog stick via the touch screen. I’ve built a basic version of this and displayed it on the UI using a pair of circles in the lower left corner. I’ve applied it to control the camera rotation. I think I also updated the Caliper spaceship model since I last posted a video of it.
This represents a significant step toward making the Metal renderer interactive, introducing touch-based controls that simulate traditional gamepad analog stick input for camera manipulation.
New Spaceship Design: Iguana
Another fighter. While I need to practice a lot more with Blender in order to produce good quality models, I’m getting faster at using it at least!
Ice Planet
The ice planet provides a nice visual contrast to previous environments, while the Iguana spaceship design continues to explore different aesthetic approaches within the low-poly style. The combination demonstrates how environmental color schemes can dramatically affect the mood of a scene.
Space Disco!
No real need for this, just having some fun while parameterising the skybox shader 🤷 Sometimes the most enjoyable parts of development come from experimentation with no particular goal in mind. This playful exploration of skybox shader parameters resulted in a fun disco-like effect that adds character to the space environment.