Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: sprite_index()/x,y?  (Read 1104 times)

0 Members and 1 Guest are viewing this topic.
sprite_index()/x,y?
« on: October 28, 2006, 07:00:47 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 448
Is there any way to draw a sprite in the x/y position you want when using sprite_index()?
Logged
Re: sprite_index()/x,y?
« Reply #1 on: October 28, 2006, 07:02:59 pm »
  • Huzzowee!
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 571
When you use "sprite_index", all you're doing is changing the sprite used by the object. To draw it in a different part of the screen you need to either move the object itself, or in the draw step use "draw_sprite", with which you can set the coordinates.
Logged
"They say 'Don't sweat the little things!', but in the end, the little things are all that matter..."
--Alex2539
Re: sprite_index()/x,y?
« Reply #2 on: October 28, 2006, 07:05:35 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 448
yeah I didnt think there was a way :-\ Guess I'll be creating a seperate object. *lock*
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.064 seconds with 41 queries.