codah's Forum Posts

  • You're setting hasPowerup to "false" every 5 seconds, possibly even after they just got the powerup. I don't like global Wait actions for this kind of thing. Some people get good mileage with System: Every x seconds for cooldown periods like this (which it kind of is). I just prefer setting a Timer as it keeps the behaviour with the object. There's also a 3rd party Cooldown add-on which I've used.

    edit: this one is better. There was no need for the complicated expression checking the timer values.

    [attachment=0:282wbhhf][/attachment:282wbhhf]

    edit 2: BTW I wouldn't use "true" and "false", it's very error prone. Use 0 and 1 or Boolean variables.

  • Hi BelphegorH! Thanks for the kind offer. I have a translation from danuyos in Spanish (Latin American). Are you offering Standard Spanish? (Pardon my ignorance regarding languages).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Being able to use Constant variables there would be good too.

  • Not automatically no, but Text and SpriteFont object have a TextHeight and TextWidth property that you could use to resize the text object .

  • Here's one option. Could also have the timer set/reset your variable if you prefer.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • No problem. I asked the same question once Some objects are automatically 'global', like Function.

  • You only add the Function object once. Just add an event, then look for Funtion in the list.

  • +1 this and also to be able to do it in object Properties. If I define constants like CONST1 = 1, CONST2 = 2, etc. I still have to put 1, 2, etc. in the 'initial value' which defeats some of the purpose and is error prone.

  • Small update to those who responded (thanks!). I'm slowly working my way through these. I have done the French version (thanks Aphrodite!). When I'm done I'll put up a tutorial from what I've learned.

  • Some things are not entirely intuitive in C2.. I just think try and think through the picking/filtering. (Start with the largest group of instances you want to match, not the smallest). You can also have the above in one event, but that's just an optimization.

  • Try picking status=idle and then pick nearest after that.

  • You could check if int(Array.At(1, 1, 1)) > 0 then it's a number, as long as you don't have string values like "42", that are string representations of numbers..

  • Either the name of the languages IN their language (like

    >English

    >Français

    >Español)

    or flags (understandable easily, and if someone is offended then... that would be trolling I think at this point as the point is to be understood), or both (I remember games doing both, having the flag next to the language name).

    I'm thinking of having both, although I prefer the aesthetics of the flags on their own