Jump to content


Photo

Object not showing up in room - help please


  • Please log in to reply
3 replies to this topic

#1 pierreluc09

pierreluc09

    GMC Member

  • New Member
  • 1 posts
  • Version:Mac

Posted 26 July 2012 - 06:44 PM

Hi,

Just trying Game Maker Lite for Mac for the first time with my 9-year old son. We were following this tutorial:
http://www.yourgamed...ith-game-maker8

Everything was working ok until we tried to add the "bat_right" object in the room. It looks like the object was added, but we can't see it! The reason I say this is that when you mouse over that square, the text at the bottom shows up saying "object: bat_right" yet we can't see anything.

Looks like a bug, or did I set something to transparent somewhere and missed it?

Thanks,

PL
  • -1

#2 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9276 posts
  • Version:Unknown

Posted 27 July 2012 - 06:20 AM

Do you happen to have anything in the draw event of the object?

If you put something in the draw event, it stops the default "auto-draw" action, because it assumes you want to handle it manually. So if you've used the draw event, be sure to draw the sprite in it, too.
  • 0

#3 Fragment

Fragment

    GMC Member

  • GMC Member
  • 176 posts

Posted 28 July 2012 - 03:33 PM

Yes, either you havent set a sprite or you need to place
draw_sprite(sprite_index,image_index,x,y);
in the draw event aswell as the other drawing scripts you are using.
  • 0

#4 VitezSC

VitezSC

    GMC Member

  • GMC Member
  • 1 posts
  • Version:GM8

Posted 31 January 2013 - 01:27 AM

I'm having the same problem. I've used GameMaker for Windows before and I've made (but never released) several games. When I try to add an object to a room in GM4Mac, I can't see it. But when I run the game I do see the objects. I'm on OS X 10.7.5, on a MacBook Air. Can anyone help?
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users