MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Developer Discussion v
« Previous 1 … 3 4 5 6 7 … 16 Next »
Removing separation in tilesets?
MFGG Forums MFGG Developer Discussion v
« Previous 1 … 3 4 5 6 7 … 16 Next »
Removing separation in tilesets?
MFGG Forums MFGG Developer Discussion v
« Previous 1 … 3 4 5 6 7 … 16 Next »
Removing separation in tilesets?
Mark All Posts Read Today's Posts

Removing separation in tilesets?
SuperSledgeBro
Hammer Bro
Members
Iso Collab Contributor MFGG 19th Anniversary
#8
01-08-2021, 08:15 PM (This post was last modified: 01-08-2021, 10:39 PM by SuperSledgeBro.)
I made this code in Game Maker Studio, it draws the tileset you want without the separation:
Quote:tileamount_w = 10
tileamount_h = 10
tilesize_w = 16
tilesize_h = 16
sep = 1
background_id = bg_tileset

for (i = 0; i < tileamount_w; i += 1)
{
for (j = 0; j < tileamount_h; j += 1)
draw_background_part_ext(background_id, (tilesize_w + sep) * i, (tilesize_h + sep) * j, tilesize_w, tilesize_h, (tilesize_w * i), (tilesize_h * j), 1, 1, c_white, 1)
}
Specify the amount of tiles to draw with "tileamount_w" and "tileamount_h" and the number of pixels in the separation in "sep". It doesn't save to an individual PNG file, but you can take the easy route and just... Press the print screen button.
[+]Spoiler
[Image: V4bzhla.gif]
[-] The following 1 user Likes SuperSledgeBro's post:1 user Likes SuperSledgeBro's post
  ↳ VinnyVideo
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Messages In This Thread
Removing separation in tilesets? - by VinnyVideo - 01-05-2021, 10:43 PM
RE: Removing separation in tilesets? - by Vert - 01-06-2021, 07:48 AM
RE: Removing separation in tilesets? - by VinnyVideo - 01-06-2021, 09:40 PM
RE: Removing separation in tilesets? - by Simpson55 - 01-07-2021, 12:23 PM
RE: Removing separation in tilesets? - by SuperSledgeBro - 01-07-2021, 02:00 PM
RE: Removing separation in tilesets? - by VinnyVideo - 01-07-2021, 08:42 PM
RE: Removing separation in tilesets? - by WasabiCatto - 01-08-2021, 04:19 AM
RE: Removing separation in tilesets? - by SuperSledgeBro - 01-08-2021, 08:15 PM

  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode