Epiplon's Recent Forum Activity

  • rexrainbow

    Fixed. It doesn't give errors anymore. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi!

    First, really thanks for the plugin! I've been doing a research on the board looking for anything that can help on my project and this saved me a lot of work! <img src="smileys/smiley20.gif" border="0" align="middle" />

    Then I found something that could be a bug.

    Since Construct demands that you put the object on layout, I did as you on your example: destroy the object and then recreate it as a chess on the wanted position. The two objects were the Player and the Monster.

    But now, I tried to make the Monster follow the player (some tests before doing a pathfinder). This is what I put:

    <img src="https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/576206_329896807094234_2024773004_n.jpg" border="0" />

    And this is the logic block that is called before it, when setting Player and Monsters on the map:

    <img src="https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/313913_329897547094160_1531771269_n.jpg" border="0" />

    But then, it raises this error when I try to walk:

    <img src="https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash3/534513_329897557094159_1441120915_n.jpg" border="0" />

    Is the X property of Player undefined?

    Here is the project file:

    sendspace.com/file/718yc5

    If the Monster and/or the player spawns over a solid tile, just refresh it. The map is random.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've read the tutorials before, but I thought that loop iterated everything before going to the sub-events. Then I read that again and managed to work just fine!

    It was happening that it wasn't creating the objects in the screen, leaving it all white. But now with a simple trigger and For Each statement, the objects appeared.

    And guess that the array won't be necessary, by the way.

    Thanks for your response! <img src="smileys/smiley4.gif" border="0" align="middle" />

    I'm more excited about it now.

  • Hi. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I'm new to Construct 2 and have been testing it for some days, to see what features it can provide to me.

    Then, I was testing the arrays feature to create a rectangle with objects type, so later I can implement a random dungeon algorithm.

    But then, I got a problem with it and although I have a background on programming and even OOP, couldn't figure out what is wrong.

    Here are the screenshot of the Event Sheet:

    <img src="https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/599940_326755267408388_1328991663_n.jpg" border="0" />

    My idea was to iterate over a bi-dimensional matrix where the values of each block doesn't matter, only the index of the iteration, since I can't put a For statement inside another.

    And the layout, sheet and layer are correctly associated (leaved them to default, only changed the name).

    And the object Walls have 32x32 size, but this is easily handled.

    My question is: is there anything that I should've done first? Why it doesn't iterate the loop?

    Link to project:

    sendspace.com/file/qqnsna

Epiplon's avatar

Epiplon

Member since 2 Jul, 2012

None one is following Epiplon yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies