dop2000's Recent Forum Activity

  • Try updating your video card drivers. I had this issue on my laptop, fixed by installing the latest drivers for Intel HD graphics.

  • There is no standard button for duck either. So you probably have an event like "Keyboard Is S key down -> (some actions)"

    Move these actions into a function "PlayerDuck". Call this function when S key is actually pressed, or when you need to 'force' ducking.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to request it again from Local Storage, using "Check item exist"

  • All looks good now.

    1 - Is Local Storage creating a file based on the key name or something like .ini or .txt file?

    With NWJS export - I'm not sure, probably a file somewhere in User folder. Stackoverflow suggests it's c:/Users/username/AppData/Local/AppName/Cache

    2 - Is it overwrite when I will use the same key?

    Yes.

    3 - Is it better than the system SAVE/LOAD?

    Save/Load saves everything (excluding only objects with NoSave behavior), LocalStorage only saves one piece of data.

    Like I said, the difference is like backing up your entire HDD and saving one document file.

    By the way, when you save an .alon file, Language variable is saved inside of it too. So when you load this file, language in the app may change. So you might want to restore language and other settings from LocalStorage after loading .alon files.

  • I edited my comment, see above.

  • You did everything correctly.

    EDIT: Almost correctly! Key name should be "Language" or "Settings" or something similar (with quotes), not Language without quotes, because that's your variable.

    .

    You don't need "Get item" and "On item get" event. You can set language to LocalStorage.ItemValue in event 412.

    Also, if you need to save other settings values, instead of saving each one in a separate key, you can put them all into a dictionary and save the entire dictionary. See this comment:

    construct.net/en/forum/construct-3/how-do-i-8/solve-save-147873

  • Are these objects on the same layer, or on layers with the same parallax? Do they have the same Z-elevation?

    Can you post your project file?

  • Don't use Save/Load actions for saving just the language setting. It's like making a full back up of your entire hard drive to save just one document.

    Besides, this can mess with your Undo system and other things. (which that error in the console log is probably about)

    Use Local Storage to save app settings.

  • I have no idea what you mean. Please read this post:

    construct.net/en/forum/construct-2/how-do-i-18/tips-posting-quothow-iquot-40390

  • The simple way to make such delay is to start ignoring controls on jump, then after a wait or on Timer event - stop ignoring controls.

    If you need something more complex, you can use "Is jumping", "Is falling", "Is (Not) on the floor" conditions, and control player's vector X and vector Y with actions.

    TO get current flying direction and speed, use Player.Platform.VectorX and Player.Platform.VectorY expressions. To change it, use "Set vector X/Y" actions.

    Also, don't forget to disable default controls for Platform behavior.

  • I think what you are looking for is "Simulate control" action.

    Add action -> Hero -> Platform -> Simulate control

    8-direction behavior also has it.

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