danielmonteiro87's Forum Posts

  • 8 posts
  • You do not have permission to view this post

  • So, I have a sprite with behavior solid and a tag.

    In the code, a sprite "Wall" should let him pass through collision filtering.

    It does not work, already tried to change name of tag, enabling the behavior, nothing seems to work.

    Anybody knows the solution for this?

    The image of the forced FALSE on collisions enabled is the only way the sprite could pass through, but then it was able to pass through everything, so it's not a solution for my problem.

  • So, I have a sprite with behavior solid and a tag.

    In the code, a sprite "Wall" should let him pass through collision filtering.

    It does not work, already tried to change name of tag, enabling the behavior, nothing seems to work.

    Anybody knows the solution for this?

  • So, I'm listing all the atributes for the player (sprite object), and for now I have 33 global variables referencing the atributes. It seems right, since the player travels through various layouts.

    A friend of mine told me too much global variables can impact performance, and that I should use array to store the values.

    OK, it makes sense, I think.

    BUT if my event for movement is a function like

    Input button is pressed >> Move PlayerSprite (SPEED*2) at angle α

    (with SPEED now being a global variable)

    If I SPEED change it to an array value, it does even make any change? Because the game will have to access the array value every single tick anyways...

    Am I overthinking it?

  • So, I've been using C3 for a year or so, and one of the basics to create a game is that you can only create and object in a layout if that object was previously present, even if it was destroyed at the start of the layout.

    But I opened the Space Shooter Template ( https://editor.construct.net/#open=template-asteroid-shooter ) and the layout has almost no object placed, but when you run the layout it loads every object from the second layout.

    How do I create objects like that?

  • Well, that's a bummer...

    Anyway, thanks for answering.

  • Bullet behavior has a property of setting angle of motion automatically or not with the object's angle. It can be selected while on the project, but during the game I can't change it through events.

    The actions of the behavior that change the angle require you to SET a angle. I just want to disable/enable the automatic setting box. How can I do it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, blackhornet !

  • So, I'm making a jigsaw game, and everything was OK, until I updated the Construct to r285.

    Now there's a visual bug/glitch when the puzzle image shuffle the pieces.

    The thing is: I'm using a template from the asset store, so I don't know if I can post the code here or if it's againdt the law/rules.

    If it's OK, I will post the code of how the puzzle is created.

  • 8 posts