jeffige's Forum Posts

  • If I pinned my tank and turret so they would move in unison and then I learned about families, so I put the tank/ turret together in a family, can I unpin the tank and turret and then pin them together in the family behaviors?

  • Everything was going fine with my game...

    I have 2 tanks, Ally and Enemy. When they get hit 5X they destroy with a small explosion. I was working with the enemy tank destroying the ally tank. Worked good. It's not a Mona Lisa but I was estatic with myself that I got this far....

    But, as I was looking at the conditions/ events and actions, things looked like they should be together. As in - some enemy actions were not grouped with the enemy tank and vice versa for the ally tank. I moved a couple of things and now the tanks shoot but there are not any explosions, and when the ally tank is destroyed the tank is destroyed but the turret jumps to top left corner.

    Sorry if the event sheet is a bit messy, still learning on how to group things together. Any tips on that would be appreciated.

    Oh, and how do you get that cool red dropbox link in your post? I tried but it kept coming out as copy/paste link.

    dropbox.com/s/ni5799ku311wipa/Victory%20Tank%20-2r2x0mft2cwrh-2r2x0mft2cwrh.capx

  • So how would i export a sprite sheet with these programs? Are there certain guidllines? Size placement and things like that?

  • Thanks for the reply, jn2002dk

    Since I'm not going for 3D realism here, I just took 3 frames from the sprite sheet and added them separately in the action.

    It looks fairly decent.

    Now on to creating a health meter and event.

    Thanks again.

  • I would like to have an explosion animation when a tank is destroyed. Nothing fancy, 3 or 4 frames. How can i make a sprite sheet? I don't have photoshop (could barely afford C2) and every tutorial i have seen talks about using that program. Is it possible to make a sprite sheet without buying expensive software. Or at the least, have an animation without inserting a sprite sheet?

    Thanks for any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The top down game I am curently working on is kind of like breakout, but played with 2 tanks on either side of the screen - Ally (human) and Enemy (CPU). You must destroy the enemy! Ofcourse. But first you must get through the wall of blocks. Each tank will have a health meter, 3 hits you die and win the game.

    The first level will be easy, just a wall of bricks. The later levels will have a maze of bricks that can be destroyed. All of this will be played inside an arena styled static background with four surrounding walls for the bomb to bounce off of. If "your" bomb misses the enemy tank and you are able to catch it, it will give you a power up (undetermined as of yet).

    I need (would like) to have the tank think for itself. Shoot at the Ally tank, Move but avoid the blocks that have not yet been destroyed, try and avoid the incoming ally bomb.

    Anyone have any knowledge of this? Could you point me in the right direction? I've searched but most of the examples are for enemies marching in a predetemined path, or attack if player gets in range, things like that.

    I am very new to game making and C2. I have no clue about arrays, variables, etc... Although I am reading up on the subjects. They may prove helpful later on.

    Any kick in the right direction on how to implement these things will be highly appreciated.

  • Is it possible to clone the events and actions from one particular sprite and give it to another sprite?

    Such as an enemy tank that will move, shoot and be killed in the same way as the ally tank.

    Don't know if it matters at this juncture but the enemy tank will be controlled by A.I. Hopefully, fingers crossed.

    Thanks for any help.

  • SOLVED

    Didn't see one post. Negative "forward" for backward movement.

    Learn something new everyday.

  • Tank controls are:

    W - move forward 2 pixels

    A - rotate 1 degree counter clockwise

    D - rotate 1 degree clockwise

    But the backward movement is escaping me. I tried moving toward angle, but that isn't looking good. Is there a "move backward" action that I'm just not seeing?

    I've went through all of the angle actions and the position under size and position.

    Thanks for any tips on this.

  • Thanks aruche. Finally figured it out.

    The events were easy enough, but the actons took a while.

    Thanks again, >aruche<

  • Sorry Whiteclaws,

    got a little irked. It sux when you're trying different events & actions to no avail.

    As for the image, I have the 3 events, but for the action i don't know what they are. I tried different actions. It was actually shooting every 0.3 seconds. Man that was just wrong.

    Right now it shoots 2 bombs at a time. I can't shoot again until those are destroyed but it does shoot 2 at a time.

    again, sorry for shooting off my mouth. (no pun intended)

  • Yeah, sorry Mr. Whiteclaws, sir. Not everyone is as seasoned as you with construct 2, sir.

    I am sorry for not being as smart as you.

  • Thanks for the help aruche,

    but i can't open the file. It says i need the "sprite font" plugin by miha petelin, and i can't find it.

    any help?

  • I am inching along with my game, got the tank and turret moving together, bombs bouncing off the walls (if the walls are not too far off from the layout) and the bomb shooting with the angle of the turret. Whew!

    But, as I was running the game in the browser (would like to run in fullscreen. Don't know how or if I can) I looked at the tank and thought it may be a bit too large. I resized it down about 50%.

    Here it comes: Is it possible to insert the resized tank and turret into construct without losing all of the conditions/ events/ actions of the larger tank and turret?

    I tried something like this before (had a problem with the turret) but I lost all of the above mentioned.

    Thanks for any help with this.

  • When I test my game a bomb flies across the bottom of the screen. I have the bomb well off the bottom of the layout. How can I get rid of that bomb until my tank creates it?

    Thanks for any help.