Delete all frames of an animation

  • #1, by LebosteinWednesday, 04. February 2015, 12:29 10 years ago
    I have to reset some of my animations with new sets of frames. How I can clear all frames of an animation to load a new sequence? At the moment I am forced to press 100 times on [ - ] to delete frame by frame (5 chars * 8 sets * 100 frames = 3200 clicks red ). Thanks.

    Key Killer

    621 Posts


  • #2, by afrlmeWednesday, 04. February 2015, 12:57 10 years ago
    Delete the animation itself & re-add it? or start clicking! grin

    You would think there would be a button for quickly deleting all frames or a way to select all frames & then press delete. Actually, I'm not sure why there isn't an option for this.

    Imperator

    7278 Posts

  • #3, by LebosteinWednesday, 04. February 2015, 13:07 10 years ago
    Delete the animation itself & re-add it?

    And all links and calls in the scripts remain? I thought animations are linked by an ID internaly. They are linked by name? If this is so, then everything is fine.

    In Visionaire it is very dangerous to delete elements normally. You get no warning, if this element is linked in some scripts or other settings!

    Key Killer

    621 Posts

  • #4, by afrlmeWednesday, 04. February 2015, 13:19 10 years ago
    Ah good point. No you would probably have to re-add them in the call / stop animation action parts again too. Sorry.

    Imperator

    7278 Posts

  • #5, by LebosteinWednesday, 04. February 2015, 13:20 10 years ago
    Yes, otherwise I have to search hundred of scripts for loosing animations.

    Key Killer

    621 Posts

  • #6, by LebosteinWednesday, 04. February 2015, 13:46 10 years ago
    I have great respect for Daedalic. I can hardly believe it, that they have such huge projects built with Visionaire. It is only possible, I think, if you plan your adventure to the last detail before you open Visionaire. If you want to change or remove things during the process of building of a huge project, you are lost.

    Key Killer

    621 Posts

  • #7, by afrlmeWednesday, 04. February 2015, 14:01 10 years ago
    Hmm. They do (or did) have a lot of people in their company (when I say a lot I don't mean a small handful of people). What are interns for? razz

    A lot of stuff they do is also done with scripts. If you wanted to replace an animation & the other animation has the same amount of frames then just replace the image files in the folder with animations that contain the exact same name or open up the .ved file in a text editor like notepad++, sublime text or atom, search for the animation file-name (minus the prefix value), select all instances & replace them with the new file-name.

    There are multiple ways to replace files & animations & pretty much everything. The editor however is currently as the editor is...

    Imperator

    7278 Posts

  • #8, by LebosteinWednesday, 04. February 2015, 14:07 10 years ago
    Yes, the .ved file. I will try to change my animation frames in that way. I small python script or something like that could do the job smile

    But always I am thinking to other people who use Visionaire. Otherwise I would not post such mundane things here.

    Key Killer

    621 Posts

  • #9, by afrlmeWednesday, 04. February 2015, 14:12 10 years ago
    Python script for?

    Just download atom or sublime text. They have great search & replace functions & multi-line / word editing. I write all my scripts / code in Sublime Text.

    Imperator

    7278 Posts

  • #10, by AlexWednesday, 04. February 2015, 15:04 10 years ago
    The editor has its limitations like every tool. We will improve it but this takes time. Even if we were 10 developers working full time we could never fulfill all requests wink
    If you have that many frames then open the ved-file in a text editor as AFRLme said. Search for the right animation (tag with animation and correct name) and then delete everything between open and end tag of "AnimationSprites". Leave the AnimationSprites tag as it is. Make sure to make backups before directly manipulating ved-files since it is easy to mess it up. Start Visionaire editor again, load ved file and verify if frames were deleted correctly.

    Great Poster

    378 Posts

  • #11, by LebosteinWednesday, 04. February 2015, 17:00 10 years ago
    No problem. I give you hints for improvements only. That's all. Sometimes I have a solution but I ask my question anyway. Not for me, for other users too. And in the hope that such ideas can improve the workflow someday. This is the purpose of such forums I think. It would be sad if the users not give her feedback and her (simple) ideas to improve the product.

    Key Killer

    621 Posts