Sonic homing attack image & sound bug [FIXED]

Get help using Construct 2

Post » Wed Apr 11, 2018 9:28 pm

EDIT: Fixed lol.

So, I built a homing attack for my sonic fangame, and there are 2 things that are wrong with it:
1. The target image is appearing millions of times before an attack. This will take resources and interfere with the animation.
2. When Sonic launches, there's supposed to be a sound. the sound plays AFTER the homing attack has completed.

There is a range bug, but I'll fix that myself. Problem 2 isn't a huge deal, but I'll like a workaround. Problem 1 is a huge deal, because not only does it look bad on animations, but it may decrease performance.

Please help. https://drive.google.com/file/d/15M06Mc ... sp=sharing

Repost 'cause my previous thread wasn't noticed.
I'm not the best, but i like making games in Construct
B
27
S
9
G
1
Posts: 50
Reputation: 2,550

Post » Thu Apr 12, 2018 3:00 am

I would never understand why people create several fancy start screens and add 40+ megabytes of music and animations, before coding basic game mechanics. Doesn't it annoy you when you have to listen to the same music and go through the same screens hundreds of times every day?
You could have at least removed all that unrelated stuff before posting it here, as a courtesy to those who are willing to help you.

1. You are spawning targetspr in event #27 on every tick while 3 conditions are met. If you just want to spawn this sprite once, you can add another condition:
targetspr.count=0

2. Not sure which sound you are talking about. When I press Z, the "jump" sound is played immediately.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
18
S
9
G
158
Posts: 2,364
Reputation: 84,330

Post » Sat Apr 21, 2018 3:52 am

dop2000 wrote:I would never understand why people create several fancy start screens and add 40+ megabytes of music and animations, before coding basic game mechanics. Doesn't it annoy you when you have to listen to the same music and go through the same screens hundreds of times every day?
You could have at least removed all that unrelated stuff before posting it here, as a courtesy to those who are willing to help you.

1. You are spawning targetspr in event #27 on every tick while 3 conditions are met. If you just want to spawn this sprite once, you can add another condition:
targetspr.count=0

2. Not sure which sound you are talking about. When I press Z, the "jump" sound is played immediately.


1. ...........true. :P
2. Thanks lol, fixed the problem after my fix.
3. Eh, idc. It wasn't he jump sound though.
I'm not the best, but i like making games in Construct
B
27
S
9
G
1
Posts: 50
Reputation: 2,550


Return to How do I....?

Who is online

Users browsing this forum: ChenBr, The Mnk and 2 guests