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

    salmon-waitress-70321

    12/09/2022, 7:34 PM
    extensions log
    Copy code
    2022-12-09 22:29:34.788 [info] ExtensionService#_doActivateExtension Gruntfuggly.todo-tree, startup: false, activationEvent: 'onStartupFinished'
    2022-12-09 22:29:35.013 [error] No bundle location found for extension ms-vscode-remote.remote-wsl-recommender
    2022-12-09 22:29:35.810 [error] SyntaxError: Unexpected end of JSON input
        at JSON.parse (<anonymous>)
        at c:\Users\User1\.vscode\extensions\jeremyfa.ceramic-0.3.1\vscode-ceramic.js:5380:20
        at c:\Users\User1\.vscode\extensions\jeremyfa.ceramic-0.3.1\vscode-ceramic.js:6016:5
        at ChildProcess.exithandler (node:child_process:415:5)
        at ChildProcess.emit (node:events:526:28)
        at maybeClose (node:internal/child_process:1092:16)
        at ChildProcess._handle.onexit (node:internal/child_process:302:5)
  • b

    billowy-waiter-28954

    12/09/2022, 11:28 PM
    Somehow it fails to run ceramic from the vscode extension. Unfortunately in order to know more about what is happening additional logs should be needed. As I don't reproduce the issue locally that's tricky. What does ceramic gives you if you type
    ceramic ide info --print-split-lines
    manually from your project root?
  • b

    billowy-waiter-28954

    12/09/2022, 11:29 PM
    (and does the issue also happens on a newly created ceramic project?)
  • s

    salmon-waitress-70321

    12/10/2022, 8:12 AM
    + ceramic + ~~~~~~~ + CategoryInfo : ObjectNotFound: (ceramic:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException from user ---------------------------------------- ceramic ide info --print-split-lines { "ide": { "targets": [ { "name": "clay / Run Web", "groups": [ "build", from administrator start successful
  • s

    salmon-waitress-70321

    12/10/2022, 8:17 AM
    run project as administrator is successful
  • s

    salmon-waitress-70321

    12/10/2022, 8:19 AM
    how can i see draw calls with ceramic_debug_draw?
  • b

    billowy-waiter-28954

    12/10/2022, 10:28 AM
    Told you already that you should see infos in the logs. It will periodically print in the logs infos about the draw calls
  • b

    billowy-waiter-28954

    12/10/2022, 10:28 AM
    And that is still super weird, I’m wondering what in your setup may cause this
  • c

    cool-psychiatrist-49311

    12/11/2022, 4:55 AM
    @billowy-waiter-28954 is there a way to add supported asset extensions without modifying ceramic code? specifically I would like to load
    .yml
    file as Text
  • f

    faint-toothbrush-51643

    12/11/2022, 6:14 AM
    couldn't you just rename it to
    .txt
  • b

    billowy-waiter-28954

    12/11/2022, 9:50 AM
    Yes:
  • b

    billowy-waiter-28954

    12/11/2022, 9:50 AM
    Copy code
    haxe
    assets.addText('file.yml');
    then,
    Copy code
    haxe
    var content = assets.text('file.yml');
  • a

    alert-island-39060

    12/11/2022, 11:38 PM
    Hi! I would like my ceramic app to share a generated URL. I tried to use Javascripts navigator.share API but I could not get it to work. So now I'm more into just copying the URL to the clip board. I used the ceramic
    backend.Clipboard
    and that worked in the electron app. But not on mobile browsers, like Safari on iOS . I'm almost thinking about hiding the canvas where ceramic is running and just do html and javascript in the index file. Do you guys have any ideas or experience with sharing links from a ceramic App?
  • b

    billowy-waiter-28954

    12/12/2022, 9:10 AM
    Clipboard should work in browser if you add the ceramic_browser_clipboard define
  • g

    gifted-whale-78169

    12/13/2022, 10:23 PM
    @billowy-waiter-28954 are you accepting PRs for documentation updates or new guides?
  • g

    gifted-whale-78169

    12/13/2022, 10:24 PM
    i would like to add some comments on some methods and variables like entity.tween
  • b

    billowy-waiter-28954

    12/13/2022, 11:05 PM
    Yes, PRs are welcome
  • g

    gifted-whale-78169

    12/13/2022, 11:09 PM
    cool!
  • g

    gifted-whale-78169

    12/14/2022, 2:02 AM
    not sure what exactly you mean by this:
    Copy code
    ceramic.Visual.clip
    
    Use the given visual's bounds as clipping area for every children. The clipping only affect childrens and not the visual it is assigned to. Clipping areas cannot be combined. That means if clip is not null and current visual instance is already clipped by a parent visual, its children's won't be clipped by it anymore as they are instead clipped by this clip property instead.
    it says that only children are clipped, though it seems that only the given visual is clipped by the value
  • g

    gifted-whale-78169

    12/14/2022, 2:02 AM
    not sure if im misunderstanding something?
  • b

    billowy-waiter-28954

    12/14/2022, 9:44 AM
    Mmmmmh, it seems the api docs are not up to date
  • b

    billowy-waiter-28954

    12/14/2022, 9:44 AM
    clip behavior has changed in recent versions of ceramic
  • b

    billowy-waiter-28954

    12/14/2022, 9:45 AM
    visual.clip still clips children, but also itself, which was not the case before, but I need to update the api docs. Weird, that should be done automatically but it didn't 🤔
  • b

    billowy-waiter-28954

    12/14/2022, 9:49 AM
    Oh, well, api docs generation is broken https://github.com/ceramic-engine/api-docs/actions/runs/3559118414/jobs/5978263392 I'll fix it soon!
  • g

    gifted-whale-78169

    12/14/2022, 7:49 PM
    Haha yea, glad I found this now
  • g

    gifted-whale-78169

    12/15/2022, 1:04 AM
    how can i keep two bodies from colliding with the arcade plugin?
  • g

    gifted-whale-78169

    12/15/2022, 1:04 AM
    can really find any good docs on it
  • b

    billowy-waiter-28954

    12/15/2022, 12:01 PM
    @gifted-whale-78169 Bodies won't collide unless you call
    collide()
    in your update loop
  • b

    billowy-waiter-28954

    12/15/2022, 12:03 PM
    In the pixel platformer sample, the only reason the character collides with the tilemap is because
    updatePhysics()
    is called at every frame in the update event: https://github.com/ceramic-engine/ceramic-samples/blob/master/pixel-platformer/src/Player.hx#L123-L141
  • b

    billowy-waiter-28954

    12/15/2022, 12:04 PM
    And regarding documentation about arcade physics, it's far from perfect, but you can take a look at Phaser v2 arcade physics examples: https://phaser.io/examples/v2/category/arcade-physics, because Ceramic's arcade plugin is a straight port of that
1...293031...124Latest