Basic Tank/Turret engine example

Post your Construct-made creations!

Post » Mon Dec 17, 2007 2:49 pm

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 :)
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Mon Dec 17, 2007 4:54 pm

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 :)
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Mon Dec 17, 2007 7:13 pm

Nice! It's allways fun to see what other creates, even if it's just a tiny thing like this!
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Dec 18, 2007 3:12 pm

Heh thanks :)

I'll work on some bigger stuff at some point.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Tue Dec 18, 2007 10:29 pm

Hey I'm already downloading it. Thanks!
B
2
S
1
G
5
Posts: 79
Reputation: 1,558

Post » Thu Dec 20, 2007 1:27 pm

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!)
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Sat Dec 22, 2007 5:37 pm

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...
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Dec 23, 2007 9:33 pm

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.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Tue Mar 03, 2009 6:07 am

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
B
4
G
3
Posts: 41
Reputation: 982


Return to Your Creations

Who is online

Users browsing this forum: No registered users and 1 guest