Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Position on World Map?
« previous next »
  • Print
Pages: [1]

Author Topic: Position on World Map?  (Read 2905 times)

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
Position on World Map?
« 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.

http://i75.photobucket.com/albums/i316/aboutasoandthis/Tutorials/sCREENSHOT.png


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.)
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: August 07, 2006, 02:34:31 PM »
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?
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
It's easier to draw.
« Reply #2 on: August 07, 2006, 02:42:59 PM »
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!
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #3 on: August 07, 2006, 03:39:14 PM »
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.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
Huh?
« Reply #4 on: August 07, 2006, 04:19:56 PM »
That's exactly what I did. What was the point of your post?
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #5 on: August 07, 2006, 06:10:00 PM »
Quote
Originally posted by aboutasoandthis
That's exactly what I did. What was the point of your post?


Quote
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.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
Okay.
« Reply #6 on: August 07, 2006, 08:57:42 PM »
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.

 
Quote
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
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #7 on: August 07, 2006, 09:10:15 PM »
Sorry, I just misunderstood you earlier :p
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline EXO Muffin

  • Acolyte
  • *
  • Posts: 466
(No subject)
« Reply #8 on: August 07, 2006, 10:48:59 PM »
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.
Logged


Ladies and gentlemen, this is Chewbacca. Chewbacca is a Wookiee from the planet Kashyyyk. But Chewbacca lives on the planet Endor. Now think about it; that does not make sense!

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #9 on: August 07, 2006, 11:00:01 PM »
Quote
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.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Position on World Map?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum