UnixRoot's Forum Posts

  • Thanks for your quick replys.

    All computers i have testet it on have Windows 7 64 Bit installed and have newer Nvidia Cards like Gtx560 and Gtx580.

    All Systems are up to Date, DX is up to Date, Drivers too.

    All Settings in the Nvidia Panel are set to default Values.

    Vsync is enabled in the Application settings in my Project and works like it should in Window-Mode. I am trying to run it at 1280x720 px Fullscreen but the Problem is independent from the Resolution.

    To bad i can not post a cap because its from a commercial project we are working on. I have crated a blank cap and startet it fullscreen and the Problem does not exist there. So what can cause Vsync not to work like it should? Its like switching on and of rapidly. Framerates changes from 60FPS to 600PFS ten times a second.

  • Vsync does not work in Fullscreen Mode. It switches from Vsync to no Vsync ten times a second. Games are unplayable in Fullscreen because it stutters really bad and FPS jumping from 600+ to Vsynced 60FPS all the time.

    I can reproduce this with all my cap files on 4 different computers.

  • Now i have testet all my cap`s on 4 different computer. all with the same result. vsync does not work fullscreen in construct r2.

    is there a way to fix this? i have to release my game in near future and i really need fullscreen support.

  • Hey Guys,

    Is there a way to enable vsync in fullscreen-mode? If i run my game windowed i get rock solid and smooth 60 fps which are vsynced. In fullscreen i get 650+ fps that are stuttering very much.

    Why vsync does not work in fullscreen mode? In my graphics drivers all settings are on default values.

  • + Platform: Value 'Trigger' Equal to "1"

    + System: Every 100 milliseconds

    -> Platform: Add 1 to 'Timer'

    + Platform: Value 'Timer' Equal 20

    -> Make Paltform invisible etc

    + Platform: Value 'Timer' Equal 50

    -> Platform: Set 'Timer' to 0

    -> Platform: Set 'Trigger' to 0

    -> Make Paltform visible

    http://dl.dropbox.com/u/12412965/Timer.cap

  • Thank you, works like a charm now.

  • The player object is a physics object which is able to move, rotate, bounce etc.

  • Does not work for me. It keeps saying AngleLerp is not a recognised system expression

  • Hi,

    Sorry for my bad english.

    I have a moveable Object that is controlled by the Player. Now I want a sliding door on that moving Object.

    If the Object is not moving at all, there is not a problem. the Door slides from one ImagePoint to the other.

    lerp(Door.X, Player.ImagePointX("door_open"), 1 - 0.008^TimeDelta)

    lerp(Door.Y, Player.ImagePointY("door_open"), 1 - 0.008^TimeDelta)

    But if the Base Object is moving the door does not slide to the right point.

    Please can someone help me out?

  • Thank you very much, that solved my problem.

    And nice to see that there are some pixelartists on here. I love doing pixelart and retro graphics.

  • http://dl.dropbox.com/u/12412965/exp.cap

    now here is the cap file. I really don't know what to do. Everything would be fine if the global('m') variable will be calculatedlike it should.

  • I have testet everything but i am getting 17.65 all the time.

  • Hi,

    I really have a problem with a simple multiplication.

    global('m')*(global('n')+1)

    where m = 10

    and n = 0.85

    This should be 10*(0.85+1)=18.5

    BUT Construct means 17.65 is the right answer. I have done half of my game and now it hangs on this simple multiplication?

    Please help me.

    Greetings from the rainy Germany

    Michael

  • This solved my Problem completely. Thank you for your quick help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much. That helped me a lot. But one little Problem is still there. How can i load an Image from an ini file with such a function ?

    INI.ItemString("item1", "image1") does not work in Function.ProcessSprite("Sprite", "Sprite2").

    If i can load the image from an ini string, my problem will be solved.