Visionaire suddenly crashes!

  • #10, z kytattooThursday, 07. July 2016, 09:13 hodinky 8 years ago
    I use few scripts - only to resize some animations, but the crashes appear not in those scenes... I tried to preload animations, but crashes still happen.

    Bažant

    60 Posts


  • #11, z sebastianThursday, 07. July 2016, 09:54 hodinky 8 years ago
    Any problems with other projects...?

    Kapitán

    2346 Posts

  • #12, z kytattooThursday, 07. July 2016, 11:21 hodinky 8 years ago
    I m sorry but when i am to find other projects? )) I dont have any example ones

    Bažant

    60 Posts

  • #13, z sebastianThursday, 07. July 2016, 12:26 hodinky 8 years ago
    You have a mac, right? You could download the demo of VS which comes with an examplegame or find demogames here:
    http://www.visionaire-studio.net/cms/visionaire4-english.html (scroll to bottom)

    Kapitán

    2346 Posts

  • #14, z kytattooThursday, 07. July 2016, 20:32 hodinky 8 years ago
    Thanks) So - i downloaded game about knight and I have played through it for 30 minutes i think - and - NO CRASHES roll That means there is something wrong with my project.. Any ideas what could it be?

    Bažant

    60 Posts

  • #15, z sebastianThursday, 07. July 2016, 20:38 hodinky 8 years ago
    hmm... could be anything. As a test I would recommend that you save your project under a different name (to be sure you dont mess up anything) and disable all your lua scripts first and check if this changes the behavior of your game. If everything is fine you could try to activate each script separatly until you find some script which could cause this.

    I guess here that it could be some lua script because in a normal game these kind of errors should occour when only using the action parts.

    What is your game resolution? Are there any big animations you use?
    Also you mentioned that you preload a lot of animations. Do you unload them after you dont need them anymore? because they will be kept in the memory until...crash (maybe)...

    Kapitán

    2346 Posts

  • #16, z kytattooThursday, 07. July 2016, 20:47 hodinky 8 years ago
    Thanks. I tried to preload and unload animations but that really didnt help, so i deleted all those lines. And about scripts - i think it could be the truth, because as i remember the crashes started when i started to use scripts (but still - there are no EXTRA complicated scripts, only simple "ActiveAnimations["water_ripple"].AnimationSize = 400") BUT i have lot of animations with names like "???? ?????" - i mean there is space and the names are in cyrillic, so i think tomorrow i ll check if it is the problem.

    Bažant

    60 Posts

  • #17, z afrlmeThursday, 07. July 2016, 22:00 hodinky 8 years ago
    The names could be an issue. The names should ideally be in regular characters, no special characters at all. Preferably in English & you should join words together with - or _ like_so or-like-so.

    Lua script doesn't really like spaces, special characters or ? symbols.

    Imperátor

    7285 Posts

  • #18, z kytattooFriday, 08. July 2016, 03:36 hodinky 8 years ago
    Ok. Thanks you so much. I will try it and let you know

    Bažant

    60 Posts

  • #19, z kytattooFriday, 08. July 2016, 11:41 hodinky 8 years ago
    I have renamed all the animations and scripts in my project (now there are no spaces in their names) and vuala - it finally stopped crashing all the time! Thank God! And thanks to everybody here!

    Bažant

    60 Posts

  • #20, z afrlmeFriday, 08. July 2016, 12:32 hodinky 8 years ago
    Nice. wink

    So it was a naming issue then? I know Lua script isn't overly fond of symbols or special characters, which is why I never use them. The spaces don't really matter all that much, it's more just an old web code habit, but it's better safe than sorry.

    Imperátor

    7285 Posts