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.
Mini World Map No Script(COMPLETE)

0 Members and 1 Guest are viewing this topic.

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
Hey guys!
I got this idea like a month ago or so. I worked VERYYYYYY hard making it to work.. AND NOW IT'S WORKING!!
I Haven't see anyone using this,so I might as well sharing it with you all.

COMMENT AT THE END PLZ THANK YOU XD

YES, a mini map.

I'll give you guys my game(and map) as an example.
Mini-maps are used in World Maps(well..mostly) take ff7/ff8 as an example.
I'm no drawer, but a good drawer(artist if you prefer)

What Do We Want?

Ok. Now What. So Much To Do! OMFG.!!!!1 OK Seriously.
My Map is 500 x 500.what i did is, each 25x, there's a ''dot''(see picture 1,2,3) that will move left-right.
each 25y,it will move up and down(see 1,2,3 again)
now.. Where does it move?
for a basic(or beta) mini-world map, go in,let's say..Paint! Ahhh, good ol' paint!
now..how do we proceed?

How Do We Draw It?

Like I said. Paint. i said my mini-world map is 500x500 and my scale is each 25x and 25y,it'll move. make the equation. 500/20 and 500/20 = 20 20. so our basic grid will be 20x20. Simply draw a 20x20 grid. i recommand tou use the square paint-brush to make it really straight. or check out picture 4

Settup For The Coding?

Common event for sure.first of all. question yourself. Do i want an item that will allow me to have a mini-world map,or not? In my game,i decided that i wanted one.
So it'll start like this:

Common event,Parallel Process. of course you want a new switch. name it world map i guess.

Since(assuming) you decided to have an item to get it. it'll go like this:

- if (item you decided) is possessed then(with a yes/no)
if yes then:
-Key input*the key here*
-if(new variable) = [value of your key] then:
-label 1
-show picture 1(the world map grid you've done)

now, you have to define your X and Y cord!
for whoever that doesn't know, create 2 variables. let's call them Hero X and Hero Y.
do X like this(or refer to picture 5)

Hero X
Set Equal
Sprite: Hero(X Coordinate)

so Y is(DUH)

Hero Y
Set Equal
Sprite: Hero(Y Coordinate)

once theese two variables are created,let's go back to our coding

- if (item you decided) is possessed then(with a yes/no)
if yes then:
-Key input*the key here*
-if(new variable) = [value of your key] then:
-label 1
-show picture 1(the world map grid you've done)
-var. opr: hero x set x coord
-var. opr: hero y set y coord

TRICKY/BORING PART!!!

like i said before. each 25 steps x and/or y = 1 square of our grid.
so let's do it that way:
(p.s for all the cond. branches upcoming, there's NO <else handler>)
refer to picture 6
-Branch if var hero x is less/equal 25 then
-Branch if var hero x is 0 or more then
-Branch if var hero y is less/equal 25 then
-Branch if var hero y is 0 or more then

ok with theese 4 branches,you got your first ''square'' done. GOOD! 399 LEFT!!
what you want to get next,is your coord into the first ''square'' of your grid.
or refer to picture 7

-show picture 2
-erase picture 2
wait(between 1 and 3 tenth of second would be the best)
-show picture 3
-erase picture 3
wait(between 1 and 3 tenth of second would be the best)
-show picture 4
-erase picture 4
wait(between 1 and 3 tenth of second would be the best)

your wait ''must'' be the same value though.
the coord of theese 3 pictures has to be in the first square of your mini-map(test/error it..it might take a while haha)
ok now you're REALLY done with the first square. congrats. and still 399 left =(

so far you got this:

- if (item you decided) is possessed then(with a yes/no)
if yes then:
-Key input*the key here*
-if(new variable) = [value of your key] then:
-label 1
-show picture 1(the world map grid you've done)
-var. opr: hero x set x coord
-var. opr: hero y set y coord
-Branch if var hero x is less/equal 25 then
-Branch if var hero x is 0 or more then
-Branch if var hero y is less/equal 25 then
-Branch if var hero y is 0 or more then
-show picture 2
-erase picture 2
wait(between 1 and 3 tenth of second would be the best)
-show picture 3
-erase picture 3
wait(between 1 and 3 tenth of second would be the best)
-show picture 4
-erase picture 4
wait(between 1 and 3 tenth of second would be the best)

since i said you were done with the first block(that represent the top-left of your grid) it's time to move with the second one.

now,you want the second block,which means under the one you just did. remember its still each 25 it'll change, right?

you have to continue the code,beeing into the 2 ''X'' branches.

Do this:

-Branch if var hero y is less/equal 50 then
-Branch if var hero y is 26 or more then
-show picture 2
-erase picture 2
wait(between 1 and 3 tenth of second would be the best)
-show picture 3
-erase picture 3
wait(between 1 and 3 tenth of second would be the best)
-show picture 4
-erase picture 4
wait(between 1 and 3 tenth of second would be the best)

----remember to change your picture 2,3,4 coordinates so they fit into the 2nd block----
why is this the second block? because you're still IN the first 2 ''X'' branches!!

so you keep going this way with the Y's:
100 and 76
125 and 101
150 and 126
175 and 151

blablabla till you reach 500.(wow, lot of work isn't?)

now that you reached 500, you're crying of happyness. 19 more columns to go!!Yayy!!

you exit the 0-25 X Branches. You create 2.(refer to picture 7 )
if hero x less/equal 50 then
if hero x 26 or more then

and you start over with the Y's the same method as you did for the first 2 X's branches

once you reach 500 with the x and the y. CONGRATS YOU'RE DONE!!(unless you did typo everywhere haha!!)

i STRONGLY recommand to put comments at the end of each column so you don't get lost too easily(refer to picture 7 )

end it with a :
if var is equal to[value of key] then
jump label 1
ELSE
erase picture 1(the grid)
(refer to picture 8 )

now that you're TOTALLY done.
you can do this extra,if you're a good drawer.
''draw'' the overall of your world map,stick the picture into your mini world map.
delete the grid after. THERE.YOU.GO!

so i think that's it for now. credit me or not..i don't really care haha.
sorry for my english I know it's not THAT good I'm mainly french haha but oh well.
if you guys have any questions, just add me on msn/send me a mail: luv_gyalz@hotmail.com

i'll take the occasion to make a publicity for my game XD.

CHECK OUT THIS LINK IT'S MY GAME xD!!
yes, i'm still looking for people =(
http://rmrk.net/index.php/topic,18131.0.html
there's also an example of a completed mini-world map there.
« Last Edit: December 21, 2007, 02:26:04 AM by HolyQuebec »

****
Rep:
Level 87
Heyo! Awesome job on this! It will help a lot of people out! :]

*****
Rep:
Level 88
Very, very nice. I can use this. I have a question. Does this work in only RM2k3 or can it work in the other versions as well? Or do you know? ;)

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
works for rm2k3 and rmxp.
I don't know about the others, i haven't try them.
even XP...it's been years i haven't been on XP
if the key input /picture functions works the same way,it should work as well.

*****
Rep:
Level 88
Alright. I think it could work. I'd have to test it... And I'm a bit busy at the moment. Thanks for the info! ;D

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
all right np. add me on msn if you want direct talk/information or buddy me here or whatever haha. later bro. XD

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
This looks nice. I don't have the time to look though it at the moment, but I will take your word that it works and I will move it to the Tutorial Database for now.

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
sure. i still need someone to test it on rmxp but I highly doubt it won't work.

**
Rep:
Level 86
this thing is seriously awesome.
it works very well,thx.

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
hehe well glad you like it brother.

***
Rep:
Level 86
Give him one more.
The mini map works very well, I spent a very long time correcting small errors and such on it. Right bro haha. I like it a lot, and it is overall a very novel conecpt to place in most games, I suppose one downfall is that we are using a grid, but hey, were not artists eh haha.
The boys are going out for hookers and ice cream. Is that something you would be interested in?

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
lol trust me,i wasn't on weed when I came up with that mini-world map idea.
but DAMN that was a BITCH to do seriously. :o

**
Rep:
Level 86
can you atleats put on an example!!! >:( >:( >:( ???

****
GG FUCKING FAGGOT
Rep:
Level 88
Lulz.
can you atleats put on an example!!! >:( >:( >:( ???

what the fuck do you think I did?
look screenies again. My text is very complete.
« Last Edit: March 08, 2008, 02:55:04 AM by Satan Lucifer the 666th »