eyeliner's Recent Forum Activity

  • Ah... How much I'd like to see this. ^^

  • Send a PM to Ash with a link to the file.

  • Got it, thanks! ^^

  • That's your solution http://dl.dropbox.com/u/23551572/C2/rotatingPlaneShoter.capx

    Layers have their own coordinate space, the behavior you get is logical and expected. But unfortunately not well understood.

    The answer is that you don't really want to rotate a layer, but to rotate the entire layout and counter rotate the plane.

    Also I tweaked the shoting... just for fun.<img src="smileys/smiley36.gif" border="0" align="middle">

    The key was rotating the layout and adjust the plane's rotation to follow the layout?

    Thanks guys!

    Though I now understand (both of your replies make sense), I don't really think it's logic. But I can adapt to it if it is how it is.

    So basically, I'll have to make EVERYTHING rotate using the layer the player is at as reference, including the whole layout?

  • Thanks for the reply. Very useful. And the drawing as well. Helped to clarify this particular item. You are a very friendly individual.

    Now, this particular mechanic doesn't really make much sense to me, though I was half expecting it would be exactly this, because of C2's "layering", though it doesn't look it the right thing to do.

    I mean, I want to spawn the bullet at a specific place, wherever it is. It doesn't make any sense that the bullets spawn in a different layer in an image point that shouldn't be there!

    Were not image points supposed to work as exact coordinates?

    Oh, well...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, but the image point does. And the bullets are supposedly created where the sprite, after rotation, has the image points in.

    Am I missing something here? I'm almost positive that I'm having the most logic thinking here:

    Spawn bullet at a specific point, following it's merry way.

    Rotating the sprite, the image points follow

    That does not seem to be the case, though.

  • Here it is. Possibly, it can also be my lack of knowledge that creates this, though. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks for the help.

    dl.dropbox.com/u/60029808/shooting_halls.capx

  • Hi there, again. <img src="smileys/smiley17.gif" border="0" align="middle" />

    I'm doing good with C2, got the basic setup and way of my game in my mind and construct is helping heaps. Now, I'm using the GREAT feature that image points is, but I'm having a doubt.

    I set my plane to fire on space press (check)

    Thing is, putting my plane to shoot it's origin point works ok, but I want to make it fire through the wings. I set up image points in both and can make it fire ok, unless I TURN. The image point seems to not rotate, while the sprite does.

    Is this normal behaviour?

  • I'm doing something along

    lines.

  • Thanks for the help. Got a different solution, but cheers, mate.

    Here's what I came out:

    Set a "shoot" global variable.

    At key press, if "shoot"=0, create bullet, set "shoot" to 5.

    On each tick, and if shoot >=1, take 1 from "shoot".

  • Quick one:

    How can I make a character shoot but not so fast? My char shoots, but I haven't found a control (or a way) to limit the number of bullets produced, so he just fires really fast.

    So, a facility of "Create X object after X time has passed" would be great.

    Any way to simplify? I'd prefer not to use plugins, as exploring all of Constructs abilities is my main objective.

    Thanks.

  • I was the number 18.

eyeliner's avatar

eyeliner

Member since 16 Jan, 2012

None one is following eyeliner yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies