lionz's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 10 Mar, 2025

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies