Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: noxis on October 23, 2006, 04:11:06 PM
-
I'm trying to move an entity around the screen, but it doesn't want to move. I created an entity called text in the scene editor, and when scripting it, it just doesn't seem to follow my coordinates. Have a look at the code and see what I am doing wrong?
var title = Scene.GetNode("text");
title.x = 30;
title.y = 100;
title.SetSprite ("\animations\credits\noxis.sprite");
-
wme is case sensitive, try X instead of x etc.
-
Thanks, I'll try that .. hopefully that will work ::)
-
thanks metamorphium, you were correct the X and Y characters do need to be upper case.