jeeba's Forum Posts

  • It will not really work, if only Bosses got the speed variable, then you cannot capture events of enemy health, you have to give boss a health variable and then capture the events on boss.health

    Let me give it on pseudocode

    enemy.health = 0 -> boss.speed=100   

    This will make all bosses speed to 100, not the one with health = 0

  • Lets suppose I have two types of units, minions and bosses, they each have an instance variable called health. If I wanted to lower their health when a proyectile impact it, I have to create 2 events, one for the minion family and one for the boss family. But If I could have inheritance, then I could create a unit family that have the health variable and make minion and bosses their child.

    ?What do you think about it?

  • Oh my bad, ok I have uploaded a minimum project here:

    xhelos.com/c2/imba_show2.capx

    My problem is that putting a Stop Animation doesnt work, unless I put a wait before the Stop Animation action.

  • Link to .capx file (required!):

    xhelos.com/c2/imba_show1.capx

    Steps to reproduce:

    1. Move the UFO near the farm building

    2. the farm building will slowly transform (this is ok)

    3. When the animation end, a new animation will start, using events that new animation is suppose to be stopped.

    Observed result:

    The animation called "Default" is not stopped with events

    Expected result:

    The animation called Default is stopped in the first frame with events

    I managed to do it putting a wait of 0.1 seconds

    Browsers affected:

    Firefox: yes/no

    Operating system & service pack:

    Windows 7 SP1

    Construct 2 version:

    148, 64 bits

  • Awesome Rabenmutter, yes this seems its he stuff im looking for.

    AlKanadi, thanks for your answer but it's not really what I'm looking for. For example if we had 100 types of ammo that solution isn't going to be easy to maintain, I would have to do 100 if then else loops.

    Putting the name or thenickname on a instance variable will help alot.

    thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was just wondering if it is possible to create an object just using his name.

    Let's say I have a turrent and I have two types of ammunition, ammo1 and ammo2.

    If I press a button I can change the ammo type, I save that info in a Instance variable string, so every 3 seconds I shoot the object saved in the instance variable as a name.

    Its that possible?

  • Oh awesome i just put a transparent bottom and ir worked nice Ashley

  • Link to .capx file (required!):

    c2.xhelos.com/imba.capx

    Steps to reproduce:

    1. Jus Play it

    Observed result:

    There's a strange line on the top of my TiledBackground called Background/TiledBackground2

    Expected result:

    There's should'nt be that line on top of my sprite. I didnt put that line in the image, I cant delete it.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7

    Construct 2 version:

    Release 148

  • Seems interesting, Flat Design applied to a Game!. This sound like a fun concept! Any demo?

  • Well I bought the Personal Version!. Time to do some work here!. Promise all the features I talk about!.

  • Awesome Jasse, I promise to make a better version, more levels, more weapons, more crazy enemies and scenarios (like japan an a dude with powers like Goku of Dragon Ball) and of course extra ufo sauce!

    Will post the updates here :)

  • Thanks, well all the visual in the game where made with Fireworks and there are not pro, but the gameplay is it biggest achievement

  • Well theres an Update to the Game!. I put some music and sound there!

    Enjoy :)

  • Well a cheapt solution could be, use events:

    System-> Every 11 seconds -> FirstBackground->changeopacity->0

    System-> Every 23 seconds -> SecondBackground->changeopacity->0

    System-> Every 37 seconds -> ThirdBackground->changeopacity->0, FirstBackground->opacity->100,SecondBackground->opacity->100.

    Something like that could work, using opacity and three background, make use of the Z-order so when you change the opacity in the first background, the second one is showed

  • Imbasion (knowed as Invasion) is the result of 8 months (well in my free time) of work and a lot of fun in doing this crazy game of abducting pity humans:

    UPDATE May15 2014: Now we have two bosses, the Rasta Farmer, and the evil Ex9000 laserverster machine. I put two buyable weapons, the plasma bombs and the double laser. I will update the game regulary. Level 3 and 4 its just some test level.

    Please please I would like to know what do you think of the game

    Play it at: http://www.xhelos.com/c2/imbasion/v12