dop2000's Recent Forum Activity

  • I have to ask, what are you logging that possibly requires that many events?

    Well, last time I checked our project had about 10K events..

    Most of console logging actions are disabled of course. But there are still hundreds of active ones.

  • I just released a Greenworks plugin update for v0.82.0 using Greenworks v0.15.0, which supports a universal binary for macOS.

    Thank you, this is awesome!

    If only this addon had a method to check for installed DLC..

  • I suggest you create a small project to test the gamepad. Add two large text objects and this event:

  • I had 1070 "browser log" actions in the project. Replaced them all with a function call today. Took me several hours even with a fair bit of hacking.

  • This post got me worried. I always thought that if you disable DevTools on export, then all "browser log" actions will be automatically skipped/disabled too. But turns out this is not the case, they are still executed and still very much affect the performance.

    I will have to replace "browser log" actions with a function in hundreds of events, and remember to disable the function before exporting.

  • Simply change the effect parameter from 0 to 100 over time.

    | Global number p‎ = 0

    + System: Every tick

    -> System: Set p to min(p+20×dt, 100)

    -> System: Set layout effect "Grayscale" parameter 0 to p

    .

    Another option is to use Tween behavior. Start a value tween on some object from 0 to 100. While this tween is running, set effect parameter to Object.Tween.value("tag")

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can't change the position of the real mouse cursor, but you can control a sprite, emulating mouse movement. There are two methods:

    System: Every tick
    -> CursorSprite: Set position to 
    ..... X: Self.X + Gamepad.Axis(0,2)×dt×4
    ..... Y: Self.Y + Gamepad.Axis(0,3)×dt×4
    
    System: Every tick
    -> CursorSprite: Set position to 
    ..... X: lerp(Self.X, ((Gamepad.Axis(0,2)+100)÷200)×LayoutWidth, dt×10)
    ..... Y: lerp(Self.Y, ((Gamepad.Axis(0,3)+100)÷200)×LayoutHeight, dt×10)
    
  • You do not have permission to view this post

  • With NWjs you can delete files, but it won't work on mobile.

  • Are you sure FileChooser works in mobile export? I've never tried it.

    To delete a file from a mobile app you will probably need to use some Cordova plugin (like "cordova-plugin-file") and call its method from a script.

  • You do not have permission to view this post

  • I don't think deleting files is allowed in HTML5 export. You can do this in NWJS or possibly Webview2 exported project.

    The idea being, a user downloads a custom file from their organization, then once the user has loaded the file into the app, the source file is deleted from their device

    Can you request the file from the organization website directly in the app, without asking the user to download it first?

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 256 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