sinneruy's Recent Forum Activity

  • I love your implementation Yann, im going to use that, with an added control to pause the game if the fps drops below 10, as RamPackWobble said dt will not go below 0.1 and i think there is where the problem is.

    I have to read the manual about the system functions of C2, i didn't know some of those even existed.

    vtrix, yeah i think most are cheating, maybe using something like cheat engine to modifiy the timers or just stop the clock.

    For the next implementation i'm going to do some research on ways to prevent that, i already have a lot of security measures in place to avoid "fake" post request to the server, currently the scores and all sensitive data is encoded in AES256 before it gets send to the server and the score is "masked" behind a few maths operations.

    Thanks everyone, especially Jann and RamPackWobble!

    Great community support as always.

  • In my old thread () another user suggested dt is the way to go.

    We could really use an official opinion about this issue.

    Thanks!

  • Adding a black image with just a transparent circle where you want the light to be and putting that image in the top layer should work.

  • Thanks for the reply Joskin, i was told in a previous post that dt should not be used for timing as it's meant to be used only for movement.

    Now im confused hehehe.

  • Hi, im still having some issues with time and performance, i have a game that lets you play for a minute or till you find all the hidden objects in a stage, score is calculated as (time)*100, scores are saved to a DB via Ajax.

    The maximum possible score is 6000 and that means that you found 6 objects before 1 millisecond passed.

    I've tried a few different implementations of the time and always end up having the same issue, users with really slow PCs have their time ticking slower that it is supposed to.

    Im getting times like 5980, that are obviously impossible to achive saved to DB and most of those users when asked reported having really crappy PCs.

    My current implementation of the timer is in the attached img.

    Thanks in advance!

  • Thanks guys, works great now!

    That was the issue, i was using dt instead of time.

    The thing is, there is a couple of tutorials that guide people to use dt as a way of doing timers :(

    Anyway, thanks for the tip!

  • The automatic option isn't available any more, you have to do some configuration now but isn't that hard anyway:

    devcenter.heroku.com/articles/facebook

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, im doing a timed game, the player always have 1 min of play time on each level, i used the DT variable to advance the timer because i read that with that the game isnt frame dependant.

    Now im doing beta testing with some friends and i found that on the pc of a friend (a really slow laptop) the timer isnt running at normal speed, she can play for like 3 mins maybe even more and as the game isnt time dependant per se, it just clicking the right combination of elements, she can get crazy highscores that are immposible at normal speed.

    Any ideas on how to avoid this?

    Thanks!

  • Beta bug (is it right to post it here?):

    on undo:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Caught XML exception when undoing an action, this is a bug

    Condition: false

    File: Undo.cpp

    Line: 154

    Function: void __cdecl UndoBuffer::Undo(unsigned int)

    Build: release 150 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    After this message it showed another message about an event having two triggers (but i failed at copying it before closing it :( )

    I was working with a couple of "Touch - On touched Object" and copying and pasting them as base for the new ones.

    I hope it helps!

    Thanks!

  • I think you can make it using the "on start of layout" and setting the value to the corrrent value for that layout.

    If you reset the game on that layout the value will reset to the value specified in the "on start of layout".

    GL

  • I think using families, "pick by UID" and some arrays could be better.

  • Hi, i needed to do the same and got some useful advice, i cant post the url to my question so search the forums for "Change size over time".

    GL!

sinneruy's avatar

sinneruy

Member since 4 Dec, 2012

None one is following sinneruy yet!

Connect with sinneruy

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies