Ciao121's Recent Forum Activity

  • I vote for it.

  • Burvey

    Thanks for the link. But IMHO 1 second should always be 1 second. Using or not using dt.

    99Instances2Go

    That's was the problem (again!!!). I added set minimum framerate to 5 and the problem is no more here. I knew about the default minimum framerate. I had the problem also at 40 fps. Maybe the showed fps does not reflect the real fps... don't know...

  • I'm going mad with this.

    I made a simple counter that increases every 1.0 seconds.

    If I run it at ~60 fps it updates every 1 second. If I slow down the pc the counter is slower.

    Here's the capx: https://www.dropbox.com/s/ntukwq2wqro56 ... .capx?dl=0

    Here's a video (slowing down from 2 to 30 secs):

    Subscribe to Construct videos now

    Shouldn't 1 second be always 1 second (not depending on the framerate)?

  • Solve. The problem was due to minimum framerate.

    Setting minimum framerate to 1/10 (just to test extremely low framerates) solved

  • Hi,

    I have read this article: https://www.scirra.com/tutorials/67/del ... dependence

    I'm using dt but I'm not sure if I'm missing something because if I test I cannot get the results I expect.

    I have events like those:

    System > every tick > add 60*dt to counter.
    System > every tick> TEXT set text to counter.
    [/code:2zecm7b2]
    I expect to have the counter reach (i.e.) 300 after the same time if I use can run the game at 60fps or at 30fps. Am I right?
    
    I'm using an utility to reduce my cpu speed ([url=http://www.cpukiller.com]http://www.cpukiller.com[/url]). The more I reduce the cpu speed the more the fps goes down (I have a text to display fps) but the more the counter slows (not expected). WhaT am I missing?
    
    Thank you!!!
  • Ciao121

    You could use ascii-codes:

    Keyboard | On any key pressed

    System | 65= Keyboard.LastLeyCode=90 -> Do something.

    Thank you; I thinked about it. But I preferred my solution becaouse it was easier "to read" in the code.

  • "On key pressed" asks you wich key shold be pressed to fire an action.

    So one should do:

    "On key pressed A"

    "On key pressed B"

    "On key pressed C"

    and so on...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I found way (maybe not the best.

    I have a global var "ABCDEFGHI.....Z" and I compare if the valuef from the keyboard is inside this var with find(Variable, Keyboard.StringFromKeyCode(Keyboard.LastKeyCode))

  • I see the "On ANY key pressed" in the keyboards event. How can I limit it to react only if an alphabetical char (A TO Z) is pressed?

    I'd like not to have multiple events like:

    On KEY PRESSED "A"

    On KEY PRESSED "B"

    On KEY PRESSED "C"

    On KEY PRESSED "D"

    and so on.....

    Is there a way?

    Thank you!

  • The plugin can receive.

    Websockets -> On received message (if I remember well)

  • Did not solve; Construct 2/32 + Java 32 does not work for me.

    I can successfully execute java from the command line and java -version returns:

    java version "1.8.0_111"

    Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

    Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)

  • I try to answer in this old thread before opening a new one.

    I have the same problem. Tried latest java version, tried 32 and 64 bits, tried downgrading up to java 7.

    No way to minimize.

    The only thing I have to try is to try the 32 bit version of Construct 2...

Ciao121's avatar

Ciao121

Member since 18 Aug, 2016

None one is following Ciao121 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies