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

    gifted-whale-78169

    01/29/2023, 2:21 AM
    well i just made the coolest thing in flappy bird ever
  • g

    gifted-whale-78169

    01/29/2023, 2:21 AM
    on accident
  • g

    gifted-whale-78169

    01/29/2023, 2:23 AM
    enter the pipe zone
  • f

    faint-toothbrush-51643

    01/29/2023, 3:26 AM
    so it's not the flappy bird style of movement?
  • f

    faint-toothbrush-51643

    01/29/2023, 3:26 AM
    it's more like this https://www.newgrounds.com/portal/view/774148
  • g

    gifted-whale-78169

    01/29/2023, 4:46 AM
    yea im using acceleration instead of pure gravity
  • g

    gifted-whale-78169

    01/29/2023, 4:46 AM
    i think it makes it a bit harder
  • g

    gifted-whale-78169

    01/29/2023, 4:50 AM
    speaking of that though i was actually thinking of making a newgrounds account
  • g

    gifted-whale-78169

    01/29/2023, 4:50 AM
    it seems pretty cool
  • g

    gifted-whale-78169

    01/29/2023, 4:50 AM
    i never really looked at it but theres some sick indie games
  • s

    square-angle-35096

    01/29/2023, 4:54 AM
    newgrounds and itch.io have alot of cool indie games n' stuff
  • s

    square-angle-35096

    01/29/2023, 4:55 AM
    gamejolt has too, but its more well known so its full of shitpost, kinda harder to find good stuff
  • f

    faint-toothbrush-51643

    01/29/2023, 5:03 AM
    yes you should and you should also follow me
  • b

    bright-gpu-74537

    01/29/2023, 5:14 PM
    https://twitter.com/IanHarrigan1982/status/1619745678426800140
  • g

    gifted-whale-78169

    01/29/2023, 6:39 PM
    i cant get collisions to work, what am i doing wrong?
    Copy code
    haxe
    //MainScene.hx
    app.arcade.onUpdate(this, (d: Float) -> {
                for (v in pipes) {
                    app.arcade.world.collide(plr.body, v.hitbox.body); //TODO1 finish pipe collisions
                }
    
    ----
    //Pipe.hx
    hitbox = new Quad();
            hitbox.color = Color.RED;
            hitbox.anchor(0.5, 1);
            hitbox.x = width/2;
            hitbox.size(headtex.width, tailtex.height * (tailLength + 5) + headtex.height);
            hitbox.initArcadePhysics();
            hitbox.allowGravity = false;
            hitbox.immovable = true;
            add(hitbox);
            });
  • g

    gifted-whale-78169

    01/29/2023, 6:40 PM
    i feel like every time i work with arcade physics this is the hardest part
  • b

    billowy-waiter-28954

    01/29/2023, 10:24 PM
    The problem is that you are trying to make two body collides but those two bodies are attached to visuals that don't have the same parent. The arcade physics system is pretty basic, bodies position only take into account the relative position of the visual they are attached to, not any parent
  • b

    billowy-waiter-28954

    01/29/2023, 10:26 PM
    So if you want your collision to work, you either need to test on objects that share the same 0,0 relative origin, or create a custom
    arcade.Body
    object on which you set the x,y values yourself
  • w

    wonderful-motorcycle-11189

    01/29/2023, 11:51 PM
    sorry to bother you couple days after but isn't Element still in dev?
  • a

    ambitious-knife-25690

    01/30/2023, 12:05 AM
    nah it's fine, to reply to me
  • a

    ambitious-knife-25690

    01/30/2023, 12:05 AM
    afaik elements is more of a "build your own gui" kind of tool and the issue with it is more that it has 0 documentation and isn't easy to "just" pick up
  • w

    wonderful-motorcycle-11189

    01/30/2023, 12:05 AM
    if it would make sense I have interest to work on a CYOA style of game
  • w

    wonderful-motorcycle-11189

    01/30/2023, 12:06 AM
    oh fairr
  • a

    ambitious-knife-25690

    01/30/2023, 12:07 AM
    i'll probably be uploading my backend of haxeui-ceramic soonish, there are things that i'm stuck on, but, I still got a bit of stuff left to do on it I believe
  • a

    ambitious-knife-25690

    01/30/2023, 12:08 AM
    i'm not sure if you have a preference of ui
  • a

    ambitious-knife-25690

    01/30/2023, 12:08 AM
    elements does look pretty usable tho
  • a

    ambitious-knife-25690

    01/30/2023, 12:09 AM
    this is made in elements
  • a

    ambitious-knife-25690

    01/30/2023, 12:10 AM
    so both are capable options for ceramic
  • a

    ambitious-knife-25690

    01/30/2023, 12:10 AM
    it will essentially come down to "pick your preferred workflow"
  • w

    wonderful-motorcycle-11189

    01/30/2023, 12:17 AM
    tbh I think in term of UI an text adventure isn<t supra complex
1...525354...124Latest