GM:S 1.4 technics for handcraft isometric levels (SOLVED)

Discussion in 'Programming' started by Felipe Rybakovas, May 14, 2018.

  1. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    Hey Guys!

    I'm here to get new ideas on how can I achieve this... Currently I already tried some cases like:

    • Tiled Alone. Not even close to possible.

    • Used the TiledToBinary from @Mick. (This one kinda works good, but it's hard to get it configured at first... And maybe I'll hit one case on having many singular objects, difficulties on code special events inside the level, but for sure can work trough with some effort).

    • Used GMare to build ortho maps and then translate then to draw isometric sprites via scripts. (Not very good since it's hard to get the real view of the map during the build phase and hard to set different types of sprite walls/floor etc... but is relative easy to do)

    • Using ortho maps in Tiled is also a final option, but will hit the same problem using GMare

    Port the game to GameMaker Studio 2 also it's not a option.


    You guys have some ideas ?
     
    YanBG likes this.
  2. JackTurbo

    JackTurbo Member

    Joined:
    Oct 19, 2016
    Posts:
    824
    Could always build your own editor. Most maps in isometric based games are essentially just 2D arrays filled with terrain. Could build an editor that saves the data to a ds_grid and then outputs it to an ini file or something?

    Probably only worth the time investment if youre planning a pretty big game though.
     
  3. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    Yes, in fact I started something based on the isometric tutorial inside gamemaker.
    The fact it's that the time I would be spending on doing a perfect level builder for my needs, I would be better doing level designs and etcs....

    I really dont want to spend much more time on tools if is possible not to.

    But yes, this is also an option.... but the very last.
     
  4. YanBG

    YanBG Member

    Joined:
    Jun 25, 2016
    Posts:
    576
    Can't think of any better than making in-game editor. Would allow players to create their own maps too(think of house wall placing in a survival game). I was planning implementing that myself. Tiled etc is useless for placing houses and enemies, no?

    For the terrain loading is either a huge csv file to grid, but that's pretty slow(i've tried it) or color coded bitmap. Green pixels' value is grass tile(can be varied when actually placed), blue is water etc. I've used this premade image for the turn-based strategy province map. Load it and read from a buffer for fastest. Then you just ship all level folders and files with the game, easy?



    Similar editor from another game i follow: http://www.rpgcodex.net/forums/inde...etric-rpg-hardship.113429/page-5#post-5412110
     
  5. CMAllen

    CMAllen Member

    Joined:
    Mar 2, 2017
    Posts:
    855
    The bitmap/png method is fine if your tile data is relatively simplistic. If you've got tile textures and masks that are separate, can be drawn using arbitrary color values, or alpha values, etc...that method starts breaking down. And, yeah, it's only fine for the basic tiles. Doesn't do anything for walls and so forth. You'd have to create an editor to handle all of that, so you might as well make an editor to handle all of it -- the basic tiles aren't that much more work.
     
  6. YanBG

    YanBG Member

    Joined:
    Jun 25, 2016
    Posts:
    576
    You can add a lot of values to the macros for all the walls, no need to use only the built-in colors. Although i've only loaded bitmaps and haven't written/saved any.

    Loading from txt/ini 200x200 grid might freeze the game even.
    [​IMG]

    But saving the grid to json will work best actually. I heard it here, ds_grid_write is said to have issues.

     
  7. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267

    Hey Yan, thanks for the ideas.
    I'll take a look on the forum.
    But I really want to avoid to code this kind of thing... This will be very time consuming indeed. I dont have any doubts about it...

    In fact with the Tiled2Binary you can even put objects and etc inside the level, not only floor tiles and walls. You should take a look there, it works well, in fact it's the best one I ever seen to use Tiled with GameMaker Studio.

    Tiled2Binary has a binary reader inside it.... and it can locate the related object at you project and put it on map. The problem in this solution is that I'll need to create a single object for every piece of map of mine.... And you can relate that they are not low count.

    I tried the bitmap color reading to generate fixed rooms when I generate the procedural ones... This is already implemented but I think this have no use in this case.

    As @CMAllen said, this only works if you have simplistic tile set for the map.

    I want to do complex and well designed maps... this kind of solution will not bring the satisfaction(or even a good pace) to create handcrafted maps.
     
    YanBG likes this.
  8. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    I would build a in-game level editor if the player would use it...

    But this is not the case now in the new direction of the game.
     
  9. YanBG

    YanBG Member

    Joined:
    Jun 25, 2016
    Posts:
    576
    Fair enough, i'll keep an eye here if other people share their experience.

    Aren't there any map editors on the marketplace?

    Btw how many maps do you plan to have and should it be so multiple people can design them simultaneously?
     
    Felipe Rybakovas likes this.
  10. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    I dont have all that planed yet... The idea is to have one location for each boss.... Until now I have something between 4 or 5 bosses / mini bosses .
    The idea is to have 10 or 12 so we can build a good story with satisfying length.
     
  11. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    I was able to achieve this level of level design using the tile2binary solution

    [​IMG]
     
    Agreeable likes this.
  12. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    For sure Tiled2Binary is the best option to choose. At least for 1.4

    [​IMG]
     
  13. YanBG

    YanBG Member

    Joined:
    Jun 25, 2016
    Posts:
    576
    Is the room editor of GM2 better for isometric than 1.4?
     
  14. NeZvers

    NeZvers Member

    Joined:
    Mar 24, 2018
    Posts:
    320
  15. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    For starters... get 2.x already! ;)
    In all seriousness, unfortunately they took away the isometric feature of the room editor. Some people were pretty upset about this.
     
    YanBG likes this.
  16. YanBG

    YanBG Member

    Joined:
    Jun 25, 2016
    Posts:
    576
    @NeZvers thank you! I already use 2d grids and draw the tiles with iso offset but this looks interesting.
    @hippyman yeah i was asking for the room editor. In 1.4 it's pretty bad already for hand-crafted maps.
    That sentence made me wonder because a friend with GM2 asked me if it's good for hand-crafted iso, i told him to make the maps first in Tiled.
     
  17. Felipe Rybakovas

    Felipe Rybakovas Member

    Joined:
    Apr 12, 2017
    Posts:
    267
    I can assure... Dont buy GM2 if he wants to do handcraft isometric maps...
     
    YanBG likes this.

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