thiago's Forum Posts

  • I found out what might be the problem. At least what was causing my Line of Sight not to work with my platformer game. If you, like me, use the character pivot set to bottom it is causing the line of sight to be buried in the ground. Once I changed the pivot a few pixels up it worked.

  • I am having that same problem. Any clues?

  • Had the same problem. Helped a lot!

  • I want a game to keep running even when the player is not looking (Cookie Clicker style).

    I tried to change the HTML like lennaert said but it didn't work.

    Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, everyone

    I am getting this error when trying to request the Facebook hi-score. http://www.imageupload.co.uk/iEs

    I have done this so many times and now I can't figure it out whats is wrong.

    Any ideas?

  • If we could just create a group of objects and save them as an object would be GREAT. That container is not that friendly.

  • How can I reset the scores of a Facebook game?

  • My bad. Sorry.

  • Let me try to explain what happened:

    I have sprite with 7 frames, each one has a different character.

    I created a new sprite using one of the characters image. When I run the game inside C2 it works fine, but when I export it, the character I used on the second sprite is removed from the first sprite's atlas and that messed up with my game. I had to created a different image to use on the second sprite to make it work corretly.

    The bug: two sprites sharing the same .png file isn't working.

    C2 version: 152

  • I liked that solution, mindfaQ .

  • Ignore my last post.

    But still, I don't think you can do that.

    The variable reads the whole value as string, I guess.

  • Why don't you set the text diretly using the first 2 variables?

    SetText > variable 1 & newline & variable 2

  • I don't if that is possible. Because the "newline" command must be outside the string:

    "first line" & newline & "second line"

  • You could use an Array with the numbers to define each enemy, and when that kind spawns you remove that number from the Array.

    Are you using different Sprites for each enemy? Why don't spawn the Sprite instead of using the Family? Then you will be sure to spawn them only once.

  • I would go with the Text Box object, like Jubalicious87 described.