dMZX Forums: SPRITE STATIC - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

SPRITE STATIC

#1 User is offline   cwags55 

  • Member
  • PipPip
  • Group: Members
  • Posts: 56
  • Joined: 14-October 00

Posted 08 February 2007 - 09:03 PM

I am a little confused by the sprN_static function?


If set to 1....

Does it cause any given sprite to work like a static overlay would?

If so I must be doing something wrong.
cwags55
Uniquesoft
0

#2 User is offline   Xx*SaturnineMatthias*xX 

  • Your mother.
  • PipPipPipPip
  • Group: Members
  • Posts: 799
  • Joined: 07-November 06
  • Gender:Male
  • Location:Knaresborough, UK

Posted 08 February 2007 - 09:12 PM

It... should do that... I think...
this is a signature
0

#3 User is offline   Superfunk 

  • Unlocked
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,276
  • Joined: 10-September 04
  • Gender:Male
  • Location:U.S.

Posted 08 February 2007 - 10:22 PM

Yes. Setting a sprite's STATIC will prevent it from scrolling with the screen as would a static overlay.
Posted Image
0

#4 User is offline   CJA 

  • «≡larch bucket≡»
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,262
  • Joined: 23-June 05
  • Gender:Male
  • Location:......@.c....

Posted 08 February 2007 - 11:28 PM

so make sure to put it at a point between (0,0) and (80,25)
Need a dispenser here.
0

#5 User is offline   lsopht 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 237
  • Joined: 05-January 03
  • Location:Texas

Posted 09 February 2007 - 06:33 PM

You should replace N with the number of the sprite you want to be static.

Thats the only thing I could think of that you may be doing wrong x.x
0

#6 User is offline   cwags55 

  • Member
  • PipPip
  • Group: Members
  • Posts: 56
  • Joined: 14-October 00

Posted 11 February 2007 - 06:43 PM

My problem was that I forgot to set it to an absolute coordinate. I had everything else correct. Thanks.
cwags55
Uniquesoft
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users