Ok. There are no other objects. This is a new project. I was following a course by Shaun Spalding, linked
here. The sprite first went invisible when he started messing around with collision masks, but none of that has been touched in the second project. Only one project was made during the tutorial. By multiple projects I mean two completely, never linked projects stored on different drives.
The object code is below:
Code:
var l02786658_0;
l02786658_0 = keyboard_check_pressed(ord("W"));
if (l02786658_0)
{
direction = 90;
}
var l3475615A_0;
l3475615A_0 = keyboard_check_pressed(ord("S"));
if (l3475615A_0)
{
direction = 270;
}
var l731C8EDE_0;
l731C8EDE_0 = keyboard_check_pressed(ord("A"));
if (l731C8EDE_0)
{
direction = 180;
}
var l06555567_0;
l06555567_0 = keyboard_check_pressed(ord("D"));
if (l06555567_0)
{
direction = 0;
}
This is converted from DnD. I don't know if this is the code you meant.
I think that is all you requested.