imuniz's Forum Posts

  • Oh God, that's what I was missing, the "On completed" event.

    Thank you kriand.

  • Kyatric thanks for your answer.

    I did read all this stuff already, and I did understood then, but the manual does not explain how to use the Dictionary object (it may explain here - construct.net/make-games/manuals/construct-3/plugin-reference/dictionary - but its very vague).

    I have already populated my dictionary through the Dictionary Editor.

    What I have now is:

    : On start of layout : Ajax : Request New Dictionary.json (tag "DictionaryFile")

    Dictionary : Load JSON string AJAX.LastData

    This is how the manual explains it.

    But when I try:

    : Every Tick : txt_Name : Set text to Dictionary.Get("0")

    It does not work. Any key that I put in Dictionary.Get will return zero, and the text will show 0.

    I'll be checking the use of Array for this, thanks again for your tip! But I still need to understand how to use the Dictionary properly.

    Isaac

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You add a variable "yLimit = 1000". And then, every time that the object.Y is greater than yLimit, you add yLimit to itself and trigger the event that you want.

    I made a little example, it' in my Drive:

    drive.google.com/file/d/1DrZbXNXvIXdRJwF_-OqsgrUXO5u3IWfe/view

    Hope it helps,

    Isaac

  • Hello community,

    So I have a little quest ahead, and I can think of a way to do it, but I do not know if this way would be the best and smarter, so I need some advice.

    I have several characters, and the screen where the player selects which one to play. You just swipe to the left or right to navigate through the characters, only one character appears on the screen at each time.

    Below the character there is a text indicating it's name, so the text changes at each character.

    How do I save all the names and display then according to the selected character?

    The way I am thinking is to have a Dictionary and save all the names, then get them through the keys. That's what I am trying to do now, but it is turning out to be not so simple as I expected because it needs Ajax (or am I wrong?) and I never used Ajax before.

    If this way is really the best way to do this, please can you explain me how to retrieve the values from the Dictionary Editor? Using ' Dictionary.Get ' doesn't work, I'm missing something.

    Thank you so much for your time and help :)

    Isaac

  • Just set editor.construct.net as a trusted site

    Oooh, that works. Thanks fredriksthlm

    In Chrome you go to settings > advanced > content settings > popups > and add it on 'allow' field.

  • How to prevent that "Popup Blocked" message every time when I run the game?

    If I press 'Try again' it works, but you know, why not get rid of it?

    If you don't know what I'm talking about, here's the tldr:

    Every time I play my game, and sometimes when it will save automatically, a "Popup Blocked" popup appear, saying the browser may have blocked it and I should change my browser settings, but I don't see any warning on the browser and I don't find this setting. How to get rid of it?

    Thank you,

    Isaac

  • Currently version is r111 stable

  • As I like to use c3 out of browser, I create a shortcut from chrome and open it as a window, I find it more comfortable. Problem is, everyday, or every time I start my computer, when I open the shortcut from my home screen, it will open, but whatever project I try to open, it give Error: failed to open project. So I always need to come to browser, open c3 and create another shortcut, and from this second shortcut my projects are loaded and open normally.

    Does this happen with everybody?

    Not a real problem since it's simple to deal with, but I thought I should report it.

    Big hug from Brasil ^^

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Don't use solid behavior. Instead, use "Enemy->On collision with Door" to stop enemies from passing through doors.

    Cool, Thanks:)

  • That's interesting. I tried and no success too, hope it's possible.

    I'll stick around to see if someone knows :p

  • Hello mates; I need some advice, appreciate if someone can help!

    It's a top-down and player has the 8Direction behavior;

    I have door objects with solid behavior;

    I want my player to ignore the solid behavior and pass through the doors, while the enemies don't.

    I found some old threads on this, but couldn't find something that works for me.

    I've been trying this on events but that doesn't sounds very obvious, do you guys know some trick that I could use?

    Thanks in advance!

  • Nice, they seems to be good indeed, I'll have a look and pick some, thanks for the tips mates!