Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: aboutasoandthis on August 07, 2006, 02:02:14 PM
-
Okay so I finally learned how to display your position using pictures on the world map like so.

My problem comes from the map size. I want my World Map to be 200*200. I can easily change the panorama in the back (copy/pasted instead of importing) and change my map size. What would be the best way to still have the coding work? Should I double the variable sizes or something?
This is my coding.
Show Picture: 1, Displayed World Map, (258,180)
Variable Oper: [0003:HeroX] Set, Hero X Coord.
Variable Oper: [0003:HeroX] + , 206
Variable Oper: [0004:HeroY] Set, Hero Y Coord.
Variable Oper: [0004:HeroY] + , 128
Show Picture: 2, Hero Tracker (V[0003],V[0004])
Wait 0.1
Again, I want to double my map size without messing up the coding. I'd appreciate the help.
(BTW, I know this part belongs more in the request section but If someone could resize my panorama to 8000*8000 pixels so I can have a 500*500 tile World Map instead, I'd be REALLY HAPPY! Idraw only takes up to 4000*4000.)
-
Alright, so is your map 100 x 100 now? If so, this will work.
Show Picture: 1, Displayed World Map, (258,180)
Variable Oper: [0003:HeroX] Set, Hero X Coord.
Variable Oper: [0003:HeroX] + , 206
Variable Oper: [0003:HeroX] / , 2
Variable Oper: [0004:HeroY] Set, Hero Y Coord.
Variable Oper: [0004:HeroY] + , 128
Variable Oper: [0004:HeroY] / , 2
Show Picture: 2, Hero Tracker (V[0003],V[0004])
Wait 0.1
Basically, what you had before was that one pixal on the map represented 1 tile on the world map. Now, if you increase the size to 200 x 200, one pixal on the map equals 2 tiles on the map. So all we have to do is divide by the scale factor (which is 2 in this case), and it should work.
Why do you need a panorama that big anyway? Can't you just make a 500 x 500 map instead of a big panorama?
-
I can double the panorama size and draw the map over the panorama. This way, everything is perfectly sized. Think of the panorama as a template.
I'll try this and edit this post to see if I need anything else.
EDIT=======
It worked...sort of. I just had to double the size of the addition parts. It works perfect now. Thanks!
-
When I made the minimap in my game, I just opened the map in rm2k3, zoomed out to 1/8 x, went to the first layer, selected the "select map elements tool" (so that the first and second layers both apear as they would normally), took a screenshot of the entire map, opened it in photoshop, resized the map to 100 x 100, and went from there.
So I had an exact copy of my map for my minimap.
-
That's exactly what I did. What was the point of your post?
-
Originally posted by aboutasoandthis
That's exactly what I did. What was the point of your post?
I can double the panorama size and draw the map over the panorama. This way, everything is perfectly sized. Think of the panorama as a template.
Why do you need a template? It doesn't matter if everything is perfect to scale as it was before, it'd be easier and faster just to remake it, theres not much of a point to make everything on a panorama just to redraw it somewhere else. I was/am a little confused on why you'd want a panorama to do this, and I thought you were going to use the panorama as the template for your map or that you were worried about remaking the whole map picture, and I thought thats why you wanted the template, so I just stated how a map can be easily made without a template.
-
It sounds like we're saying exactly the same thing but are going back and forth for no real reason. I'll try to explain myself better.
After you told me about how you can copy/paste panoramas in the Panorama folder, I decided to make a world map. Like you did before, I first made a basic 100*100 map. It had no special details, no mountains, nothing. It just had grass and water.
I went to 1/8 and took a screenshot of it, and I saved it twice. One was to be resized into the 100*100 pixel mini-map, and the other was to resized to a 1600*1600 template.
I wanted the minimap to look exactly like the map I was standing on. This is why I needed the template. Nomatter how I resized it, it would always be in proportion with the mini-map. I could times the template by 2, and make a still-in-proportion world map.
I did this because I didn't know how to have a minimap, with a world map that's larger than 100*100 tiles. I'd love to have my world map be as big as possible. I just couldn't do it.
Think about it. If I designed a 500*500 tile map in RPGMaker, how would I get a comeplete screenshot of it using the above method? I'd have to take several 100*100 tile pieces and put them together to not mess up. I think that's 25 different screenshots I have to make?
Again, I wanted a 200*200 world map with a minimap. I designed a "smaller" version first in a 100*100 tile screenshot, doubled it's size, and used that as a template for my 200*200 world map while still having a minimap.
Remember, what may be easy for you might not be easy for others. I only have free image programs so I have to find my own ways to do things. This stuff is a little harder for me.
Why do you need a template? It doesn't matter if everything is perfect to scale as it was before, it'd be easier and faster just to remake it, theres not much of a point to make everything on a panorama just to redraw it somewhere else. I was/am a little confused on why you'd want a panorama to do this, and I thought you were going to use the panorama as the template for your map or that you were worried about remaking the whole map picture, and I thought thats why you wanted the template, so I just stated how a map can be easily made without a template.
I didn't even start on the map. Plus, I'm a perfectionist. :p
-
Sorry, I just misunderstood you earlier :p
-
Aboutasoandthis, I think your ENTIRE map should be a panorama, because, if you use just chipsets, you might not have enough to work with.(example:Greeny Gram Chipset has greeny grams in it. Ruggle Red has ruggle reds in it. But what if you want a map with greeny grams and ruggle reds? Why, you could just export the maps, and compile the pieces on paint!)Oh, but you're saying, but how am I supposed to put passability and such? Why, you just use the blank tile ,set to transparent in events! You can always use Charsets for that! And now you could use a vampire castle and an awesome forest n your world map! Hurray.
-
Originally posted by EXO Muffin
Aboutasoandthis, I think your ENTIRE map should be a panorama, because, if you use just chipsets, you might not have enough to work with.(example:Greeny Gram Chipset has greeny grams in it. Ruggle Red has ruggle reds in it. But what if you want a map with greeny grams and ruggle reds? Why, you could just export the maps, and compile the pieces on paint!)Oh, but you're saying, but how am I supposed to put passability and such? Why, you just use the blank tile ,set to transparent in events! You can always use Charsets for that! And now you could use a vampire castle and an awesome forest n your world map! Hurray.
You're forgetting a few things. First, if its a panorama only, then it'll be harder to make things not passable, you wouldn't have water animation, and you wouldn't get the same effect walking through forests and such.
Plus, most of the time, if you want something from a differant chipset on your map, you can just paste the tiles you want on the chipset your using. If you want more towns and such, it'll be easier to just put them into charsets rather than trying to work with a panorama.