https://linen.dev logo
Join Discord
Powered by
# flixel
  • w

    witty-island-52596

    02/20/2023, 4:44 PM
    whats the issue
  • w

    witty-island-52596

    02/20/2023, 4:44 PM
    it has more features and performs better
  • s

    swift-hospital-19424

    02/20/2023, 4:44 PM
    i cant get an image to inf scroll , basically making it look like its scrolling forever without going offscreen
  • e

    enough-lawyer-1858

    02/20/2023, 4:44 PM
    what a descriptive message asking for help
  • w

    witty-island-52596

    02/20/2023, 4:44 PM
    it still does that
  • s

    swift-hospital-19424

    02/20/2023, 4:45 PM
    i tried but then i get
  • m

    mysterious-intern-42609

    02/20/2023, 4:45 PM
  • e

    enough-lawyer-1858

    02/20/2023, 4:45 PM
    it doesnt really make sense that it just shows black tho
  • w

    witty-island-52596

    02/20/2023, 4:45 PM
    try to slowly add in changes until it breaks
  • m

    mysterious-intern-42609

    02/20/2023, 4:46 PM
    kk
  • s

    swift-hospital-19424

    02/20/2023, 4:47 PM
    i have
    Copy code
    titlestatebg = new FlxBackdrop(Paths.image('GameAssets/harharhar'), 0.2, 0, true, true);
            titlestatebg.velocity.set(200, 110);
            titlestatebg.updateHitbox();
            titlestatebg.screenCenter(X);
            add(titlestatebg);
    the error its is giving me is
    Copy code
    source/StartThingState.hx:44: characters 71-74 : Float should be flixel.util.FlxAxes
    source/StartThingState.hx:44: characters 71-74 : ... For optional function argument 'repeatAxes'
  • e

    enough-lawyer-1858

    02/20/2023, 4:47 PM
    what happens if you set the
    gl_FragColor
    to
    Copy code
    glsl
    gl_FragColor = vec4(flixel_texture2D(bitmap, vec2(uv.x - chromo_x*0.016, uv.y - chromo_y*0.009)).r, flixel_texture2D(bitmap, vec2(uv.x + chromo_x*0.0125, uv.y - chromo_y*0.004)).g, flixel_texture2D(bitmap, vec2(uv.x - chromo_x*0.0045, uv.y + chromo_y*0.0085)).b, flixel_texture2D(bitmap, uv).a);
  • s

    swift-hospital-19424

    02/20/2023, 4:47 PM
    i have imported flxbackdrop and everything
  • m

    mysterious-intern-42609

    02/20/2023, 4:47 PM
    Did you remove the 1.0?
  • m

    mysterious-intern-42609

    02/20/2023, 4:47 PM
    If so
  • w

    witty-island-52596

    02/20/2023, 4:47 PM
    https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html it has new constructor args
  • m

    mysterious-intern-42609

    02/20/2023, 4:47 PM
    Then it just
  • m

    mysterious-intern-42609

    02/20/2023, 4:47 PM
    Crashes
  • e

    enough-lawyer-1858

    02/20/2023, 4:48 PM
    what
  • m

    mysterious-intern-42609

    02/20/2023, 4:48 PM
    value exception
  • s

    shy-wire-69404

    02/20/2023, 4:48 PM
    no they changed the 1.0 to alpha of the pixel
  • e

    elegant-twilight-61392

    02/20/2023, 4:48 PM
    please use the space bar instead of the enter key
  • m

    mysterious-intern-42609

    02/20/2023, 4:48 PM
    Ah ok
  • m

    mysterious-intern-42609

    02/20/2023, 4:48 PM
    I will try it then
  • s

    shy-wire-69404

    02/20/2023, 4:48 PM
    flixel_texture2D(bitmap, uv).a
  • m

    mysterious-intern-42609

    02/20/2023, 4:48 PM
    Hopefully it will work now
  • w

    witty-island-52596

    02/20/2023, 4:49 PM
    maybe it's William Shatner
  • m

    mysterious-intern-42609

    02/20/2023, 4:49 PM
    Tysm
  • m

    mysterious-intern-42609

    02/20/2023, 4:49 PM
    It finally works
  • e

    enough-lawyer-1858

    02/20/2023, 4:50 PM
    👍
1...945994609461...9809Latest