Jump to content


Photo

Copy and Paste Tiles?


  • Please log in to reply
5 replies to this topic

#1 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 215 posts

Posted 07 September 2012 - 05:42 PM

Hi everybody,

is there any way of copying existing tiles in a room (perhaps even multiple tiles at once) and paste them somewhere else in the room without having to select them from the tile page first?
This would be really handy because I work with multiple tile pages per room and it's tiresome to select the proper tile page first all the while having the tile that I need right there in the room in front of me.

If this doesn't work in GM 8.1 does anybody know whether it works in GM:S (perhaps in the new version 1.1 update)?

Thanks in advance,
Stefan
  • 0

#2 Mike.Dailly

Mike.Dailly

    Evil YoYo Games Employee

  • Administrators
  • 1482 posts
  • Version:GM:Studio

Posted 07 September 2012 - 09:15 PM

It doesn't work in GM8.1, but has been added to V1.1 of Studio.
  • 0

#3 daspirit

daspirit

    The Quiet

  • GMC Member
  • 500 posts
  • Version:GM:Studio

Posted 07 September 2012 - 09:16 PM

No, you cannot directly copy and paste tiles in the room editor.

One thing you can do, however, is open the room file in notepad. All GameMaker Studio files are saved in an XML format in folders where you saved the project, so it should be easy to find the tiles and simply copy and paste the text for them into another room. Be warned, you could mess up so do this at your own risk.
  • 0

#4 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 215 posts

Posted 13 September 2012 - 05:03 PM

It doesn't work in GM8.1, but has been added to V1.1 of Studio.


I've downloaded GM:S (free version) and looked for a way to copy and paste tiles directly in the room. I couldn't find any?! The manual also doesn't mention that point.

And thanks "daspirit". I'll try and see what I can do with the XML file.

Edited by TheMagician, 13 September 2012 - 05:04 PM.

  • 0

#5 brain01ford

brain01ford

    GMC Member

  • New Member
  • 1 posts
  • Version:Unknown

Posted 19 September 2012 - 08:58 AM

Hi Everyone,
I don't have any idea about this but i also want to know that how can we copy and paste tiles directly in the room?, I searched on google for this but i can't find any satisfactory result so if any one know about this please post more information.
  • 0

#6 daspirit

daspirit

    The Quiet

  • GMC Member
  • 500 posts
  • Version:GM:Studio

Posted 19 September 2012 - 02:30 PM

As I've said with my method, it is possible, but you have to be using GameMaker Studio.

Open up the folder where you saved the file on your computer. This will most likely be Documents>GameMaker>Project>etc (default location). Open the folder and you will see another folder for rooms. Open that and select a room and open it using Notepad (or Notpad++ if you have it since it looks neater :P). There you can find your tiles in a text based format. Simply locate copy the text and paste it another room file. It is possible to mess up your files this way, so it is recommended that you back everything up first.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users