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

    ambitious-knife-25690

    01/13/2023, 5:57 PM
    i am confused
  • t

    thousands-state-46635

    01/13/2023, 5:57 PM
    could help simplyifing code, especially in stuff like game dev e.g
    Copy code
    hx
    velocity = keyPressed(RIGHT) <=> keyPressed(LEFT)
  • a

    ambitious-knife-25690

    01/13/2023, 5:58 PM
    what does this mean? pick whichever is true?
  • t

    thousands-state-46635

    01/13/2023, 5:58 PM
    ok well this doesnt make sense actually
  • t

    thousands-state-46635

    01/13/2023, 5:58 PM
    but the spaceship op is like
  • t

    thousands-state-46635

    01/13/2023, 5:58 PM
    a b if a is bigger: return 1 if b is bigger: return -1 if a == b: return 0
  • t

    thousands-state-46635

    01/13/2023, 5:59 PM
    It could be incorporated with booleans since they can be considered integers
  • t

    thousands-state-46635

    01/13/2023, 5:59 PM
    but afaik haxe doesnt treat em that way
  • a

    ambitious-knife-25690

    01/13/2023, 5:59 PM
    no idea but people in #162395145352904705 may know
  • a

    ambitious-knife-25690

    01/13/2023, 5:59 PM
    i wonder if that could be macrod
  • a

    ambitious-knife-25690

    01/13/2023, 6:00 PM
    i guess it would be invalid haxe
  • a

    ambitious-knife-25690

    01/13/2023, 6:01 PM
    how do i disable this prompt?
  • a

    ambitious-knife-25690

    01/13/2023, 6:01 PM
    Never seen it before
  • t

    thousands-state-46635

    01/13/2023, 6:10 PM
    WAit i thought this was #162395145352904705 im so sorry
  • a

    ambitious-knife-25690

    01/13/2023, 6:10 PM
    lol it's okay
  • f

    fancy-parrot-1326

    01/13/2023, 6:22 PM
    Good day. My name is Timur, I am 45 years old. I am an old machine tool adjuster and not a programmer , but my wife works as a music teacher at school. She asked me to make an interactive game for schoolchildren. It looks like a game like this link https://github.com/mio-edition/floyds-puzzle This is a quiz game where a cat will run and it will jump on the musical signs. It will be necessary to arrange the musical signs by dragging on the touch screen to the desired position and then the cat will be able to move along the musical lines to the next level . I found the Ceramic engine on the Internet and it seems to be easy enough to master. But I would like to have various effects in the form of flickering or something else that I could insert myself in the right place by copying the shader code from the shadertoy website. Does the Ceramic engine work with shaders? Maybe you can advise me something else... I also found engines like Godot and Defold (I don't consider huge engines like UE or Unity). I think the Ceramic engine is very good for such a small 2d game.
  • f

    faint-toothbrush-51643

    01/13/2023, 6:23 PM
    it does have shader support, but personally i haven't used it for flickering-type effects
  • f

    faint-toothbrush-51643

    01/13/2023, 6:23 PM
    i use it for palette swapping
  • a

    ambitious-knife-25690

    01/14/2023, 6:15 AM
    To confirm, the intended way to scene switch in ceramic is overwriting
    app.scenes.main
    directly?
  • b

    billowy-waiter-28954

    01/14/2023, 7:32 AM
    Yes
  • b

    billowy-waiter-28954

    01/14/2023, 7:59 AM
    There is not much docs about it except the code of existing shaders, but yes Ceramic works with shaders. It probably won’t be as simple as copy and paste because uniforms have different names but if you know a bit of glsl you should be fine
  • a

    ambitious-knife-25690

    01/14/2023, 11:33 AM
    is there a ceramic command to start a html server separately?
  • b

    billowy-waiter-28954

    01/14/2023, 2:12 PM
    No, so the most simple way is to use a vscode extension that does serve your project/web directory, with live reload etc… and select clay / build web instead of clay / run web
  • b

    billowy-waiter-28954

    01/14/2023, 5:54 PM
    @ambitious-knife-25690 https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
  • f

    fancy-parrot-1326

    01/14/2023, 7:15 PM
    Is it possible to somehow run the game on the TV? My wife has a huge touch screen TV in her classroom. There seems to be an Android operating system inside it (but I'm not sure). To be honest, I myself surprised that this TV has a touch screen, usually a touch screen have tablets and phones, this is probably some kind of TV for classrooms. Because such a TV is not in demand at home, since everyone at home has either a computer or a tablet or a smartphone. Probably, this TV is intended for the teacher to indicate some interactive pictures. I will check the model name and id of the TV on Monday and find out if there is any operating system inside. If there is, for example, an android, will a game made on the Ceramics engine work on it?
  • f

    fancy-parrot-1326

    01/14/2023, 7:21 PM
    As far as I understand, the most important thing is to find out which graphic API is present in this TV. I'm not sure if there's Opengl or Vulkan inside. But if it is a smart TV, then there is a high probability that there is a browser inside it.
  • f

    fancy-parrot-1326

    01/14/2023, 7:31 PM
    Also my wife has a laptop with windows, but there is a small screen. Therefore, there is a goal to launch an interactive game for schoolchildren on a large TV screen. Is it possible to deploy a game on Windows on a laptop via a small http server that would be accessible via ethernet and although the game code would be on the laptop, the graphics themselves would be displayed on a large TV screen?
  • f

    faint-toothbrush-51643

    01/14/2023, 9:32 PM
    yes, be sure to check the TV's operating system
  • f

    faint-toothbrush-51643

    01/14/2023, 9:32 PM
    also check if it has a web browser
  • f

    faint-toothbrush-51643

    01/14/2023, 9:33 PM
    ceramic can build for web, so as long as your device has a web browser, it should be able to run it
1...373839...124Latest