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

    billowy-waiter-28954

    07/31/2022, 2:37 PM
    But you can also access "raw" text input using
    app.textInput.start()
  • b

    billowy-waiter-28954

    07/31/2022, 2:42 PM
    Using EditText:
    Copy code
    haxe
    var someText = new Text();
    someText.color = Color.WHITE;
    someText.content = 'someContent';
    
    var selectionColor = Color.BLUE;
    var textCursorColor = Color.WHITE;
    var editText = new EditText(selectionColor, textCursorColor);
    someText.component('editText', editText);
    
    editText.onStart(this, function() {
        // Started editing text
    });
    
    editText.onUpdate(this, function(text:String) {
        trace('text updated: ' + text);
    });
    
    editText.onSubmit(this, function() {
        // Edited then pressed "enter" or similar
    });
    
    editText.onStop(this, function() {
        // Stopped editing text
    });
  • f

    faint-toothbrush-51643

    07/31/2022, 2:55 PM
    what's the effective difference between them?
  • b

    billowy-waiter-28954

    07/31/2022, 2:58 PM
    app.textInput.start()
    is not providing the graphic part of the text input
  • b

    billowy-waiter-28954

    07/31/2022, 2:58 PM
    If you just want to create an editable text field you should use the example abuve
  • f

    faint-toothbrush-51643

    08/02/2022, 3:32 AM
    oh i should ask here
  • f

    faint-toothbrush-51643

    08/02/2022, 3:32 AM
    i've been having this very annoying problem with sppine in ceramic
  • f

    faint-toothbrush-51643

    08/02/2022, 3:32 AM
    the slime is deformed for no reason
  • f

    faint-toothbrush-51643

    08/02/2022, 3:33 AM
    i've been trying to figure out what the problem is for the past four days
  • f

    faint-toothbrush-51643

    08/02/2022, 3:33 AM
    it looks fine in editor but it comes out like this in ceramic, like the top bone is off by about 30 degrees and some other stuff
  • f

    faint-toothbrush-51643

    08/02/2022, 3:34 AM
    even on a fresh new ceramic project
  • f

    faint-toothbrush-51643

    08/02/2022, 4:14 AM
    nevermind? maybe? version? ???
  • b

    billowy-waiter-28954

    08/02/2022, 9:44 AM
    Seems like a bug in spine runtime. Which version of the editor are you using?
  • f

    faint-toothbrush-51643

    08/02/2022, 10:01 PM
    i fixed the issue, it had to do with versions and/or a bone's scale being set without me realizing
  • b

    billowy-waiter-28954

    08/04/2022, 11:23 AM
    Render textures that support antialiasing (multisampling) is coming soon to Ceramic...
  • b

    billowy-waiter-28954

    08/04/2022, 11:24 AM
    Up until now, antialiasing was only possible on content that is not rendered onto a render texture (rendered to screen directly)
  • f

    faint-toothbrush-51643

    08/05/2022, 1:59 AM
    so, after a moderate amount of experimentation, I believe I've found an issue with spine in ceramic
  • f

    faint-toothbrush-51643

    08/05/2022, 2:00 AM
    If the mix between two animations is shorter than the elapsed time between frames, the spine glitches out and stops moving
  • f

    faint-toothbrush-51643

    08/05/2022, 2:01 AM
    I'm using tracks, but only one track, so I haven't yet tested if it affects only that one track or the entire spine
  • b

    billowy-waiter-28954

    08/06/2022, 8:57 AM
    Sounds like a problem very specific to spine. Could be a problem in the spine runtime for haxe, but could also be a bug from official runtime. Do you have any error logged when the glitch happen?
  • f

    faint-toothbrush-51643

    08/06/2022, 5:35 PM
    no error or warning or anything, it just stops
  • f

    faint-toothbrush-51643

    08/06/2022, 5:37 PM
    i tried to run it in the official skeleton viewer, which i hear uses the java/libgdx library (that spine-hx is converted from) but it is apparently just broken and doesn't even start up right
  • f

    faint-toothbrush-51643

    08/06/2022, 10:36 PM
    to help with testing, can i change the target framerate while the game is running?
  • b

    billowy-waiter-28954

    08/06/2022, 10:58 PM
    Yes, you simply set settings.targetFps = your fps
  • g

    gifted-whale-78169

    08/08/2022, 5:23 AM
    im just past the square tutorial and i think im gonna cry because of how nice ceramic is
  • g

    gifted-whale-78169

    08/08/2022, 5:23 AM
    the api looks so easy to use
  • g

    gifted-whale-78169

    08/08/2022, 5:24 AM
    bless haxe and the amazing libraries that come with it 🙏
  • b

    billowy-waiter-28954

    08/08/2022, 11:21 AM
    Hey, I'm always happy to get such feedback about Ceramic thanks 🙂
  • b

    best-agent-85158

    08/08/2022, 12:42 PM
    thought ill share, feeling proud of my highscore lol
  • b

    best-agent-85158

    08/08/2022, 12:42 PM
    thats a really nice game
12345...124Latest