CGSpot's Forum Posts

  • 12 posts
  • You have two "Set dx" actions. The second one should be "Set dy"

    Oh My..........!!!!!

    How poor was my concentration...

    Thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have two different Construct files with the same events/code for player movement, but they behave differently.

    In the wrong_movement file, the player teleports to the mouse click area.

    In the right_movement file, it works as expected.

    I don’t know what’s wrong with the wrong_movement file. Can anyone please explain? I’ve attached both files.

    drive.google.com/drive/folders/1XBR2T76ZVUWxcUXIiZW_FpWFj9bOmh8i

    Note:

    The wrong_movement file was imported from Construct 2 to Construct 3.

    The right_movement file was created directly in Construct 3.

  • > > You probably don't want to spawn a bullet every tick, instead on the left conditions add an 'every X seconds' condition so you can create a firing rate.

    >

    > Thanks for reply.

    > I tried your suggestion, but the result is still same.

    > I use same event for mouse (on a mouse button down), it's working fine.

    That only happens the first time I hold and swipe the touch. Once I release and touch to shoot again, it works fine.

    I think the problem is with the browser. It's not allowing the audio to play unless there is a tap. If I press and hold, the browser doesn’t allow the audio until I release the touch.

    Is there any way to fix this?

  • > You probably don't want to spawn a bullet every tick, instead on the left conditions add an 'every X seconds' condition so you can create a firing rate.

    Thanks for reply.

    I tried your suggestion, but the result is still same.

    I use same event for mouse (on a mouse button down), it's working fine.

    That only happens the first time I hold and swipe the touch. Once I release and touch to shoot again, it works fine.

  • You probably don't want to spawn a bullet every tick, instead on the left conditions add an 'every X seconds' condition so you can create a firing rate.

    Thanks for reply.

    I tried your suggestion, but the result is still same.

    I use same event for mouse (on a mouse button down), it's working fine.

  • Hi everyone,

    I’m making a shooting game, and I’m using touch controls for both aiming the crosshair and shooting.

    The event setup is shown in the image below.

    The problem is that when I touch the screen, the bullet spawns correctly, but the sound doesn’t play. Then, when I release the touch, all the stacked-up sounds play at once, very loudly.

    How can I prevent this?

  • Thank you very much!

  • Thanks for reply,

    The movement sprite I want to achieve is: webmshare.com/play/MLy3Z

  • Hi everyone,

    I'm working on a mobile game in Construct 3 where the player controls a fish (similar to how spaceships move in mobile shooter games). I want the player to be able to drag the fish smoothly anywhere on the screen using touch. However, I don’t want the fish to instantly teleport to the touch position—I want it to move gradually toward the touch point instead.

    I’ve tried different methods, but I’m facing some issues:

    The object either snaps directly to the touch position instead of moving smoothly.

    If I use lerp, the movement feels slow or unresponsive.

    Sometimes the movement doesn’t feel natural.

    What’s the best way to set up touch-based movement where the object follows the player's finger smoothly without instantly jumping to the touch position?

    Any advice, example events, or tips would be really helpful. Thanks in advance!

  • Hi Guys,

    I am very new to Construct 3 and have a problem with my shooting game project.

    I made this game work on both mobile and PC.

    I have coded it so that a floating joystick control appears only when playing on the touch devices.

    However, there are some issues with that code while playing on mobile:

    1. An unwanted crosshair appears at position (0,0) on mobile: i.vgy.me/CWVvql.png

    I can't figure out how or why it's happening. This issue only appears on mobile devices, when playing on PC, it doesn't show up.

    I couldn't use debug preview to check which crosshair is appearing at (0,0) since I have to use remote preview to test on mobile devices.

    I am using separate crosshairs for mobile and PC because the controls are different:

    "Crosshair" for PC

    "crosshair_touch" for mobile

    2. When using the mobile touch joystick, the crosshair keeps moving toward the last movement direction even after I stop moving the joystick. It doesn't stop when I release the joystick.

    I have attached event images and a video for better understanding. Please check below:

    Mouse control: i.vgy.me/Pe0Sxq.png

    Touch control: i.vgy.me/mCJdbd.png

    Problem video: webmshare.com/play/NARBm

    Thanks...

  • Have you tried the plugin on this page?

    https://sdk.poki.com/construct3.html

    Yes, I am very new to construct 3, I couldn't understand the steps. more detailed instructions would be helpful.

  • Hi everyone,

    I am very new to Construct 3, and I want to implement the Poki SDK in my project. However, the instructions on the Poki website are not very detailed, and I’m finding it difficult to understand how to get started. I have only two Layouts and two Event sheets, Please check the attachments.

    Could someone please guide me step-by-step on how to:

    1. Add the Poki SDK to my Construct 3 project?

    2. Set it up correctly?

    3. Test it to make sure it works?

    Any help, tips, or resources would be greatly appreciated.

    Thank you!

  • 12 posts