bilgekaan so, what did you get?
you need 2 variables for this, ammo and cooldown.
ammo starts at 4
cooldown starts at 5
every time you shot, substract 1 from ammo
when ammo = 0; every 60*dt substract 1 from cooldown.
when cooldown = 0, set ammo to 4 and cooldown to 5.
the family variables are just a way to input the same variable into a bunch of instances without having to do it one by one. it also lets you manage those instances as a groups when needed. https://www.scirra.com/manual/142/families
however, as with all instances, their existence starts and ends with the layout. the only way to have permanent variables is by using Global Variables https://www.scirra.com/manual/83/variables
You could, however, store the instance variable, for later use, in a number of ways: You could use arrays, dictionaries, webstorage or global variables with numbers or even in JSON format to move the data from one layout into the next. (https://www.scirra.com/manual/108/array, https://www.scirra.com/manual/140/dictionary, https://www.scirra.com/manual/140/dictionary)
take your time to review the manual entries =)
just move the 0 image point in the object.
https://www.scirra.com/manual/48/image- ... ons-editor
you could compare coordinates, but for me the best reliable way to do this is using a collision mask. this means to attach an invisible object to the top of the green rectangle and make that trigger the collisions instead. (https://www.scirra.com/manual/99/pin or https://www.scirra.com/manual/132/common-actions)
If you make the green rectangle contain the invisible object you will have no problem triggering things between each other. (https://www.scirra.com/manual/150/containers)
My solution for this would to use a second object and mount them together.
Make the red inside the gray a separate object so it handles it's own collisions.
well, the profit value is relative to the size of the team and what you consider enough.
For a huge AAA company making 10k usd would be useless, but for a small single guy company, 10K es enough to work for the rest of the year.
well. if you get a mac you can't use construct anymore
besides, those are incredible overpriced. the price hardware relation the have is awful.
what do you mean with low $? like 5 usd?
Develop games in your browser. Powerful, performant & highly capable.
jonathancrosmer my bad =(
It is highly recommended to import PCM .wav files, since they are commonly supported and Construct 2 can encode them to both Ogg Vorbis and MPEG-4 AAC (only on Windows 7+).
https://www.scirra.com/manual/52/import-audio
PCM is a loseless WAV format. meaning it has all the raw data to do with it whatever you want, if the wav has already been in anyway compressed then your chances are it can't be manipulated anymore.
First guess, is there is an event preventing the object to behave properly when in contact with the wall.
Sseconds guess is you made the base solid, and can't rotate because there is another solid object blocking it's path.
either way, SECTORTWO, if it's not too much trouble, could you upload the capx so we can take a look at what might be wrong?
Member since 13 Jun, 2012