making cannon ball fire system

Get help using Construct 2

Post » Fri Nov 13, 2015 9:41 am

is their any way of doing this
when we fire a ball from cannon
before spawning a ball, cannon become fatty and then release ball and then become normal
mostly used in cartoon programs
hope it is understandable
Image
B
72
S
42
G
48
Posts: 688
Reputation: 34,392

Post » Fri Nov 13, 2015 9:46 am

Like you said..
Creating an animation for it would be the first thing that comes to mind..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Nov 13, 2015 9:55 am

yes off course this would be the first option
but if i have 6 frames of cannons then it became a huge problem for me
i know something about warp system that can do the similar thing
but in Construct 2 warp is different
so i ask this question
may be here are some another way
Image
B
72
S
42
G
48
Posts: 688
Reputation: 34,392

Post » Fri Nov 13, 2015 10:04 am

Seems simple enough. Just play the expanding cannon ball animation and check for the last frame of the animation, then spawn a normal ball.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,556
Reputation: 60,456

Post » Fri Nov 13, 2015 10:06 am

I don't know what the wrap system is..

You could create events to change the width and the height of your cannon-sprite, if that's the efffect you are after?
Should be relatively easy to do..

If you are looking to use effects for it you could search the effect part of this forum to see if any fit your need..
Also a plugin like litetween might get you some nice results, you can find it in the plugin section of the forum..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Nov 13, 2015 10:08 am

its Warp
sorry my mistake
Image
B
72
S
42
G
48
Posts: 688
Reputation: 34,392

Post » Fri Nov 13, 2015 10:10 am

zenox98 wrote:Seems simple enough. Just play the expanding cannon ball animation and check for the last frame of the animation, then spawn a normal ball.


means i have to create cannons in two parts
one stable and another for animation
Image
B
72
S
42
G
48
Posts: 688
Reputation: 34,392

Post » Fri Nov 13, 2015 10:14 am

i was doing decreasing width but it decreases cannon's tires too
Image
B
72
S
42
G
48
Posts: 688
Reputation: 34,392

Post » Fri Nov 13, 2015 1:27 pm

or simply find a free good animation of canon shooting. (you can check my game in link below and see if that's what you're looking for (boss shoots from canons like that))
and that is made with animation. it's the simplest way.
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,455


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests