lionz's Forum Posts

  • Normally I would use just one detect area on the character but since you're using these to trigger which way the NPC should face then I guess it's fine. What you could do however is group all of the zones into one bit of logic so you don't need to repeat. i.e. put instance variable on the zone, if 1 then play frame 1 (face up), if 2 then player frame 2 (face left) or something like this, it would avoid the need to repeat the logic for each NPC as long as the frames of the animations are correct. You'll need to group NPCs into a family and use this to avoid further repeating of set animation events.

  • Hi, in the event blocks 18-33 you always set Dialogue to 1 at the end, shouldnt you be setting these to 1, 2, 3 or 4 depending on the NPC? That resolves it.

  • Set text ""&object.timer.currenttime

  • Share the capx where you've made the world generation and someone can randomise it.

  • Not sure what you're expecting anyone to do with this, maybe some more information?

  • The bottom event overrules the movement because construct works from top down. The problem with sub events is that all the events will still be true because both keys are down so again it will do the same thing and pick the bottom event. You could try toggling a specific variable on when D is down and a different variable when A is down which should block out each of the events.

  • Yeah I can't see C2 right now to test it but it'll be combining 'key is down' with the system action every X seconds. So while space is down > add condition every 0.5 seconds spawn the bullet. Whatever time interval you need for the game.

  • Cannot send an example for several hours as in work but what I am saying is you don't need to use while here, the keyboard action 'key is down' basically means 'while the key is pressed down then do this'. That's what you want to happen, shoot while the key is pressed down? 'On key pressed' is just a one time trigger on initial key press.

  • Keyboard "Space" key is down, is probably what you're looking for.

  • Try Sine behavior with horizontal movement.

  • There's a MoveTo plugin that I used to have objects move in a grid so you can say move x+32 and it'll move right 32 pixels and stop, move y+32, it'll move down 32 pixels and stop etc.

  • Wherever the ball goes to award the win, add 1 to a global variable for player score. When GV is 5 then end the game.

  • It's not possible and I'm not sure why you would need to.

  • Ooo interesting, make it into a full open world GTA style game

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What do you mean when you say 'appears', are you creating it? Check that the instance of the sprite with the lowest UID has these settings as it will use them when created.