Giafrank's Forum Posts

  • Deduplicate and Recompress and it work

  • I also tried deleting the video and inserting a simple sprite (image) but it continues to be a black screen

  • I created my first game in Construct 3 and it works very well on the platform. I exported my game to HTML5 and uploaded it to netlify.app but I can't see the initial video. The game and sounds work fine but I can't view the initial video. It was uploaded to MP4 and transformed into WEBM directly from Construct. Does anyone know how to fix this problem?

    Tagged:

  • I've already placed 4 rectangles and that's where it sticks. Maybe I didn't quite understand what you mean

  • I have a physics ball that is thrown by the sprite, when it is close to the wall at a not very fast speed, it sticks instead of bouncing. How can I avoid this?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • > I read something like that:

    >

    > "It´s a good idea to have a single (invisible) sprite without animations that serves as the characters collision box and have the actual sprite pinned to the invisible one."

    >

    > But I didn't quite understand what it was. Could someone help me create it?

    Please see the example. There is a hidden hit box.

    https://editor.construct.net/#open=kiwi-story

    I recommend to read the other examples.

    I checked the example, very interesting. Is this the yellow object colliding with the purple "collision" object?

  • I didn't see any responses yet so I'll take a stab at it.

    I made a quick video to demonstrate using pin-to and a hitbox concept.

    I used overlap and did not make the hitbox invisible for the demonstration.

    There's a few other choices you can make to meet your needs. There are a couple of ways you can set the pin. I chose to do it based on an object and it's image point. You can modify that within your sprite to create a second image point such as your sprite's feet and refer to that. It will be messy because you have to set up that second image point for each frame and where the feet are in each frame compared to previous. This is common with weapon animation. But I don't want to get off topic.

    I am using a hitbox myself to engage and disengage an enemy.

    I show you my simple code and while I have not restricted any type of sprite I am searching for an enemy overlap with the player. You may be able to do that with the ball sprite and the feet and a different event for other similar needs. For example, I would do this for other objects such as NPCs, or clickable objects where a block behavior may be too restrictive for me. Anyhow, I don't want to get off topic.

    https://youtu.be/XGJi1oAOA7I

    So if I understand correctly, I create a hitbox around the player and if it overlaps with the wall, I do "stop direction"? (in my case 8 directions) right?

  • I read something like that:

    "It´s a good idea to have a single (invisible) sprite without animations that serves as the characters collision box and have the actual sprite pinned to the invisible one."

    But I didn't quite understand what it was. Could someone help me create it?

  • I created a character with several running animations. When this hits the wall, the animation creates a bug. I would like to make it stop only when it hits the wall but I can't in any way. I can't create an invisible square because the collision is in his feet so it would conflict with the ball.

    Tagged:

  • Exactly. I'm trying both ways but for ball control during the run I noticed that with physics it is possible to manage it by decreasing the impulse, while with bullet it is very manual

  • I would like to ask this question to anyone who has used both. I'm creating a 1v1 football game without ball bounces, do you think it's better for the ball to be physics or bullet?

  • Thank you, it works, now I will use it in my game!

  • 2, thanks