dop2000's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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")

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

  • Ah, it's a shame..

    Are there any news about Webview2 on Mac?

  • We're having some weird performance and permission issues with Mac64(Intel) builds of our game running on Mac M processors. We were hoping exporting for ARM would fix them. And in fact the ARM version runs beautifully, at steady 100 fps!

    However, I can't get the Greenworks plugin to work in ARM export.

    I tried NWjs versions 77-81 and several Steamworks SDK versions, but keep getting this error:

    Am I missing something? How can this be fixed?

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