Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: noxis on October 23, 2006, 04:11:06 PM

Title: entity coordinate problem?
Post 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?

Code: [Select]
var title = Scene.GetNode("text");
  title.x = 30;
  title.y = 100;
  title.SetSprite ("\animations\credits\noxis.sprite");
Title: Re: entity coordinate problem?
Post by: metamorphium on October 23, 2006, 04:30:26 PM
wme is case sensitive, try X instead of x etc.
Title: Re: entity coordinate problem?
Post by: noxis on October 24, 2006, 01:39:08 AM
Thanks, I'll try that .. hopefully that will work  ::)
Title: Re: entity coordinate problem?
Post by: noxis on October 24, 2006, 02:23:43 AM
thanks metamorphium, you were correct the X and Y characters do need to be upper case.