jeffige's Recent Forum Activity

  • Hey TiAm just saw your Tmod note: "Also, spears have bullet and solid. Why?"

    If object has "bullet" behavior it doesn't need "solid"?

    AND

    "Tmod: You only need 1 spear tube object. I left SpearTube2 in the project, but frankly, I see no reason for it's existance."

    As you may have noticed spears appear to fire from tube 1 and into tube 2. If I clone tube 1 and use this as tube 2, that tube would have all the behaviors/ variables as tube 1 wouldn't it?

    So i thought it easier to have that extra object, instead of going through and removing the behaviors/ instances from tube 2.

  • Whew, that was more difficult than I thought it would be.

    I know, right! I was stuck on this for 5 days.

    The extra spears were added with the corresponding tubes, but i deleted the tubes trying to get it to work & forgot to delete the spears.

    I'm gonna have to take a couple days and go over your logic, to get a better understanding of C2 & how things work.

    Anyways, thanks I love what/how you implemented that. That's awesomesauce right there, I am voting for you for user of the year!

    @TiAm for User Of The Year!

    Also, what is Tmod?

  • If you could share a capx.

    Here you go TiAm

    https://www.dropbox.com/s/izlic9yaklgmrlm/Turret1.capx?dl=0

    The capx has been edited. Still trying to figure things out.

    Again, thanks for any help you may give.

  • Hey TiAm

    Thanks for the reply

    Yes, there will be 4 - turrets per layout(lvl). I have them firing but they each fire at the same rate. I think i seen a tutorial that uses variables with a reverse heath meter( timer).

    I'll post a capx when i get home.

  • If you'd like (can), upload your project to dropbox where i can download it and i'll have a go at it. Just tell me what version you'd like to revert to.

  • I don't think you're able to.

    Each new version has updates the older versions do not. Even if you're not using them in your layout or event sheet(s), the C2 code is embedded in the blank layout(s) & event sheet(s).

    At least that's the way I see it.

  • Take a look at this post. It's a little dated but may help.

    https://www.scirra.com/forum/center-text_t68925

    Also, text may display in the center of the TEXT BOX, if that's what you're using. If you're using a any other method, text as a sprite or BG image, the size of that image will effect the placement. i.e: if your window is, say, 960, 480 and your image is 113, it won't center due to the fact 113 can't be evenly dived into 960, 480.

    Hope this helps.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I have 5 different turrets on 1 layout, how do i get each turret to have a different fire rate?

    i.e: Pause each different Turret from firing

    TURRET 1 shoots every 1/2 second, fires 3 times then waits 1/2 second

    TURRET 2 shoots every 1 second, fires 5 times then waits 1 second.

    So on & so on.

    I've been trying for a few days to get this to work. I can get the turrets to fire at different rates but the problems I'm having is:

    1) The Turrets rotate toward player even with a Rotate disabled action.

    2) I can't get the turrets to pause their firing individually since they are controlled by events/actions.

    I was thinking i may have to add instance variables to each turret, but i don't know enough about variables to implement this logic. Even after reading tutorials/ manual and posts on the subject.

    Can anyone help with this dilemma? This is the last of my major hurdles for the game mechanics.

  • Just taking a quick look at it, you have different behaviors: You have Bound to layout & Platform.

    Game example has: Bound to layout & 8 Direction.

    Also, check ALL OF THE EVENTS & ACTIONS. You have omitted a few EVENTS & ACTIONS. *Lines 71, 72*

    If you're going to try and duplicate an example, be sure to copy all of the: object behaviors, variables (if any), Origins/imagepoints, AND the EXACT Events & Actions as they are in the example

    1st

    .

    Test to make sure everything is working correctly. Then change 1 or 2 things at a time. Testing after every change.

    I copied 1 example and it took me 3 days to figure out i had 1 origin point out of place.

    Hope this helps.

  • Post a capx. Upload to dropbox as a single file. Link URL to your file you uploaded to dropbox.

    This way we can better help you

  • Try and turn collisions off for pattern

  • What about using the "Pin" behavior?

jeffige's avatar

jeffige

Member since 28 Oct, 2012

None one is following jeffige yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies