https://linen.dev logo
Join Discord
Powered by
# ceramic
  • g

    gifted-whale-78169

    01/28/2023, 10:42 PM
    this works for the most part, there are still two spaces though
  • b

    billowy-waiter-28954

    01/28/2023, 10:42 PM
    You can also set
    q.roundTranslation = 1
  • b

    billowy-waiter-28954

    01/28/2023, 10:43 PM
    And disable antialiasing if you don't need it
  • g

    gifted-whale-78169

    01/28/2023, 10:43 PM
    alright
  • g

    gifted-whale-78169

    01/28/2023, 10:45 PM
    where do i do that?
  • g

    gifted-whale-78169

    01/28/2023, 10:46 PM
    the app?
  • g

    gifted-whale-78169

    01/28/2023, 10:48 PM
    ah i found it
  • g

    gifted-whale-78169

    01/28/2023, 10:49 PM
    yea no disabling antialiasing actually made it worse
  • f

    faint-toothbrush-51643

    01/28/2023, 10:56 PM
    so many things i didn't know about
  • g

    gifted-whale-78169

    01/28/2023, 10:57 PM
    nothing worked :/
  • f

    faint-toothbrush-51643

    01/28/2023, 11:10 PM
    you tried everything?
  • g

    gifted-whale-78169

    01/28/2023, 11:10 PM
    yep
  • f

    faint-toothbrush-51643

    01/28/2023, 11:23 PM
    were the results the same each time?
  • g

    gifted-whale-78169

    01/28/2023, 11:25 PM
    pretty much yea
  • g

    gifted-whale-78169

    01/28/2023, 11:25 PM
    i suppose ill just stretch it for now
  • f

    faint-toothbrush-51643

    01/29/2023, 1:00 AM
    your profile picture just changed
  • g

    gifted-whale-78169

    01/29/2023, 1:42 AM
    yes it did lol
  • g

    gifted-whale-78169

    01/29/2023, 1:47 AM
    what would be the best way to make pipes spawn every second or so without blocking the program
  • g

    gifted-whale-78169

    01/29/2023, 1:49 AM
    i think the answer is
    ceramic.Timer
    but i cant be sure
  • f

    faint-toothbrush-51643

    01/29/2023, 1:50 AM
    put it in the scene's
    update
  • g

    gifted-whale-78169

    01/29/2023, 1:52 AM
    what,
    Timer.delay()
    or something?
  • f

    faint-toothbrush-51643

    01/29/2023, 1:54 AM
    use numbers to keep track of when it's time to go
  • g

    gifted-whale-78169

    01/29/2023, 1:54 AM
    i guess i could make a variable and increment by the deltatime until it reaches 1000
  • g

    gifted-whale-78169

    01/29/2023, 1:54 AM
    maybe that would work
  • f

    faint-toothbrush-51643

    01/29/2023, 1:55 AM
    Copy code
    hx
      var sinceLastPipe:Float = 0;
      override function update(elapsed) {
        sinceLastPipe += elapsed;
        if (sinceLastPipe >= 1) {
          spawnPipe();
          sinceLastPipe -= 1;
        }
      }
  • g

    gifted-whale-78169

    01/29/2023, 1:55 AM
    yeap let me try it
  • g

    gifted-whale-78169

    01/29/2023, 1:57 AM
    yea sweet it works perfectly
  • g

    gifted-whale-78169

    01/29/2023, 1:57 AM
    now i gotta add collisions, space them out a bit more, clean it up and ill be done
  • f

    faint-toothbrush-51643

    01/29/2023, 2:10 AM
    try using some additional variables to make the spacing variable
  • g

    gifted-whale-78169

    01/29/2023, 2:21 AM
    yea i got a variable for pipe speed and wait time
1...515253...124Latest