dop2000's Recent Forum Activity

  • Yes, if you see a number increasing to the left of console message, it means that the same message was logged multiple times.

    3-5 repeated debug messages for 1 click doesn't seem right.

  • When I click your link I'm getting "access denied" error.

    Try adding "System For each Sprite" to the On timer event.

  • Why did you add "under normal user profile"? Does it work under admin account?

    What happens when you preview? Press F12 in preview window, open Colsole tab and see if there are any errors.

    .

    It's probably unrelated, but I had an issue lately - preview was only working with disabled "Use worker" option. Updated desktop build and it was fixed.

  • I would ignore the yellow warning.

    What's very weird is why browser log for line 127 is triggered on every tick, and there is no message for line 126. Are you sure event 127 is nested (sub-event) under event 126? It should definitely not be triggered without clicking the Load button.

    Or maybe you copied Browser Log for line 127 somewhere else and forgot to change it?

  • If you need a condition to check if any "attack_x" animation has ended you can do this:

    Player On any animation ended
    System compare two values: left(Player.AnimationName,6)="attack"
    

    .

    If you need to know the number (x) of current attack animation, you can do something like this:

    Set AttackNumber to int(tokenat(Player.AnimationName, 1, "_"))
    If AttackNumber=1 : Weapon1 destroy
    If AttackNumber=2 : Weapon2 destroy
    ....
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I must say, I only understood maybe 30% of your explanation.. But I see one issue with your code:

    In line 71 you are checking "if the doors being overlapped share the same LayerDepthLevel values". But the problem is - if 2 or 3 doors are picked by the parent "is overlapping" event, this condition will only test the first door. And if its LayerDepthLevel is different from Spy.LayerDepthLevel, none of the sub-events will work.

    If you need to check if any of the picked doors have the same LayerDepthLevel as in Spy, you need to rewrite this condition:

    Doors compare variable LayerDepthLevel=Spy.LayerDepthLevel

    Note, that this event will further filter the picked Doors (for example, if 2 doors were picked by overlapping, only 1 door may become picked after comparing LayerDepthLevel)

    .

    Now, if you need to check that all overlapped doors have the same LayerDepthLevel as Spy, you need to use PickedCount expression. Save Doors.PickedCount in a local variable in event 70, then in event 71 compare Doors.PickedCount with that variable. (event 71 still needs to be rewritten as above)

  • I don't know, it's hard to do troubleshooting with screenshots.

    Disable or remove Undo system completely. Add different "Browser Log" debug messages in all events where you are saving or which may trigger the save. Try to find why the game is saved so many times, there is something in your code that's doing it.

  • When a game is running in a web page, it can't enter full-screen automatically. You can only request full screen mode after any user input - touch or mouse event. For example "Touch On tap -> request full screen".

    For your second question, you probably need to change the project scaling mode to Scale Inner or Scale Outer and enable scrolling (Unbounded scrollig=yes in layout properties).

    Or make your own keyboard that doesn't mess with the screen:

    construct.net/en/tutorials/mobile-keyboard-and-hall-of-fame-for-all-mobile-devices-738

  • If you want to clear memory used by this sprite:

    Sprite destroy
    Wait 0
    System unload unused images from memory
    

    If you need to keep the sprite, you can load 1x1 px image into it instead of destroying:

    Sprite load image from URL: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" 
    

    You need to do this for every frame, and then unload imaged.

  • sleepingpanda Thanks for the info.

    Why haven't you removed your game? These scammers are profiting from it and not paying you any money..

  • I don't know. Did you hit save button 94 times?

    Try disabling the undo system temporarily and test without it, maybe it's messing things up.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 261 followers

Connect with dop2000

Trophy Case

  • 8-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
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies