imuniz's Forum Posts

  • Hi Nepeo , thanks for the help.

    Apparently it was happening only with that array. Strange right? I just cloned the defective array and deleted him keeping his clone and the editor is opening normally.

    Thanks again for the support :)

  • Since today I noticed that when I open an array through the Files / Arrays folder in the project bar, the .json file opens with the array data on text and a little window with the array editor opens too.

    But before what would happen is that only the array editor, with the columns and rows, would open.

    But I don't remind seeing any change about this in the last versions release notes (I'm using r134 beta).

    Also, there is a issue that when I insert some data in the array editor, the engine will ignore it and when I debug the game the array doesn't have the data I just inserted, but if I insert the data in the .json as text it will load normally.

    What's happening? Are this happening with you too, the .json opening instead of the editor? And if not, why would this be happening in my c3 and how could I fix it?

    I thank you in advance for the help.

    Tagged:

  • tarek2 thank you so much! Here's what I did and its working wonders :)

  • Hey guys;

    Do you know how can I do this? I have an array with one column changing it's values often; I must store the sum of the values in this column and store them in a variable.

    To explain further, I have a layout with some sprites for the player to select, each sprite has a price. When one sprite is selected I upload it's price to an Array. So I do: For each Sprite, if is selected, Array: Set value at (4, loopindex, 0) to Sprite.price. So I fill one column of the Array with the values of the selected sprites, and when a sprite is not selected I do Array: Set value at (4, loopindex, 0) to 0, letting the 4th column of the array filled only with the values of the selected sprites.

    What I need to do is show in the screen the sum of this array column, and this is being tricky. Here's a screenshot of my code:

  • AllanR , many thanks, that made me look further.

    The problem was that I had put an "On tap" event inside a for-each loop and it was apparently bugging all the Touch object. Face palm done, lessons learned. <3

  • You might check the collision polygon.

    Thanks newt; forgot to mention that the collision polygon shapes are all right!

  • Hey guys;

    I'm running into some weird problems with the Touch object, I would like to know if someone recognize this.

    The thing is that it happens only in one layout. The other layouts are all working fine.

    In this layout I have some sprites in witch the player can tap and something may happen. But since yesterday the "On tap object" event started not working properly. I would tap the object and nothing would happen, the event would not be triggered. It puzzled me.

    The other thing is that sometimes when I run the game the problem is not there, and sometimes (most of the times) it is. And this got me thinking about the code being too heavy and some parts of it may be lagging... although I don't really believe this is the reason.

    So I changed the "On tap object" for the "On double-tap object" event, and the problem persisted. I tried "On hold over object" and the problem persisted, plus, with this third alternative, my game just stops when I hold over the object, for no apparent reason.

    I tried the Remote preview and in the phone the same things happen.

    I tried opening an older version of the game to see if it was a problem with c3, but in older versions it's all working fine. So I think this means that I broke my game at some point yesterday, but it just makes not much sense how something like this would happen, since I was working in Arrays witch is something totally different...

    This is new for me, never happened before and I am intrigued. I know there's a reason, there's always a reason, and if someone have any clue why would this happen please let me know!

    Cheers ;)

  • Hey, the suggestion page is here: construct3.ideas.aha.io

    See the first fixed post in this forum.

    I just made a suggestion there: construct.net/en/forum/construct-3/general-discussion-7/keyboard-shortcut-to-pause-pla-139391

    Cheers.

  • Hey, just sharing with you the suggestion I created at the C3 suggestions page, because maybe you all would like to have this simple feature too.

    I suggested a keyboard shortcut to pause/play the game during debug mode, because in some circumstances you may have to do it quickly and having to use the mouse can fuck you a little in your debug process.

    Please have a look and if you want it leave 3 votes in name of our debugging fun.

    Here it is: construct3.ideas.aha.io/ideas/C3-I-631

    Thanks :) ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I can't be out canoe tripping and camping it's because there is snow on the ground and ice on the lakes... and so I make video games.

    Life is good ^^

  • I think Google changed it to an "Install as app" option as of Chrome 70. Do you see that in the menu instead? When C3 detects it's available, it can also show it in its own menu.

    Oh, right. Yes, I see, and it works, thanks :)

  • Hmm, still experiencing the same thing until now, Isaac?

    Just tried. Yes.

  • Hey! I updated to the new Release r124 beta, and in Chrome, when I go 'More tools ~ Create shortcut' there is no more the option "Open as window", so when create and open the shortcut it opens with the regular browser window. Did it happened with everyone? I like c3 window out of browser :(

  • You can use System > Create Object(by Name)

    Then put in Object Name: choose("Obj01","Obj02,"Obj03")

    Uuh, I didn't knew 'choose' could be used like that. I thought it was just with numbers. Neat. :)

  • I think you can just set the position of the sprites to its position + 10 if they're overlapping? And if you're doing it in game you may want to use the new tween behavior to move them.