lionz's Forum Posts

  • That would work too if its appropriate to the game in some way, but what I mean here is you set the array at 0,0 to the literal entry of "It would be nice to have a line break here"&newline&"but as you can see.." then when you set text to array at 0,0 it would have the line break.

  • Not totally sure what's happening here but the score resets to 3 because of some events where you say if object is outside of layout add 1 to score. I guess it skips these events when you first go in.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's up to you to remember the login and password, not sure how we can help with that..

  • Set array value to "text"&newline&"moretext"

  • If it's always on object clicked then you can use mouse is over object and mouse button is down, set object to mouse.x. When you release mouse button it won't be true so will release the object.

  • Variable looks alright if you check it in debug mode, the issue is setting the text, you can use set text all the time so it's always showing the correct variable rather than in a trigger once. If that doesn't work you'll have to share the new file.

  • Ok great :)

  • Lets see the new events?

  • You call function on start of layout before array is filled with data. Call it after AJAX complete.

  • Try the system condition 'for each' and pick the worm object.

  • The variable seems to be reducing as expected, just the text object displaying it is not updating. If you move it to every tick you can see it's fine, so you need to move the 'set text' to a better place. You have other bugs though, at the end of a level it subtracts 2 chances instead of 1. A few things to fix.

  • The variable is correct but the text displayed is wrong. Make sure you are updating the text after the variable updates. I saw my chances were 1 but the text object is showing 3.

  • There's probably some missing events. You can upload to dropbox and post the link here, or add me on discord ant#4434

  • i don't see why you have to limit yourself to a sprite? using a sprite might make thinsg easier in some case (animations, editable bounding box, solid collision) but using a tiled background is pretty valid if you have the right use case for it. i mean it's just a tileable sprite without some of the functionality ? just cause it has background in the name does not mean it has to be exclusively in the background? you can use it health bars and a ton of other stuff (non background) ?

    Again I'm not talking about UI, I'm referring to its use as an enemy. Hes using a tiled background as an enemy and someone suggested to use the tilemap object as an enemy, I don't think that's great but that's my opinion.

  • I guess it does, I think loopindex is just for system loops. For the array you can use the co-ord instead of loopindex so newline & array.curX