Asset - Demo PNG_2_room

Discussion in 'Marketplace' started by csanyk, Jul 3, 2016.

  1. csanyk

    csanyk Member

    Joined:
    Jun 20, 2016
    Posts:
    821
    PNG_2_room is a simple, easy to modify demo for how to populate a room with instances according to a color coded image file.

    Each pixel in the source image can be color coded to correspond to an object or tile in your game. Use the script room_instance_add_from_png() to populate a room with instances using the image as a key.

    You can modify the script to use whatever colors you wish to represent whatever objects or tiles in your project.

    With this script, Instead of using the built-in room editor, now you can use any image editor to create maps for your game more quickly!

    You can even allow players of your games to create their own custom maps for your game, using whatever image editor they choose as a resource editor for your game!

    A simple demo included in the asset shows how to use the script.

    Full documentation at: https://goo.gl/z3du5f

    https://marketplace.yoyogames.com/assets/4070/png_2_room

    Please leave a review if you bought it!
     
    Last edited: Jul 6, 2016
    icuurd12b42 likes this.
  2. csanyk

    csanyk Member

    Joined:
    Jun 20, 2016
    Posts:
    821

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice