RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Step Counter

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 89
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

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
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
« Last Edit: April 13, 2006, 07:18:36 PM by Tsunokiette »
"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."

**
Rep: +0/-0Level 89
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

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
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!

**
Rep: +0/-0Level 89
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

**
Rep: +0/-0Level 89
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

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
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."

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
*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."

**
Rep: +0/-0Level 89
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

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
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."

**
Rep: +0/-0Level 88
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%