ebrar's Recent Forum Activity

  • Thanks beufreecasse,

    Sorry for my bad explanation. I'll try again. If still not understood please don't hesitate to demand further explanation.

    When player touches a grid, grid's color changes. I want to set its original color back when player touches again this colored grid.

    here is the capx, but i think that won't help much. (comments are not in english too)

    As to your advice, if i add instance variables i think touch condition will change them continously as long as grid is touching. But maybe I am wrong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Finally I found this tutorial :D

    awesome tutorial

    and thank you too

  • Hi again,

    Topic's subject is meaningless, sorry, but here is the explanation:

    I want to use touch input to change grid frames but also to undo these changes. When we touch an untouched grid this one will change color but when we go that path backwards they will turn their original frame, that's what I want to make.

    I know the events below are obviously wrong but I put this here to learn how to avoid this mistake.

    <img src="https://dl.dropboxusercontent.com/u/87325929/problem.png" border="0" />

    thanks in advance.

  • thank you so much great help.

    edit: Sorry, i misunderstood. Don't I try to upload (and fill the arrays), instead of download? I already can download the files manually, but can't upload them.

  • Is it possible to fill these array instances (with different json strings) in one single event or i must use as many events as number of array instances?

    I couldn't figure out how.

  • thanks again newt :)

  • thank you

    I'll try. But there will be plenty of array instances then. Because i am planning to make hundreds of levels. At least aproximately two hundred. Is that a problem?

    And i didn't understand "There are several advantages to using instances such as "for each", and even containers." part, sorry. Can you explain it a little bit, if you don't mind?

  • Hi everybody,

    I am generating [edit: MANUALLY] levels of my game and store them as json files. After I prepared them all, my goal is to load all information of these levels to an array and use them in game. I have tried this method for first level and it worked. But I can't find the right way to do this for multiple levels. For example I have several json files now but I don't know how to load them all to my array. How can I do that?

    If this explanation is not clear enough please let me know.

    here is the capx

    and here is what my levels will look like

    <img src="https://dl.dropboxusercontent.com/u/87325929/simplePath.png" border="0">

    <img src="https://dl.dropboxusercontent.com/u/87325929/complexPath.png" border="0">

    Thanks in advance.

  • Thanks again I hope this works.

    edit: :/ free version limits exceeded.

  • Yann,

    Is it possible to use a pre made list of paths; calculating them once (even in somewhere else) getting the info and storing it in game for further use? Or must I calculate them in game?

    If this is possible, using a 6*8 grid won't crash browsers.

  • Thanks a LOT Yann :)

    I'll try this and give feedback soon.

    Maybe I should consider using a 4*6 grid like yours to keep calculations at a reasonable amount.

  • Pathfinding behaviour was a bad idea. Couldn't make it. It seems there must be a more convenient way.

ebrar's avatar

ebrar

Member since 3 Sep, 2012

None one is following ebrar yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies