Basic Tank/Turret engine example

This forum is currently in read-only mode.
  • Hi there,

    I just threw together this basic tank example with a turret.

    http://edenofficial.com/tankexamplev1.cap

    ARROW KEYS- Move

    MOUSE- Move turret

    LEFT MOUSE CLICK- Fire!

    You can easily change the speed of the bullets by changing the variable in the tank object.

    This is to help some newbies with shooting etc. Let me know if you need any help etc.

    This is easily expandable. If you use this at all, please just let me know <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile">

  • Nice demo of custom shooting!

    If you wanted it to be perfect, you don't need the For Each condition (still does it per-instance) and you could use an image point on the turret for shooting, but it covers the important stuff <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • Nice! It's allways fun to see what other creates, even if it's just a tiny thing like this!

  • Heh thanks <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    I'll work on some bigger stuff at some point.

  • Hey I'm already downloading it. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Heh dont expect much, it didn't exactly take long. Although construct did crash loads when making it which extended the whole process.. However im unable to replicate the issues, but im sure Ashley will track all these little issues down by 1.0 (or before!)

  • I need to know of every crash that happens! If you get a crash that happens once while clicking a button, say, don't just ignore it and say "it crashed loads", I need to know to have any chance of fixing it! Even if it's as vague as when a button is clicked, I can check the code that handles the button click and try and improve it...

  • I will in future, I know how annoying "it crashed loads" sounds. But if i recall correctly it was things just like me running the program, and the car movement would soemtimes not work (when i ran the program the object just wasn't there).

    But I'll let you know in future.

  • Hi alee

    I've been looking for help on turrets. Your post is from a long time ago so not surprisingly the link to your cap is broken. If you or anyone else has it or something similar, would you please post it again?

    Thank you

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)