imralr's Forum Posts

  • 8 posts
  • Hai Korbaach!!

    Thanks man!! You're giving me so much idea on how to improve the game.

    I'll make sure I'm going to conjure something playable at least with this.

    Thanks again!!

  • Wow!!

    Thank you so much Master!! (can I call you that?)

    You really don't know how much your appreciation lift my spirits man.

    Thanks again!!

  • Hai Linkman!!

    Yup, I did make the bomb sprite behavior set to be destroyed outside layout. I also make such in the event sheet (bomb sprite is outside layout bomb sprite is destroyed). But nothing work.

    Here's the game capx. Your help (and any feedback towards the game) would be greatly appreciated.

  • Hi All,

    I am new with Construct 2, currently I am making a game where a bullet-avoiding game where a player must avoids the enemies/bullets coming at the player.

    The player will gain life each time it contact with the bullet with the same color as the player. The player starts with one life and each friendly bullet adds one life to the player, after it reached certain number the player will be able to use a bomb which decrease all the player's life (back to one) but also destroy all enemies on screen.

    I make the enemies on random by setting the system condition on every 5 seconds the system will create object (the enemies) on just outside of the border area.

    I manage to create most of the basic ideas to my game, however there is this one thing that keeps my game unplayable.

    The bomb discussed above is an expanding circle starting from the player's position to fill the screen and disappear, like this

    [attachment=0:335cqyfi][/attachment:335cqyfi]

    The bomb i make in the game is kinda like that. I make it with making global variables and set the system condition to global variables = 1 the action for sprite is set sprite.widht+25 and sprite.height+25.

    It gets the job done but I'm still working on making it like the gif.

    The problem then starts. I wanted to make that when the sprite is expanding and colliding with the enemies on the screen, the enemies is destroyed. I did that.

    But, after the bomb is used, the enemies wont spawning again. before the bomb is used, the enemies is spawning every five seconds. but after I use the bomb and the enemies on screen is destroyed, the enemies wont spawning again.

    Could anyone help me to fix this please?

    Thanks in advance. Cheers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi little stain,

    I hope you're able to help me further, i've managed to make the expanding animation. So as explained, the expanding animation work as a "bomb" which destroy all enemies. I also manage to make the enemies destroyed after it collides with the expanding animation.

    Please note that I make the enemies to appear/spawn randomly from outside of the stage for every 5 seconds by using the system to create object every 5 seconds.

    The problem is, after the bomb destroy the enemies that is on the stage, the enemy (object) is not spawning again. So after the "bomb" destroy the enemies, that is on stage, the instruction which makes the system to create enemy for every 5 seconds wont work since the enemies is not spawning.

    This issue does not occur however if the way the bomb destroy the enemies is not by collision with the enemies. (for example: I make that every time the bomb button is released the enemies is destroyed). The expanding animation runs but the enemies is destroyed at the moment the button is released so the enemies is destroyed not as smooth as I wanted (compare with the enemies is destroyed when it collides with the expanding animation).

    Can you help me with how to solve this?

    Thanks in advance bro. Cheers.

  • Okay, Im gonna try it, wish me luck bro..

  • Hai LittleStain!!

    Thank you so much for your help.

    the animation works fine, however there are certain concern/further question that i want to ask.

    • First one is how do i hide the animation at the beginning? since the animation start immediately the game starts and since its expanding in unlimited manner it will definitely reach the stage even if i put it outside the stage.
    • second is, knowing that the animation is expanding throughout the game, will it affect the game say after quite few "bombs" is triggered?
    • the third question is not related to the animation, however regarding score counts. I am currently calculating the score for every tick the game plays. unfortunately, the score will not stop calculating even if the game is over. How do I could make the calculation of the score stops when the player is dead/game over so that we know what is the score of during that play.

    Thank you again for your help, sorry for barraging you with more questions tho

    Thanks a bunch!!

  • Hi guys,

    I am really new with Construct 2, I'm currently developing, a simple some kind of "avoid obstacles game" and have manage to make the basic of the game. The game is constructed in a top-down shooter/bullet hell fashion where the player must avoid all the bullets coming. However I am stuck in making some "bomb" animation for the game. I would really appreciate should the construct 2 masters here able to help me to solve on how to make this bomb/expanding animation.

    I'm thinking on making explosion animation coming from the player, as an illustration, the player is a circle, I want to make an explosion which expands from the around the player to fill the whole stage and then that explosion started to disappear. the explosion really is just an expansion of the circle player itself.

    You know it's kind of the animation of bomb power-ups in a top down shooter.

    kind of like this (the outer circle is the bomb)

    [attachment=0:8jsg8lsf][/attachment:8jsg8lsf]

    I probably haven't tried everything and still tinkering with this problem my self, but a help would really be appreciated.

    Thanks guuyss.

  • 8 posts