4 Replies
how to make this spaceship to move around in my script?
Here's a Snake implementation (that I helped someone else with). It runs in the console, but it also demonstrates how to do keyboard controls. https://pastebin.com/yeL3C9aL
Pastebin
using System.Drawing;using System.Numerics;Random random = new Rand...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
for unity see:
https://docs.unity3d.com/ScriptReference/Input.GetKey.html
and
https://docs.unity3d.com/ScriptReference/Transform.Translate.html
as a starting point
thankyouthankyou