randomly's Recent Forum Activity

  • This depends highly on the way you want to layout your game, e.g. if you want infinite scrolling or just inside your layout.

    If you simply want to follow the player on the layout, you can give him a "Scroll To" behavior.

    If you want to scroll infinitely, I will tell you the details, if you really wanna go with this.

  • This looks about right, I will need your .capx or a screenshot of those three actions to be able to fix your issue.

  • I don't know how you saved your Array, but you need to save it with the .AsJSON expression and load it with the "Load" action of the Array.

  • Yeah, other than asking the user to switch it off in the settings, there's no way around it since the Control Center is part of the operating system.

    Likewise, you can't disable Ctrl+Alt+Del in any Windows Application.

  • Maybe not much needed, but still very appreciated!

    This plugin is one of my most used plugins for C2, so I'd love to get every update to it that you make.

  • Aye everyone,

    I am currently creating a program that will be exported with NW.js.

    Thus, it will be an executable (nw.exe) that I'll pack into a setup program.

    The program will receive regular updates.

    To deliver those updates to people successfully, I want a layout in my program that does the downloading of the update file (in .exe format). The user only needs to execute the file.

    The only possible solution I could think of, is to use AJAX to download it and NW.js to write the file with the content "AJAX.LastData" to the AppFolder.

    ___________________________________________

    I think, I understand how to use AJAX and NW.js, but I can't seem to get it to work properly.

    My problem is the following:

    The download starts, the event "On progress" triggers as well, but when "On completed" triggers and I write the file with the content "AJAX.LastData" to the UserFolder, the .exe file is always double the size it should be and gives me the error "The version of this file is not compatible with the currently executed version of Windows [...]" .

    (The original file, before uploading and downloading though, works fine)

    Also, when downloading the file normally through a browser, the downloaded file works perfectly.

    I also already tried to override the MIME type in AJAX to "application/octet-stream" which resulted in the exact same file.

    Is there any way to fix this?

    Or is it a thing that downloading large/.exe files with AJAX doesn't work in general?

    If so, is there an alternative apart from giving the user a simple download link to insert in the browser?

    Any help is much appreciated.

    Thanks for reading.

  • Use rexrainbow 's Tween2Effect plugin.

  • [quote:1rts64vz]Sorry, try again: Download

    Oh yesss, thanks so much!

    Now the first page only needs updating...

    Thanks for sharing!

  • [quote:2281oyed]To use password: "2,Password"

    Oh yissss, this is what I needed

    is this how I'm supposed to use it?

    Because the password format doesn't work for me like that...

    The .zip behind the download-link is empty btw.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Since I started using SweetAlert2 in the r241, this error appears when trying to add a parameter in the dialogue where you edit the "multiple input" alert.

    Any possibility this will be fixed at some point?

  • [quote:3jmmud05]I've tried by setting the block X value at - "random(20,340)*(loopindex+1)"

    This does sort of work, i'm not sure if its the best way. Is there a better way of doing that?

    Again, that depends on how you want it to look in the end.

    If you just want it to spawn at a random x position, you can simply set X to "random(0,WindowWidth)".

    If you want to spawn the object in the current pattern, but offset by a random amount, add a " + random(-25,25)".

    This will offset the X coordinate by something between -25 and 25.

  • This should work.

    (Was too lazy to create a vertical scroll complete capx, so ignore the "set Bullet.AngleOfMotion". The "Create object" action though should work fine.)

randomly's avatar

randomly

Member since 26 Sep, 2016

Twitter
randomly has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies