lionz's Recent Forum Activity

  • Hiya, I took a look at your game and the enemies are bullets that rotate towards the player so they would ignore the wall. I don't know how you want to use the line of sight behaviour, but as an example you can add the line of sight behaviour to the enemy. Then you say in the logic, if enemy has line of sight of player, enable the projectile, if enemy does not have line of sight of the player, disable the projectile. This would create something where the enemy only moves if you are close. It really depends on how your game will work. You can read more about LOS in the manual.

  • Your Y is set to zombie.x instead of zombie.y

  • Do you mean using line of sight behaviour? It should be set to Obstacles=Solids by default, check that this is still the case.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The game looks interesting though, I wanna play it ^^

  • All of the complexity is there, it's hidden under a nice UI. The claim that you can make pretty much any 2D game is true. It's robust and receives constant updates. You can easily create a game and export it to mobile.

  • I would advise against sharing an empty file and asking users to make something for you in future, that's probably why there was no response to this. I think you could resolve this yourself by picking a location sprite, playing around with the tile movement behaviour and simulate control in a direction combined with comparing whether player x/y are less/more than the location sprite.

  • I'm saying the sub events don't need to be in a function, you can have on timer finished then execute those sub events from there. The logic looks a bit convoluted for doing what you are trying to do which is to wait for a couple of seconds then move, right? Also when you wait in a function I believe the parameters you pass through get lost so when you are picking the sprites at the start of the function, i think param 0 and param 1 are no longer valid.

  • Cool! I'll add it to my wishlist as a reminder.

  • Yes get rid of all the system events, the timer is supposed to remove the need for waits. As you mentioned, the system event is not per instance. The on timer finished picks the instance where the timer finished, that should hopefully be enough?

  • You do not have permission to view this post

  • Hi, you don't have to use save data but there isn't enough information for someone to help with this. Most likely you have an 'on start of layout set diamonds to 0' or 'reset global variables' that triggers on the start of each layout.

  • You use a timer on the enemy object and timers are affected by timescale so they will pause and continue from where they were when you unpause.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

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

25/44
How to earn trophies