Giafrank's Recent Forum Activity

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

Giafrank's avatar

Giafrank

Member since 21 Jul, 2023

Twitter
Giafrank has 1 followers

Trophy Case

  • 1-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies