xeed's Recent Forum Activity

  • 2 numbers per instance, x_pos and y_pos

    (I guess)...declared as Instance Variables

    Dont really know if i need 2-dimension array to store a grid in c2. But if it is, how do i access mapGrid[4,6] for instance? I did not find a solution for this before, maybe too cause i dont know most of the expressions. But also did not find a expressions.wiki here anywhere. The link to the expression help inside c2 does not work.

  • That helps a lot, Thanks! :)

    I did put the coordinates in an Array before, to use them later again for checking the nearest position to the square midpoints.

    But how can I access the single values now in this filled array? It is one-Dimensional and has 2 "Instance Variables", in which I hope they are the values for EVERY element, not for the whole array. ^^ If its global I dont see a way to solve this problem.

    (If I made this, I will create a little Tutorial about adjustment with nooby-placed objects. :D )

    <img src="http://85.214.39.20/shared/arrayAccess.jpg" border="0" />

  • I am from Germany. At this Point Thanks for your fast support. :)

    Made the ground now as tiled background, and as a symbolic grid. On the ground are many (transparent) PNG's on the upper layer. These are so much, that it would take too long to arrange them manually with click->x,y.

    I am gonna try this with an array. In the array I set the square postitions. Then I check for every sprite instance if it's near the upper left position of any square to be pointed at listed in the array. I think this is the best solution until tiled maps are supported.

  • So I need to put the for Each as Event, and the for as subevent of this Event? I'll try this right now.

    Another question is, is there a way to automatically set exact positions for every Sprite after they where put in? I dont speak about the ground Sprites with the for-loop. I mean that all Objects on a layer should be auto set in a raster, on dependence in which "square" x and y of the Sprite is pre-set per Drag and Drop. I hope you know what I mean, my english is not the best. :D

  • Thanks, this help a lot.

    For creating the columns the easiest way would be a second "for each" inside the first. But how can I put a "for each" inside another one?

    (interleaved loops)

  • So the duplicated Sprites do have instance numbers? That would help a lot! I am new at construct, could you tell me how to access an instance of a Sprite for the loop?

    And I could make the map with the Tile Editor too, yes. But I think c2 does not support these maps at this time.

  • The sprites need to be loaded at runtime, because these are many sprites and they could change by file.

    But the first thing i would know, if there is a way to automatically place inserted sprites in rows an columns at specific distances, in this case the height/width of the sprites.

  • Hi,

    I got a layer with 500+ same size Sprites, which must be set in continued rows and columns.

    In Flash I would give a value in an array the parameter "image" and "position", like array[0][0].image = "myfolder/image.png".

    My question is, Is there a way in c2 to handle multiple Sprites in an Array?

  • r49 fixes the problem for me (Windows 7 X64 / Radeon x1950 Pro)

    Waiting for Audio Support now :)

  • The whole white sheet shown in new Projects is missing.

    Installed the older 47.2 and all works fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also Text Objects are not visible.

    Any ideas how to completely uninstall construct 2 and its settings? recent Project are always present, whatever I try to delete.

  • Did try, no success.

    Radeon x1950 Pro.

    r47.2 worked fine. I did overwrite the old installation folder with new installer, which made me deinstall the old version before.

xeed's avatar

xeed

Member since 15 Jul, 2011

None one is following xeed yet!

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Email Verified

Progress

15/44
How to earn trophies