• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - IDE Why does my room think this is where 0,0 is?

B

Beztom

Guest
Please excuse the potentially beginner question - I'm a definite beginner and might be being really dumb - but I'm absolutely perplexed by this.

I've been trying to create an object programmatically at 0,0 and it's been putting it in the middle of my game window.

When I've come into the room editor to test if it works manually, it still thinks 0,0 is in the middle of the screen somewhere. Note the instance's position and how that's different to where the cursor thinks it is.

Thanks very much in advance

 

TsukaYuriko

☄️
Forum Staff
Moderator
Check spr_tile_default's origin in the sprite editor - it may be as confused about where 0,0 is as you are.
 
B

Beztom

Guest
Thank you - that has done it. Was at some ridiculous offset :)
 
Top