Main Menu
  • Welcome to The RPG Maker Resource Kit.

Step Counter

Started by Mariofan0, April 12, 2006, 04:52:51 PM

0 Members and 1 Guest are viewing this topic.

Mariofan0

Ok this is a dumb idea but im looking for a way to count your steps in RPG maker 2003
And By steps i mean every square you walk in...

Plz Dont Say Cover The World Map With Event Tiles.
I'm The Biggest Mario fanatic This Side Of The Mushroom Kingdom.

Currently Working On:Tale's Of Destiny:The 7 Book's Of Fate

Tsunokiette

#1
This is actualy pretty simple if you think about it for a while. You will need -

2 - common events

7 - Variables

1 - Switch

Common Events -

* Set Coordinates [0001]
* Count Steps [0002]

Variables -

* Map [0001]
* X coordinates [0002]
* Y coordinates [0003]
* Last Map [0004]
* Last X coordinates [0005]
* Last Y coordiantes [0006]
* Steps [0007]

Switches -

* Coordinates Set [0001]

Now on to the common events -

Set Coordinates needs to be an parallel proccess event.

[code]Branch if Switch[0001:Coordinates Set] is OFF
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

Mariofan0

I Think There Is A Minor Flaw...



I CANT MOVE
I'm The Biggest Mario fanatic This Side Of The Mushroom Kingdom.

Currently Working On:Tale's Of Destiny:The 7 Book's Of Fate

Blizzard

Why not make a common event, that just increases a counter, when you press L/R/U/D (and move 1 tile)? And just put it out in a window and that
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Mariofan0

You Know That Worked Better Than...

NOT
I'm The Biggest Mario fanatic This Side Of The Mushroom Kingdom.

Currently Working On:Tale's Of Destiny:The 7 Book's Of Fate

Mariofan0

Fixed It...

In The First Part No >End Event Prosecing
And It Has To Be Parallel Prosess With No Switch Activate.
I'm The Biggest Mario fanatic This Side Of The Mushroom Kingdom.

Currently Working On:Tale's Of Destiny:The 7 Book's Of Fate

Tsunokiette

Quote from: Mariofan05 on April 12, 2006, 06:48:52 PM
Fixed It...

In The First Part No >End Event Prosecing
And It Has To Be Parallel Prosess With No Switch Activate.

That wont work  :wink:

B/C -

The first 1 needs the end event proccessing if it's auto OR parallel, otherwise it will not work, b/c it will continuously store the same values each time, making it so the step counter never increases. And instead of making it auto or parallel, just call it in an event in the begining of the game, but you still need to set the switch and the 2nd one needs to be parallel with the switch activating it, or else there will be, problems...

(goes off to see what went wrong)
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

Tsunokiette

*bump*

*double-post*

Don't flame me but... It does work. Just change the first one to parrallel proccess, and replace End Event Proccessing with Erase Event. It works like a charm...

Just tested it :-P
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

Mariofan0

Then why does it work without the end event procesing or erase event...
I'm The Biggest Mario fanatic This Side Of The Mushroom Kingdom.

Currently Working On:Tale's Of Destiny:The 7 Book's Of Fate

Tsunokiette

Quote from: Mariofan05 on April 13, 2006, 08:00:10 PM
Then why does it work without the end event procesing or erase event...

It runs, but it doesn't work, it will keep reseting both the new map,x,y values and the old map,x,y values to the exact same thing, making it so that the step counter will never increase.
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I'm the only one, I'm the only one."

beware

blizzard, that wont work because if you walk into a wall it will count as a step, but you never took a step.
Mini Game Island
Maps-100%
Characters-90%
Full Game-60%