https://linen.dev logo
Join Discord
Powered by
# lime
  • e

    elegant-twilight-61392

    01/20/2023, 10:11 PM
    i assumed they meant during the process of starting the app
  • e

    elegant-twilight-61392

    01/20/2023, 10:12 PM
    ambiguous question i suppose
  • b

    bulky-insurance-39338

    01/20/2023, 10:12 PM
    think its into
    <window>
    inside project.xml
  • b

    bulky-insurance-39338

    01/20/2023, 10:13 PM
    ->
    <window vsync="true" />
  • s

    square-angle-35096

    01/21/2023, 1:34 AM
    yes
  • s

    square-angle-35096

    01/21/2023, 1:34 AM
    but i want to make that an option to turn on/off
  • s

    square-angle-35096

    01/21/2023, 1:34 AM
    yep, this.
  • e

    elegant-twilight-61392

    01/21/2023, 1:35 AM
    if your making a flixel game i dont think it matters
  • e

    elegant-twilight-61392

    01/21/2023, 1:36 AM
    afaik vsync is only really important for 3d
  • e

    elegant-twilight-61392

    01/21/2023, 1:36 AM
    it can affect 2d if the fps is higher than the monitors refresh rate though
  • e

    elegant-twilight-61392

    01/21/2023, 1:37 AM
    well it affects both 2d and 3d in that case, but its more obvious in 3d
  • s

    square-angle-35096

    01/21/2023, 1:37 AM
    i enabled it because there was some issues with screen tearing in the game
  • e

    elegant-twilight-61392

    01/21/2023, 1:37 AM
    was your fps cap higher than your monitors refresh rate?
  • s

    square-angle-35096

    01/21/2023, 1:38 AM
    but as it seems, some people are having trouble to run the game with vsync enabled (for some reason its lagging?) so i wanted to make it an option
  • s

    square-angle-35096

    01/21/2023, 1:38 AM
    not really
  • s

    square-angle-35096

    01/21/2023, 1:38 AM
    there was a like
  • s

    square-angle-35096

    01/21/2023, 1:38 AM
    4 fps difference
  • s

    square-angle-35096

    01/21/2023, 1:38 AM
    cuz for some reason when you set the fps to 60 it still surpasses 60
  • e

    elegant-twilight-61392

    01/21/2023, 1:38 AM
    are you sure that vsync is the source of the lag?
  • s

    square-angle-35096

    01/21/2023, 1:39 AM
    it apparently is, because the other testers just complained about lag when i turned vsync on
  • s

    square-angle-35096

    01/21/2023, 1:56 AM
    @elegant-twilight-61392 still, got any idea on how do i enable/disable vsync? even if i have to restart the app to do so
  • e

    elegant-twilight-61392

    01/21/2023, 1:57 AM
    no
  • e

    elegant-twilight-61392

    01/21/2023, 1:58 AM
    you could clone the lime repo and then do a project-wide search in vscode for
    vsync
  • e

    elegant-twilight-61392

    01/21/2023, 1:58 AM
    better than github search
  • b

    bulky-insurance-39338

    01/21/2023, 4:35 AM
    is it not somewhere here into: .. do you tested all out into ?
  • b

    bulky-insurance-39338

    01/21/2023, 4:36 AM
    (all haxe-targets same into i mean?)
  • b

    bulky-insurance-39338

    01/21/2023, 4:36 AM
    (or only that ones for GPU ?)
  • b

    bulky-insurance-39338

    01/21/2023, 4:38 AM
    or into SDL ^^
  • s

    square-angle-35096

    01/21/2023, 5:49 PM
    tf
  • s

    square-angle-35096

    01/21/2023, 5:50 PM
    Copy code
    bat
    Error: __boot__.cpp
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(46): error C2059: syntax error: 'constant'
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(46): error C2238: unexpected token(s) preceding ';'
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(47): error C2059: syntax error: 'constant'
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(47): error C2238: unexpected token(s) preceding ';'
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(87): error C2059: syntax error: 'constant'
    E:\SonicExeUnknownFiles-src\export\debug\windows\obj\include\lime/media/OpenALAudioContext.h(87): error C2238: unexpected token(s) preceding ';'
1...535455...138Latest