EpicRaid's Forum Posts

  • Hello there,

    I've been checking out some capx samples and did some reading on tutorials and forums but have not been able to fully understand it yet and adapt it to my specific case.

    So hence I'm asking it here on the forum.

    When the aircraft shoots bullets and hits the T72 5 times the T72 is destroyed. But currently it destroys ALL the tanks that are spawned every x seconds. I have a global variable 'T72health'.

    This is the bit I have and think needs change?

    I know I have to pick instances but I just don't understand how to implement it.

    Thanks for any help.

    Regards R

    I can post more bits if necessary.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks man, got it to work using your sample.

    Thanks for your help!

    Regards - R

  • Hi Jomnitech,

    thanks man! That works well. I'm currently trying to figure out the formulas. My shadow image is 75x72 pixels and I'm not sure what the numbers in the formula mean or *do*. So my shadow is a bit skewed. Where did you get the numbers? 200, 40, and 500? And the 3 and 5?

    I'd like the shadow to move to the top more when moving the plane, but haven't figured out how to do it yet. I fiddled with the numbers but got unsatisfying results.

    Regards

  • Hey Jomnitech,

    exactly like that! Thanks.

    Only also have the height changed too when moving?

    So that it'll scale in width and height at the same time?

    And if possible, how do I make the shadow still 'follow' the plane when the plane moves around? So that I get that 'distance' effect.

    How do you know all this coding? What to use and where to put it? I'm still learning but formulas confuse me a bit. How'd you learn it?

    Thanks.

  • Hello,

    I'm making a game where the player controls an aircraft with arrow keys.

    Now I'd like to know how to get the shadow of the aircraft to become smaller as I press the arrow key up, and bigger again when the aircraft is moved down.

    The aircraft is bound to the layout so the shadow should stop increasing and decreasing in size when it reaches the layout border.

    I've already set the the shadow to always move with the aircraft.

    So anyone know how to do this?

    Thanks!! - R

  • Hi,

    thanks for your reply, but changing the background angle of motion to 180 doesn't seem to work. If you can get it done, perhaps you could show me how to do it? Or have a capx file?

    Thanks!

  • Hello,

    maybe a silly question,

    I've been using the autorunner events to make my background scroll infinitely, but it's scrolling left instead of right. I tried modifying the bullet speed to a negative number but then my background disappears alltogether. Anyone know how to get this done?

    Thanks in advance.

    Regards R

  • I want to simulate spraying paint over a flat area, is it possible to do this with Construct 2?

    For example, you'll hold down the mouse and as you move over the white area the spray can will spray colored paint over the area. When it's all covered up, level complete. Is it possible to create this and most importantly - how? Is it difficult?

    I think I'll need some sort of masking effect, like Flash has.

    Thanks!

  • The art is really impressive. Perhaps a 1-player mode would be nice, most people don't play like that you have now.

    Really like that 'arcade' view as well, like you're actually looking at a game machine. Good job.

  • I was just wondering, why not make your sprites unique, currently you used assets that already exist. I think it would definitely help create a more unique look for your game. Although this does look good so far.

  • piszozo Found it, you're right, the option comes with actions!

    Jermfire It's not an isometric game, just simple 2D, it's working out now. Was already using layers, but if you add layers later on in between you'll need to change some other actions as well, or perhaps I should use call layer name next time.

  • Hello all, I can't figure out how to do that. I can only choose a layer and position, not the Z-order of the object (for example create on bottom or top).

    Or does this option not exist?

  • Thanks for that, although I don't really know what to do with the information you provided. I mean I don't know how to implement that in my game. I'm thinking this stuff is just too advanced for me. What I wonder most, is how you guys manage to understand all that information you provide. Do you guys have a programming background?

    edwardr You have only 55 posts on the forum, so you seem to be kinda new to Construct (2), yet you are understanding all that math and coding. What's your background? I checked your .capx but am simply unable to integrate it with what I currently have going.

  • Ya, the design looks great. Didn't the the game though. Perhaps you can upload a test version for desktop?

    Also, the baby with the bulb on his head, is that a graphic you're sharing with fldr ? He also has used the exact same graphic in his game. Or is it from the asset store?

  • Well, the game reminds me of Flappy Bird for some reason, also very difficult. It's very hard to predict and time when to freeze. Now I think there's one thing you might want to change, I got a highscore of 6 by doing literally nothing. I just left the pad to auto-move and the ball bounces exactly back in the right direction. So that's not rewarding in contrast with manual effort. Not sure if anyone's done this game before, but it has some originality.