The Daily Click ::. Forums ::. Klik Coding Help ::. nOOb question
 

Post Reply  Post Oekaki 
 

Posted By Message

Vaynes



Registered
  27/01/2005
Points
  15
11th March, 2005 at 06:28:09 -

how do you fix something to the play area so it is always visible at the bottom where ever the screen scrolls to?

 
Ever bitten off more than you can chew?

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
11th March, 2005 at 07:13:44 -

Always - Set Y position to " Y Bottom Frame - 20 "
Set X position to " X Left Frame "
That should work, i didnt fully try it just quickly did it. i think there is a better way but i cant remember cause i havent done anything scrolling wise for ages.

Im setting it to the Bottom frame - 20 because if you set it to the bottom frame the object will be to far to the bottom and will be out of the scrolling area.

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

Vaynes



Registered
  27/01/2005
Points
  15
11th March, 2005 at 07:21:02 -

works perefctly

thx


 
Ever bitten off more than you can chew?

Nick of All Trades

Possibly Insane

Registered
  03/09/2002
Points
  2312

Game of the Week Winner
11th March, 2005 at 09:35:57 -

I am not an expert, but shouldn't you get the same result by marking the follow the playfield box in the objects prefences (the extra section)?

 
n/a

Al



Registered
  03/01/2002
Points
  110
11th March, 2005 at 10:12:15 -

As Nikodemus said, you can untick "follow the playfield" in the object's preferences window, which involves no events in the event editor.

 
n/a

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
11th March, 2005 at 18:15:37 -

thought there mustve been an easier way, thanks for pointing that out nikodemus!

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
12th March, 2005 at 07:44:48 -

Yeah unchecking "follow the playfield" in the object's properties (under "scrolling" in MMF) is the better method, and uses up less memory.

 
http://www.fzgames.com

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th March, 2005 at 11:12:18 -

Improved version for the events:

Always - Set Y position to " Y Bottom Frame - object height "
Set X position to " X Left Frame "

This makes the game look up the object height so there's no need for re-fitting whenever you change the object size.

 
Old member (~2004-2007).

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
12th March, 2005 at 16:49:28 -

No but you can work it out by subtracting Y co-ordinate of top edge from Y co-ordinate of bottom edge.

 
http://www.fzgames.com
   

Post Reply



 



Advertisement

Worth A Click