Code Monkey home page Code Monkey logo

Comments (2)

michaliskambi avatar michaliskambi commented on June 15, 2024

Couldn't reproduce exactly what was happening in my own project though have a feeling it's related, if you double click on the castle-sprite-sheet to edit the animation you'll get a warning every time in the logs

Thank you for reporting, I fixed the warnings about missing animations.

Inturn causing issues such as being unable to reload the url aka the sprite animation unless you restart the editor but regardless on any changes you will need to restart everytime.

If you modified the sprite sheet (using CGE sprite sheet editor), it was indeed not reloaded automatically in the design. This was not really related to the warning -- it was just our TODO to detect file changes (whether done by sprite sheet editor, or any external application, e.g. when Blender writes glTF file) and automatically reload files at design-time. To reload explicitly, you can right-click on the TCastleScene object in hierarchy, and choose "Reload URL" from the context menu. Or close + open again the design. Or indeed restart the editor.

That said: I decided it's time finally implement automatic file watching :) It's now done. Saving new sprite sheet will automatically update the design. Changing any file in an external application will also automatically reload it in CGE at design-time.

from castle-engine.

michaliskambi avatar michaliskambi commented on June 15, 2024

P.S. The new CGE version will be automatically build by Jenkins really soon, hopefully (Jenkins server seems a bit overloaded now).

You can watch the page snapshot...master to know when it is available. If the commit "Monitor files for changes, to automatically reload" will no longer be visible on that page, that means it is part of the release now and you can download latest CGE from https://castle-engine.io/download .

Note that you may need to press "Load more commits" on snapshot...master to make sure you see all commits.

from castle-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.