The Daily Click ::. Forums ::. Klik Coding Help ::. Scrolling and Counters.
 

Post Reply  Post Oekaki 
 

Posted By Message

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
14th March, 2008 at 14:38:56 -

Ok, so heres the problem. I'm creating a game with 8-dir movement and with zelda scrolling. At the top, I have a few basic counters, like life, inventory, money, etc.

Currently, the character can walk on top of the counter. It looks bad.

How do I make it so that if he walks below the "menu bar", which is all the counters, he scrolls up, and NOT be able to reach the menu bar?

And also keep in mind what would happen if he would reach the top of the level, and how could i put a menu bar at all?

 
n/a

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
14th March, 2008 at 15:07:23 -

If you have mmf/tgf2 you can use the layers.

or

UnTick "display as background" in the properties and do this event
- always
bring to front

Image Edited by the Author.

 
-

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
14th March, 2008 at 15:42:24 -

but......the only things you can do with counters are "Set Counter" Add, or Subtract...

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  531

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
14th March, 2008 at 16:09:08 -

Yeah, like the Rickster said, if you access the counters properties in the frame editor and uncheck the "display as background" option then just ensure you've got the counters position in the frame editor to the front. That should do it.

 
Image

Tell 'em Babs is 'ere...

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
14th March, 2008 at 19:37:40 -

I was fairly sure you had to check/uncheck "Follow The Frame" in properties too...?

 
Image
http://bfollington.tumblr.com

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14564

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
14th March, 2008 at 21:55:42 -


Originally Posted by Devernath
but......the only things you can do with counters are "Set Counter" Add, or Subtract...



Not in the event editor.
In the frame editor (where you place objects) right click the counter and you'll see a menu. Choose 'object properties' then click the 'extra' tab.

All counters are set to display as background by default.

oh also you can make the counter be at the front by selecting 'view' from the same menu when you right click.

 
.
   

Post Reply



 



Advertisement

Worth A Click