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

    ambitious-knife-25690

    01/31/2023, 1:06 AM
    double check on the android website
  • f

    faint-toothbrush-51643

    01/31/2023, 1:06 AM
    i read the ceramic tutorial a while ago but it felt like it was made by and for people who already android
  • a

    ambitious-knife-25690

    01/31/2023, 1:07 AM
    ceramic doesn't need to explain how to install android dev tools
  • a

    ambitious-knife-25690

    01/31/2023, 1:07 AM
    because its the same as if ceramic doesn't exist
  • f

    faint-toothbrush-51643

    01/31/2023, 1:07 AM
    i'll do this when i get home
  • a

    ambitious-knife-25690

    01/31/2023, 1:18 AM
    I just got the same error
  • a

    ambitious-knife-25690

    01/31/2023, 1:18 AM
    are you sure it didn't say anything useful? 😄
  • a

    ambitious-knife-25690

    01/31/2023, 1:29 AM
    build errored as well
  • a

    ambitious-knife-25690

    01/31/2023, 1:30 AM
    maybe ceramic needs a specific version of android etc
  • a

    ambitious-knife-25690

    01/31/2023, 1:30 AM
    or maybe need to tell ceramic where ndk tools are etc
  • f

    faint-toothbrush-51643

    01/31/2023, 2:12 AM
    i ran with each of the
    --
    flags it suggested
  • f

    faint-toothbrush-51643

    01/31/2023, 2:13 AM
    i wanna say i did actually set the
    /SDKs/
    thing when i tried a few monsth ago
  • g

    gifted-whale-78169

    01/31/2023, 2:15 AM
    im now using the base
    Pipe
    class as the hitbox and because Pipe and Player have the same parent, it should work and there is a slight hitbox on the pipes on the bottom of the screen, but it is still not in the proper place. i believe i need to manually rotate the hitbox as well when placing it up as my method is to rotate it 180 degrees, but otherwise it should be accurate but isnt.
    Copy code
    hx
    //Pipe.hx
        public function new(headtex, tailtex: ceramic.Texture, p: Pos) {
            super();
    
            initArcadePhysics();
            immovable = true;
            allowGravity = false;
    
    //MainScene.hx
    app.arcade.onUpdate(this, (d: Float) -> {
                for (v in pipes) {
                    app.arcade.world.collide(plr, v);
                }
            });
    should i maybe init arcade physics after i set the size of the visual? still trying to get the hang of how to properly handle this and get hitboxes to be lined up
  • g

    gifted-whale-78169

    01/31/2023, 2:16 AM
    i have another project where i got collisions to work perfectly but i dont see any differences between that and this
  • g

    gifted-whale-78169

    01/31/2023, 2:17 AM
    https://github.com/kevspau/flapus-birdus/blob/master/src/Pipe.hx is the full pipe source
  • b

    billowy-waiter-28954

    01/31/2023, 9:42 AM
    @ambitious-knife-25690 @faint-toothbrush-51643 Are you sure you configured your
    .hxcpp-config.xml
    file properly, like shown in this guide: https://ceramic-engine.com/guides/platform-setup/#android ? (this file should be located in your home directory)
  • f

    faint-toothbrush-51643

    01/31/2023, 5:09 PM
    quick question about the
    .hxcpp-config.xml
  • f

    faint-toothbrush-51643

    01/31/2023, 5:09 PM
    what are all the `unless`es for?
  • a

    ambitious-knife-25690

    01/31/2023, 10:36 PM
  • a

    ambitious-knife-25690

    01/31/2023, 10:36 PM
    haxeui backend so far
  • a

    ambitious-knife-25690

    01/31/2023, 10:36 PM
    if anyone wants to take a peak
  • a

    ambitious-knife-25690

    01/31/2023, 10:37 PM
    it is currently not complete "enough" just yet tho
  • a

    ambitious-knife-25690

    01/31/2023, 10:37 PM
    for simple ui's or test apps it is likely enough tho
  • b

    billowy-waiter-28954

    01/31/2023, 11:41 PM
    https://github.com/Jarrio/haxeui-ceramic/blob/master/haxe/ui/backend/TextDisplayImpl.hx#L110 <- the computeContent() call is not needed and redundant. If you query width or height of a Text object, content will be computed anyway if it's dirty
  • a

    ambitious-knife-25690

    01/31/2023, 11:56 PM
    but if I don't have that component doesn't render correctly
  • f

    faint-toothbrush-51643

    01/31/2023, 11:57 PM
    Copy code
    > Task :app:compileDebugJavaWithJavac FAILED
    Fatal Error: Unable to find package java.lang in classpath or bootclasspath
  • f

    faint-toothbrush-51643

    01/31/2023, 11:57 PM
    i think i'm making progress?
  • a

    ambitious-knife-25690

    01/31/2023, 11:59 PM
    Notice the calendar, the
    light
    dark
    text
  • a

    ambitious-knife-25690

    01/31/2023, 11:59 PM
    the
    data
    table doesn't count because it's a table and will align
  • a

    ambitious-knife-25690

    01/31/2023, 11:59 PM
    this is with computeContent
1...545556...124Latest