Roccinio's Forum Posts

  • The solution to the problem is to execute a little JavaScript.

    We use the Browser object and execute the command location.reload();

    Cheers.

  • Thank you for your help.

    Unfortunately i am a bit rusty and i failed to understand what you are trying to tell me.

    on press---> create object--->iframe ---> navigate to url?

    And then what?

    I have to destroy it every time the user presses the reload button, create a new one, set it size, set it coordinates and url?

    And how do i know where the user is if he is navigating a site for example within the iframe?

    How is it possible a community plugin from many years before to have the reload functionality and the official iframe does not?

    Regards

  • Hello,

    After years of absence i decided to give construct 2 another go for one of my projects.

    I downloaded a semi broken iframe plugin for it and i created a quick draft for my project.

    Worked like a charm since it has a refresh command.

    So i decided to buy your construct3 year plan so i can have the latest and greatest.

    Now i am missing the refresh option and i am banging my head against the wall because my project depends on it.

    Am i missing something? Is there an option i haven't used?

    I just want the user to click a button and refresh the web page within the iframe.

    Regards

  • have you tried running your game using the latest internet explorer?try it and tell me if you see any loading difference

  • No,i said the exact opposite thing.

    After the initial data dump (this is where you see the speed difference between ssd and hhd.If your game is less than 100mb then you will see almost no difference since it takes only a few seconds and humans can barely notice the difference between 3 seconds to 2 although in math it is a big percentage of improvement) then the speed of your CPU will determine how fast it will decompress the files and hence how fast the game will load.

  • try previewing your game in internet explorer 11.

    It loads my game 5 times faster than chrome.Do not know why....

    SSD drives are many many times faster than normal HDD.

    The problem in your case is not the actual size of your project(and that is the reason that you will not see any difference in C2 using ssd) but the time it takes to decompress the images to RAM.

  • Then you should follow the minion's advice

  • just use the save and load option option .

    before you leave the game layout to go to the pause layout add a save and when you exit the pause layout and go the game layout again " on start of layout load that previous save". -this goes to the game layout-

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried the seamless mode in tilemap object properties?

  • It makes your player invisible because it runs every tick and the flash behavior resets all the time. add a trigger once in your command to stop this from happening.

    you must understand how conditions work in programing.if something is true it will run 60times a second unless you tell it to do it only once when the condition triggers for the first time.

  • there is a build in behavior called flash.

    Give it to your sprite and just add this

    Bullet on collision with sprite--------. sprite flash

  • Ashley

    I wish i could use Spriter on every platform...That way i wouldn't have to rebuild everything from scratch.

    Unfortunately Spriter is very cpu intensive for weaker possessors so i am stuck with png's for now.

    Thank you once again for your valuable tips and suggestions.

    I guess i will have to figure this out the hard way

  • Ashley

    Any suggestion then on how to make an animation go (show) faster when we hit the 60hz refresh rate cap?

    we reduce the png's of the animation itself?From lets say 30 to 20?

  • Problem Description

    Under "animation properties/speed" If you input any number higher than 60 the system ignores it and it never animates any faster than this number.

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    Just press the letters on your keyboard and see no difference in animation speed even if the number is more than 3 times bigger than 60 .

    Steps to Reproduce Bug

    • Step 1
    • Step 2
    • Step 3 etc.

    Observed Result

    ____ What happens? ____

    Expected Result

    To see the animation go faster.

    If this has to do with the fact that the system cannot render the image faster than one tick then we shouldn't be allowed to enter anything larger than 60 and if we did then a warning should pop up explaining why we shouldn't do that and a possible solution for our problem.

    Something like "reduce the number of animation frames you have if you want to see it animate faster."

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • they should not be nested inside the first condition.

    on mouse clicked add 1 to difficulty

    if difficulty =1 set animation frame to 1 and set system difficulty to medium

    if difficulty =2 set animation frame to 2 and set system difficulty to hard

    if difficulty =0 set animation frame to 3 and set system difficulty to easy

    if difficulty is => 3 set difficulty to 0