Aphrodite's Forum Posts

  • there are no current way to do this in NW.Js nor chrome AFAIK (well you can use a chrome or nw.js argument to disable v sync but then the game will run as fast as possible as opposed to a fixed framerate), the dt minimum value can be fixed to fit a 60 fps display so if the game goes under 60 fps, well, it will get slowed down.

    using dt is still important to ensure that the result will act the same regardless of the framerate (so a 144Hz display or a 60 Hz one will still be calculated the same).

    But apart from performance reasons (executing the logic and rendering at a fixed 30 fps is not as costly), if it is done well, dt ensures that as long as there is no lag or freezes, the game acts correctly and is as fluid as it can (since the movements aren't framerate dependant but time dependant).

    Also I never thought of a single case when anyone would want to use every X seconds with such a low value as 1/60, like why even do this? I don't get it, if your dt implementation is correct you simply don't need nor want that, perhaps I'm missing something (it's early here).

    I still agree however that a fixed framerate would make development easier for some people working with devices with a low perfs/framerate ratio, or simply make development faster as there is no dt to use (even though dt isn't that hard to use once you understand it, but as said for deterministic resuts while still being the same speed on all system is a must it's important), however input based replay would indeed work nicely, instead of what we can do currently (basically a time based replay which is not as easy to do!).

    EDIT: After reading it again it feels like this post is agaisnt fixed framerates, it is not, I want to see a fixed framerate as an option, screen tearing is a light tradeoff for all the advantages it gives, this post was simply trying to explain how to compensate from the lack of it currently. Oh btw GM:Studio allows a fixed framerate but unsure if they do it the right way.

  • I'd like to see that as an addition too, in the mean time, I did something similar in events in 2013, unsure it still works fine but might be worth q shot until we get something like this.

    Unless I misunderstood

    EDIT: oh no don't tell me... they removed the crop mode, so this only works in C2 and not C3, darn!

  • Kiosk mode I think prevents user from leaving fullscreen mode, I do not think it has a point for games but to have a screen displaying something (like in stores or administrations) it can be useful.

  • I suggest you take a look at , unsure all of them are still active though but worth the try I guess.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Already tried to make it change (don't post on it, it has been closed) sadly, didn't worked out, a shame really.

    Anyone annoyed by that too?

  • That's my main concern honestly.

    Well apart from the fanboyism/hate relationship that there is currently (which I don't get but whatever), PixelPower does have a point:

    Scirra does tend to not fix bugs coming from a third party ("Close as won't fix" anyone?), which break our games multiple times in the past for sometimes a very long wait (the jank/stutter), imagine a bug similar happens and break C3, oh my god, I hope they have a plan for that, because telling users not to update their browser would be downright stupid.

  • So hype for the news yet with mixed feelings. I don't know about you but I need to be mentally prepared for C3, that's all. If you are like me having these feelings, here is what we should sort out first.

    1. Ashley is a genius and I believe that is a fact. (Most probably I'm dumber that's why)

    2. Multi-platform (perhaps even on a tablet)

    4. SUBSCRIPTION??!!!

    for 1, I don't mind html5, heck I even encourage it as long as it doesn't try to look like native and sell like it (the guy agaisnt wrapper who likes html5 speaking)

    2, I expected that, I mean it was obvious that ashley would go for a web based application, and I think if done right (which needs to be proven but I have faith) can be awesome to work everywhere from any environnement, unless we have browser issues that breaks it... but that is another matter.

    as for the subscription (the 4th point), I am agaisnt it clearly, I mean I don't mind it in itself but the way they announced it was just a failure, complete communication fail, also yearly subscription? that isn't quite right, monthly or even weekly would be far better for everyone involved, or perhaps the choice between monthly subscription and yearly subscription, the latter ending up cheaper than the first, but yearly subscription only is just bad, also yeah I use some things that have yearly subscriptions but only when I am sure I'll use it the whole year, which is why the choice between mnthly and yearly would be better for everyone even scirra.

    the other points I have no opinions on them yet, hope my post doesn't sound too angry, was not the intention ^-^

  • I think the original post doesn't talk about native exporters but rather exporting offline/locally rather than online, could be wrong though.

  • I think webbrowsers can handle the editor if done well, no, the issue I think will be when (not if, WHEN) a critical browser bug occurs, would the scirra team won't fix it since it is not their job, that was always the mindset with C2 "if it is a browser bug let's wait for them to fix it", that is my main concern about that.

    Not that I'll be using C3 after the horrible, stupid announcement they did but still.

  • Set angle to self.Angle - 10*dt???

    Why not just self.Angle - 10 ?

    dt is the time that passed between the current tick and the former tick, by setting every tick the angle to self.angle - 10* dt, you make it change every tick with a speed of 10*dt degrees per frame, which translates to an average speed of 10 degrees per seconds regardless of the framerate.

    if it was just self.angle-10 then it would change not only faster, but alsodepending on the framerate (twice as fast on a screen with a 120Hz refresh rate compared to a 60 Hz one, also would be slower if the game was having a hard time rendering every frame on a regular basis)

    hope that helps

  • most of the expressions we are using are also documented here: https://www.scirra.com/manual/126/system-expressions but I will admit that I may have an easier time because of the math lover I am, however that doesn't mean it is required to know all those stuff, as R0j0hound said, trying stuff outside of your comfort zone from time to time, trying to find documents about said stuff, and ask when you are stuck are probably your best bet.

    As for getting better at programming, I'd say try to keep everything simple and clean to read so you understand it easily, don't worry about things like making a big game and optimisation until you know the tool enough (need to use functions to simplify that event? go ahead, need to modify this variable name because it is not clear? fine idea, this event is too complicated for me to remember what it does? add a comment now and try to see how to simplify it in the future if you can)

  • Merry Xmas indeed, hope everyone is doing fine ^-^

  • Somebody it seems that your distro folder link isn't working anymore (file not found error 404). Perhaps dropbox shenanigans, who knows. (even though I doubt you're here anymore)

  • Problem Description

    sine set cycle position doesn't refresh the current X position until the next tick if the motion is set to horizontal, the self.sine.value itself is changed though (not showed here)

    Attach a Capx

    https://1drv.ms/u/s!AjkoCSebIn9JjDrxr8-o6KPOcPOQ

    Description of Capx

    A single lonely sprite is moving on its horizontal axis, with a sine, When you press R, the cycle position is saved, the layout restarts, and the cycle position is immediatelly set back, however, we can see the sprite being at its original position for one tick before going back to it's current position

    Steps to Reproduce Bug

    • run the capx inside the browser of your choice
    • keep smashing R, see the teleporting sprite for one tick

    Observed Result

    when the layout restarts, the sprite is centered for one tick

    Expected Result

    the result to be invisible

    Affected Browsers

    • Chrome: Yes
    • Opera:Yes
    • Edge: Yes, it is even worse it seems
    • nw.js : Yes

    Operating System and Service Pack

    Windows 10, do not know my service pack

    Construct 2 Version ID

    r240