FPS throw towards screen

Get help using Construct 2

Post » Tue Nov 19, 2013 8:10 am

I'd like to help but I'm not able to open your capx for it has third party plug-ins I don't use.
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 » Tue Nov 19, 2013 2:21 pm

I installed a clean version with no plug ins and rewrote the entire level.

https://www.dropbox.com/s/pxcy41wgmh9fhf7/ninja%20star%20no%20plu%20ins.capx

The problems I am having:
1- The enemy is getting in a free hit after you kill one of them. Every time the appear the screen flashes and they get a free hit. It should be they appear, after 4 seconds they cut you and the screen flashes giving you time to kill them.

2- They appear near the text. I'd like to keep them below the text

3- The font's are installed (bangers) but not being used. I followed the tutorial but it's still not working.

Thanks
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Tue Nov 19, 2013 3:43 pm

Your every 4 seconds event is where the problem lies.

It would probaly be much easier to use animations for your ninja instead of spawning new objects every time.

Also you should add conditions so when the ninja is destroyed the other events, like the flash and stuff aren't executed.


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 » Tue Nov 19, 2013 4:00 pm

I tried that but syncing the flash and the cut animation was dicey for me.
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Tue Nov 19, 2013 4:17 pm

I'm new to this so I'm not sure what you mean by setting up a condition. I see that I can set up a sub event, the conditions available don't have a destroyed option that i can see.
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Tue Nov 19, 2013 6:51 pm

@cvp @LittleStain, I can see where the problem is but I can't figure out a work around. The way I set it up seemed to make sense to me and was pretty straight forward.

I can't seem to figure out how to get this to work properly:

Clean version no plugins:
https://www.dropbox.com/s/pxcy41wgmh9fhf7/ninja%20star%20no%20plu%20ins.capx
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Tue Nov 19, 2013 8:15 pm

I am apparently in a good mood tonight

First of all... I changed something in your game, it would work as you made it, but its not the way C2 was intended, so though I would throw that learning in here as well, hope you dont mind

You had 3 seperate sprites for your ninja. I changed that to be 1 sprite with 3 animation frames, which is really how you should do it. (Edit: as littleStain mentioned in an earlier post)

To your list of questions:

1. I have changed the attack of the ninja to be on a timer instead and then make the timer look at if the ninja is dead, if he is dont attack basically.

2. I have altered your smoke create object a bit. I looked at the width and height of your ninja sprite and used that instead in the position creation.

3. You need to set the font after you create the object.

all in all:

.capx cvp2013-11-19 22:12:28
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Wed Nov 20, 2013 4:53 am

Wow CVP Thanks!

I'm going to go through it and see how you did what I could not do.

Thanks again!
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Fri Nov 22, 2013 4:12 am

@cvp,& @LittleStain, Thanks so much for your help.

Here is the latest version. Works great in Chrome but no sound in IE for some reason.

https://secured.com/~f3068/ninja/

Thanks for all the help.

D.S
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Fri Nov 22, 2013 7:58 am

Looks really great Dan..

Thumbs up!
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

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: blue visionary and 24 guests