Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -

Post new topic Reply to topic  [ 2 posts ] 
  Tue Jun 05, 2012 9:11 pm
Gabber Robot
User avatar

Party Mascot
I've been trying to reverse engineer the eventing for a HP bar I made (credit goes to Kiyoshi for the source eventing data), so I could make an EXP bar. However, the exp bar is not working as I suspected it would. It's supposed to be initially empty and fill up as the player gains EXP. It appears it keeps doing the formula each time the player pauses, unpauses, and then pauses again. So, the exp bar keeps getting smaller each time the screen is updated via pausing.

Is there anyway to tell it to only update the EXP display ONCE, unless the EXP value has changed?

Capx link

Top Top

  Tue Jun 19, 2012 5:16 am
User avatar
Awesome Bro

Took a quick look at the .capx but didn't see the specific events for the exp bar.
What event # are involved in the exp bar, and the pause. That may help me find what's going on.

one way you could do the effect (empty exp bar grows as player gains exp, then level up if needed) is the example file below.
EXPBAR.CAPX example file.

I've set up the example as a group that gets activated only when needed. You don't have to do it that way. it would work as an each tick event just fine. But it sounded like you wanted it to only fire off when updated.


Top Top
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group