PulvererPeter's Forum Posts

  • Hey there,

    My game is gonna have multiple language support. So now i got a question.

    At the start you can choose your language, let's say english,german and italian. I have set up 3 global variables for each. Now if you choose, lets say english, the variable "english" becomes 1. Now i want all conversations being in english. I'm really not sure what would be the smartest way, but i thought maybe of saving all conversations in an array and just call them by the language-variable. Can somebody tell me if/how this works, cause i'm still learning about arrays but im definitely not quite sure how to use them for this situation.

    Thank you in advance!

  • alibest23 thank you, it seems firefox was the problem. it's working now with chrome!

    thank you all for your responding guys!

  • I tried all kind of triggers, but it doesnt really matter, i always get the same error.

    alibest23 thanks for the tip, but it doesnt work for me

    I'm using firefox by the way.

  • sorry i cant provide a capx right now. but all im doing is, having a trigger combined with the standard save action.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey there,

    I tried out saving a game in my project today and i always come upon the same error message. Does anyone know what it means? Could'nt find any information about this specific error. Also tried it on an empty layout, with the same result. I'm not using any third party plugins in my project!

  • enemy on destroy add-1? shouldnt it be subtract 1?

  • LittleStain Thank you so much for your effort! I also like to thank scirra for the great, friendly and fast support! I guess there is something going wrong on my layout, otherwise it should work like in your example.

  • Okay. I did it all over again, just to be sure. Even made a new timer and a new variable, just for testing. I don't know what it is, my other timers work fine, but this one won't work.

  • Sorry to bother you again, i thought it's the "trigger once" which was missing. Now i tried it with that, but still doesn't work. I don't understand why...

    I don't have any problems with the timer in my battle-system, they all work fine.

    Guess i still have a lot to learn...

  • Okay thank you guys, i think i understand a bit better now how construct reads the events. Gonna test it soon.

  • Oh stupid me! Thank you!

  • Okay, i had to start all over cause i deleted the whole cutscene. I never used timer before for this kind of stuff. So now the timer "story1" starts with 6 seconds and should set the "story-variable" to 1, right? But the timer doesnt work in this setup, am i misunderstanding the use of timers here?

  • Working now?

    immortalx It's definitely the right box, i coloured player and enemy detection in different colours for testing and they both show up and the player box also got destroyed, just the enemy box seems to stay there, till the enemy attacks again, creating another box.

    Thanks for your answer!

  • LittleStain Ok if you say so, i'm gonna try it again, but as i said, i'm struggling for days with this and almost tried everything possible way known to me.

    Anyway gonna test it again!

    Thx Littlestain!

  • Oh you are right, here you go.

    The whole event is nested inside a "for each enemy" event. So that may be the problem?