Tutorial Downloads

File Size
Ak47.capx2.67MB

Translations

Know another language? Translate this tutorial!

Stats

743 visitors
3.5K page views
519 translation visitors
2,020 translation page views

Creating a weapon effects

Favourite 8 favourites
Tutorial written by burak22Originally published on 7th, February 2015

first import guns and bullets picture. After create "reload" text. make weapons of origin close to the trigger. import sounds create touch , audio.─░mported guns and bullet and created text


Create instance veriable. This will be the number of bullets. AK47 bullets takes 30 to 30 value for its. ─░nstance veriable the name of the "bullet"

We will now edit the animation of the image bullets. Open picture and duplicate animation after delete last bullet and again duplicate and delete last bullet. We're down to 0 than 30.animation steps


We create a transparent sprite. name "area". future weapons on the way we are positioningTransparent sprite
Open full size image

let's code division

reload command and shake commands are as followscommands


As long as decreasing fire bullets codes are said to go up one at a time to be written about animationanimation commands
Open full size image

good works ;)

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.