brunopalermo's Recent Forum Activity

  • Hey Vanelloppe18!

    There's this course which, among other things, guides you on how to conceive new ideas for games. It's very basic, but it will help.

    It's not free, but if you click on my invite link (active until Aug 31st) you'll get US$ 5,00 in credits...

    Also, you can check this nice article.

    Hope this helps...

    Cheers!

  • Just a suggestion...

    If the only change between modes is the enemies' life and maxlife, I would drop the groups entirely.

    Just creat e lifeMultiplier variable and a difficultyLevel variable.

    When player chooses difficulty set the difficultyLevel to the corresponding valeue (0: easy, 1:normal, 2:hard). And when you create enemies just check the difficultyLevel and set their life and maxLife to the corresponding value.

    Ex.

    Enemy "On Create"{
    Enemy Set maxLife = (difficultyLevel = 0) ? 50 : (difficultyLevel = 1) ? 100 : 200;
    Enemy Set life = maxLife;
    }
    

    You'd have far less code in your project!

    Remember to save the chosen difficultyLevel to the local storage if you don't want players ahving to choose it every time they start the game.

    Hope this helps...

    Cheers!

  • Hi Nightwatch!

    This file has one way of doing it.

    I have an interval (which here is global, but could be different for each unit) and after that interval the unit chooses one of eight directions.

    Hope this helps...

    Cheers!

  • May you share a file? It's probably too specific, so it wuld help if I could take a look at the actual code.

  • If you mean changing, for instance, a Pin from "position only" to "position & angle" at runtime, I don't think that would be possible.

    Cheers!

  • Like Fengist said, it's hard to guess the problem without a code to check. But, it may be that you are asigning string values instead of numbers when trying to set the colors. If each array is a string, like "123,45,98", you must, first convert those to numbers using int(value).

    For instance if you have "123,45,98" as a value.

    Instead of using "set color" to

    rgbEx(array.At(x,y))

    You must get each of those and convert to integer. Something like this

    rgbEx(tokenat(array.At(x,y), 0, ","),tokenat(array.At(x,y), 2, ","),tokenat(array.At(x,y), 2, ","))

    Maybe the problem has nothing to do with this, but it's a guess since I have no access to you code.

    Cheers!

  • Hey Bl4ckSh33p!

    I just updated the file I uploaded before to work without the inputbox. Also, I included a function, so, you just have to call it and pass the text to copy as a parameter.

    In this example, you can left click each of the paragraphs to copy it.

    If you want to remove the confirmation window or want to change its text, just edit the Execute Javascript action and change or remove this part: alert(""Copied the text : ""+myTextBox.value);

    Hope this helps...

    Cheers!

  • Hey dop2000! Been away for a while. Too much work. lol.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Done. Just download the file again.

    Regarding the direction. If you're using bullet behavior, make sure the "set angle" setting is active.

  • Did you manage to open it? I can send you a C2 version if not.

    Here you go. Just finished porting it to C2. You can download it here.

  • There's no way to check this. Probably because there's no way to create a Layout dynamically so you would always know which layouts exist and which doesn't.

    What exactly are you trying to do? Why would you need such an action?

    Cheers!

  • You can check this example I just made.

    Click to add a "construction". After 60 seconds (online or offline) the "construction" will change it's state to "constructed" (square becomes green). You may close and reopen as you wish and the countdown will keep counting.

    Cheers!

brunopalermo's avatar

brunopalermo

Member since 7 Jun, 2013

Twitter
brunopalermo has 6 followers

Connect with brunopalermo

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies