Level Editor using Image Data

Updated on July 11, 2017 in  [R] Scripts
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
7 on June 7, 2017

Hello everyone!

I’ve got a video coming up soon on creating a Level Editor in Unity by loading in color data from an image.

It’s a super cool technique that I got from Quill18 – Credit goes to him!

Stay tuned for the video! Until then you can DOWNLOAD THE SCRIPTS and play around with it yourself! 🙂

 

  • Liked by
  • BojoXZ
  • N4551M
  • Job
  • Dion Dokter
  • Leon Laci
Reply
1 on June 7, 2017

I saw Quill18 doing it. Can’t wait to see your video!

I really like the fact that you are going to do some more “advanced” stuff, and that you gave us the files before the video!

 

on June 7, 2017

Aye, getting the scripts to break and rebuild is my fave way to learn. So having them earlier is awesome.

Thanks Brackeys 😀

Show more replies
  • Liked by
Reply
Cancel
4 on July 11, 2017

I’m getting an issue where the prefabs are very separate from each other. Image for reference. Anyone knows why this might be happening? 

Wise
on July 11, 2017

probably the scale of your assets, check if they are set to 1×1 units. Or you could decrease the spacing/offset.

on July 11, 2017

Thanks @maxartz15. 

I think you were right with the scale. The units are 1×1 but the sprite was too small (22x22px). Hoe do I check the spacing/offset tho?

Guru
on July 11, 2017

You need to set the pixel to unit size to 22.
That will scaled 22 pixels to be 1 unit

on July 11, 2017

@Dion I was just coming here to comment about that lol. Thanks guys 🙂 learnt something new that I didn’t even know how it worked before. Appreciate it 😀 

Show more replies
  • Liked by
Reply
Cancel