dop2000's Recent Forum Activity

  • Why can't you do it on PC?

    Also, you posted in the wrong forum. This forum is for Construct 2.

  • Creeps Compilation You probably need to create a function in the parent page that would return these variables. And then call that function from the C3 code.

    Another option is to use query parameters, check out this post:

    construct.net/en/forum/construct-3/how-do-i-8/variable-webpage-153171

  • Sorry, I can't help. There is nothing in the code that can cause these lags.

  • I definitely don't have this issue on my laptop. Can you try running on a different device (phone, tablet)?

  • Why do you need two events "hitBoxEnemy on collision with mainCharacter"? Because the second one is a sub-event, it may trigger at a different time and cause some unexpected issues.

    Try combining both events into a singe one. I'm not sure if this will fix the problem with the animation, but at least you'll have an optimized easy-to-read code.

  • Never use "Trigger once" with objects that have multiple instances, like enemies in your case. It will always work incorrectly and cause bugs.

    I suggest that you check for Health<=0 in a sub-event under the event where you deal damage to the enemy. Instead of "Is overlapping + Trigger once" do this:

    Bullet On Collision with Enemy
    .......Bullet destroy
    .......Enemy subtract 2 from health
    
    .......Enemy Compare variable health<=0 
    ................... (all the actions to kill the enemy here)
    
  • Hi,

    I'm not sure what you mean. I tested it just now and didn't notice any lag.

  • I told you in another post - stealing has nothing to do with the issue.

    The problem is with LOS behavior, for some reason if you step into guards cone of view, after that it will always have LOS to the player.

    Try removing actions where you add MrSpy sprite as an obstacle for guards. If you want LOS to detect the player, you should not set it as an obstacle!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure. If I have several behaviors added to a sprite, I would prefer seeing triggers and conditions for each behavior in one group, and separated from other behaviors.

  • Yeah, it's one of the greatest additions to C3. I found myself using hierarchies for everything now! Linking opacity and other properties between objects would increase its usefulness even more.

    • Post link icon

    Your project is made in Construct 3, this is Constuct 2 sub-forum.

    Ashley will not investigate this unless you make a small project to replicate the issue and log a proper bug report. Also, I am not certain that this is a bug, maybe there is something wrong with your other events.

    • Post link icon

    Actually, you don't even have to steal anything. If you step into guard's cone of view and then run away, it will continue to have LOS to the player, no matter where it is.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies