I herd you like map editors

This forum is currently in read-only mode.
From the Asset Store
Create your own adventure map with this easy to use asset pack.
  • So I put a editor in your map, so you can edit while you....


    <img src="http://dl.dropbox.com/u/666516/yodog.jpg">

    Details follow....

    From the Wiki:

    Operator 	Meaning 	        Example 
    at,  	Array access 	{1, 7, 4} at 2 (= 7) [/code:th8qqjys]
    With the format used for "Set XY":
    You can make an array:
    So basically what I'm saying is: with this you can simply paste an array into your events instead of importing an external file.
    Included in the cap is a basic editor, and an example of a pasted array.
    Hence the editor in your map... blah, blah, blah.
    Pimp my cap?
  • Interesting. Don't understand the stuff you added to the string with right click though?

  • Yes that's correct.

    Really all its doing is treating the position as a single component rather than a separate x, and y.

    If someone were to make a plug, this method would be ideal as a behavior to me.

    What you would do is add the behavior to the object, then open a edit screen like what we have for the bones, or path plug, click where you want the tile to be placed, and then in events have an event that would generate the tiles.

  • Cool, needs an erase though.


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • heh Scirra logo ftw!

    Actually, seeing that, I bet you could literally draw your map using the image manipulator, and an imported image, perhaps even using the canvas.

    Haven't quite figured out how to do an erase yet. Hence the 0,0 at the end, that's just there for formatting the last append.

  • I was trying to use this method to create some objects on a level editor i'm making. But I can't find a way to load it from the ini so it works.

    This happens:

    I made a global variable called "load_string" that will store the string from the ini. So far so good, the global var stored {{0,0},{20,20},{30,30}}

    On the events, i have a event that shows this text: global('load_string')@1 which displays the original string for some reason

    If i make the text show {{0,0},{20,20},{30,30}}@1 it displays {0,0} correctly

    tl;dr: it doesn't recognise an array if its inside a global variable?

  • Yeah it would be nice if that worked, but the array cant be modified at runtime.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)