Helix0's Forum Posts

  • Thanks for the help, with your advice I was able to get it working!

    For anyone who comes across this in the future, here is the working code!

    Thanks again for the help!

  • Hello all,

    I am trying to make a laser beam, and I'm pretty close, but I'm running into a few issues I can't solve.

    My laser will go through walls if it hits the wall at a certain point

    Here is a video of the issue: youtube.com/watch

    It's worth mentioning that when the laser goes through a wall, it flickers, but it flickers so fast that it doesn't appear in the recording.

    Here is my code for the laser:

    Any help in appreciated!

  • https://youtu.be/nfuCJCnKtU0 Video showing the issue

    Whenever I pick up a gun in my game, the player drops the old gun. The issue is that the newly dropped gun uses the dimensions of the gun that was just picked up, so shorter guns look stretched, and longer guns look compressed.

    From bug testing, it seems like it is using the dimensions from the first frame of the animation

    What happens when the player picks up a gun? A variable saves the player's current weapon, and the player's weapon is changed to the gun on the ground, and the gun on the ground is immediately destroyed. Afterwards, a new gun is created and switches its frame to the player's previous weapon.

    SS of Code

    SS of Frames and Animation

  • When my AI enemy sees the player or their teammate, I want them to stay in one spot, not move, and shoot at the player. During this shooting period, the AI's state is called "FIRE." But instead of staying still, the AI moves toward the player because it's rapidly switching states instead of staying in the "FIRE" state.

    I suspect the problem lies right here

    Here is also the code for entering the firing mode

    And here is a video of my problem youtube.com/watch

    Any and all help is appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you're awesome

  • I was wondering if there was a way to make pixel art look more sharp

  • I managed to fix it! Thank you for your help!!

  • That halfway solved the problem, but i want the enemies to fire in bursts. This makes it easier for the player

  • Terribly sorry, Idk why I didn't think of that. I got the FSM here: construct.net/en/make-games/addons/441/finite-state-machine

  • Hello All! I'm making a game with some shooting AI enemies; they work great with only the player; when I introduce teammate AI into the mix, they seize up. I've made a short video to demonstrate this issue: youtube.com/watch

    And here is my code: All I've changed is anywhere you see the "Playerteam" family was once just the player.

    I am trying to make the enemies target and shoot at the nearest team member on the player's team, same as before, but before; it was only the player in the equation. In other words, I am trying to make the enemies shoot just like in the video, but instead of only targeting the player, they target the closest target within their line of sight.

    Here is my project file: dropbox.com/scl/fi/z24kdwlhuxcii048ldyhk/Platformer.c3p

    Here is the file in Google Drive incase dropbox doesn't work: drive.google.com/file/d/1uEIrxOETHxFksYwQ2wdzgpptqIC-oXq9/view

    All help is greatly appreciated!

  • Every time they overlap a solid like this they're unable to move. I guess being inside a solid breaks the pathfinding ability..

  • I got it to work, that example helped a lot too. Thanks again!

  • This is what I've been doing. I'll look into stylesheets when I get the chance too and report how it goes.

    The "Scrollbar-color" block doesn't work in that picture

  • Right...But I cant find the correct syntax for Construct 3, even after trying the synax in the link you gave me. Im trying to change the color.