EightMan's Recent Forum Activity

  • Perfect! Do you know if it's possible to make the music fade in and out without affecting the rest of the audio files/sound effects?

  • Hello! I have a game which I would like to add music to, but I'm unsure on how to set my music files up so that the main menu and settings screen share the same audio track. Any tips?

    Basically, I have 2 music tracks which I would like to use. One is for the main menu and settings, and the other is for the game itself.

  • Thank you! It's working perfectly.

  • Hello!

    I've checked some countdown timer topics here on the forums but most of them work only with seconds. I would like to create a 10-minute countdown timer on the screen that shows both minutes and seconds, but I really don't know how, besides using a global variable and adding 1 second at a time.

    Any help would be greatly appreciated.

  • By the way, now that we're here, do any of you know how to set-up a coundown timer on the start of a layout? I would like to make a 10 minutes countdown in-game, while also letting the player know how much time is remaining. I've seen a couple of methods but most of them are focused around small 3-second or 5-second countdowns.

  • It didn't fix it, unfortnately. However, since they're melee, I just replaced the distance event with "On collision with (player)", so it's working now. Thanks a lot for the help!

  • I got the enemies to move and attack! Everything's working out great so far. My only problem at the moment is that they only attack when all of them are in range (they're melee, so unless they're all around you, they won't attack). One of the enemies seems to be able to attack me while being alone, and he deals more damage than the rest, so the melee attack system is kinda flawed. Any idea on how to make the system calculate distance individually? Here's a screencap of the events being used.

  • Do you known if it could be possible to swap out the current global "ang" variable for a normal instance variable? assuming there's more than one enemy on screen, wouldn't this make all of them play the same animation regardless of where they are?

  • I'm actually using Pathfinding at the moment since there are obstacles in the map. What I can't figure out is how to make the enemy play the right animations while walking in a specific direction. Right now, they can find the player quite easily, but they don't actually use any of the animations I set for them. I reckon I should do something similar to what I did with the character's movement animations (Setting the direction, then playing an animation depending on which one is active). I disabled diagonals and "rotate object" to avoid problems, and I think I have an idea on how to make the enemy attack when it's next to the character, but I would appreciate any help on how to make the enemy walk in the right direction while moving.

    PS: Using "Find path to (Character.X, Character.Y)" the enemies go straight for my location, but they never move from there afterwards. Any idea on how to update my location?

    Update: The enemies are dealing damage while playing their animations now.

  • Alright, that fixed it!

    Thanks a lot man. I learned a lot with this.

    By the way, since we're here, could you point me to any enemy attack animation tutorials? I made an enemy that is supposed to stop and attack just like the playable character, and I'd like to know if anyone else has made enemies that move in only 4 directions and attack from up close (which I assume should be done with Pathfinding but I could be wrong).

  • I compared your capx with my project, and for some reason, even after doing the same changes, the character still moves while attacking. I really don't know why this is happening.

    Here's an updated version of all movement events. I seriously can't spot what's causing this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It didn't work, sadly. I can move while attacking and then the character gets stuck in his first walking frame whenever he's standing still. Don't worry though, my temporal fix is still working fine so I can continue testing everything else.

    What did work, however, was the rapid fire fix. I had to put "Trigger once while true" on event 25 though, since putting it in 23 made the "spawn another object" event useless.

    By the way, the bullet only goes to the right at the moment. What do you recommend in order to make it go up, left and down, accordingly? Right now the bullet is set to spawn at the third (#2) animation frame. I suppose I should try to use "set angle" to change its trajectory, or should I create a new object with a mirrored/upside-down bullet?

    I apologise for the tardiness in my reply. I wasn't home, but please keep in mind I'm very interested in getting this to work and I appreciate your help.

EightMan's avatar

EightMan

Member since 24 May, 2014

None one is following EightMan yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies