danul777's Forum Posts

  • 8 direction behavior properties - defaults control = No

    add keyboard object

    on event:

    on key w pressed - sprite 8 direction simulate up

    on key a pressed - sprite 8 direction simulate left

    etc etc

    thanks

  • hi everyone. How do I change the controls of "8 Direction" behavior to w, a, s ,d ?

  • add a sprite on top of the enemy, every tick set position (not angle, just position)

    this way you have a pathfinding floor piece, and a image of the enemy on top

    thanks. can i make that the enemy will follow after the player with bullet behaviour without change the position ?

  • Give the enemies the line-of-sight behavior, set the obstacles to custom (unless you want the sight blocked by solid objects) and adjust the range to your needs. Set the cone of view to 360.

    Now check if the enemy has LOS of the player and move it towards the players position.

    thanks . how i make that the enemies will follow after the player without change their angle?

  • hi everybody i make top down shooter game and i want to ask:

    how to make that the enemies will follow the player when they close to him?

  • > Sounds and Music in Construct 2 are audio files. Any sound files the project uses will be exported with the project. Because browser makers cannot agree on a single format for the web, these must be encoded in to two formats: Ogg Vorbis (.ogg) and MPEG-4 AAC (.m4a).

    >

    thanks

  • Import as wav. Construct 2 will convert wav to ogg and aac.

    thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Sounds and Music in Construct 2 are audio files. Any sound files the project uses will be exported with the project. Because browser makers cannot agree on a single format for the web, these must be encoded in to two formats: Ogg Vorbis (.ogg) and MPEG-4 AAC (.m4a).

    >

    if i have mp3 music file what i need to do to put it in the game? ( what kind file convert it?)

  • hi everyone? i put ogg music file to my game. in the audio dialog written : "ogg verbois (wont convert to aac)"

    i added in the event sheet: on start of layout - audio - play and it didn't work.

  • hi everyone? i put ogg music file to my game. in the audio dialog written : "ogg verbois (wont convert to aac)"

    i added in the event sheet: on start of layout - audio - play and it didn't work.

  • Instead of having a fixed "2", use a global variable the value of you can modify.

    Also you should perhaps look at or at least make your own code framerate independent.

    thanks

  • You can add another condition that Space is being held down and then just double the movement.

    Any reason why you aren't using 8 Direction Behavior?

    thanks

  • hi everyone. how can i change the speed of sprite that move w a s d movement? (i want to make dash action for my game character)

    for example: if i will press W+space - the character will dash right.

    this is how I did the movement:

    conditon: key press - W action set Y to player.Y-2

    conditon: key press - S action set Y to player.Y+2

    conditon: key press - D action set X to player.X+2

    conditon: key press - A action set Y to player.Y-2

  • A PNG file is just a PNG file. There are no "fast" or "slow" PNG files. They are all the same. The software you use to create PNG files doesn't matter.

    thanks

  • It depends on the target platform.

    As long as the frames are of a small to moderate size, less than 256 ideally, and of a reasonable size animation, eg not 60 fps lasting 30 seconds etc.

    It should be fine.

    Hd doesn't really exist in games.

    thanks