platforming problem

For questions about using Classic.

Post » Tue Dec 04, 2012 12:19 am

https://rapidshare.com/files/1543329135/MegManShooting.cap

Some notes:

-This .cap had two problems. The first one is that the character would jump while in idle position. The second is that the character would jump while shooting.

-After examining the event code, there was no reason why the unwanted jumping was happening, and so I diagnosed it as a glitch.

-The glitch appeared to be caused by the "idleNshoot" and the "jump" animation tier. So I removed those, and then put them back in fresh.

-I took all of the event codes you had, and made some new ones, and compiled them all into one event sheet.

-I then took all of the events and separated them into two groups: One group for the basic run/jump/idle animations, and the second group for shooting.

-I saw what you were trying to do with the wait object, but the input method was ineffective because it wasn't attached to another event. So, in order to get the 'idleNshoot' animation tier to play when you press the 'control' key and hold itself for a period, I used the function of enabling/disabling groups. When you press 'control' it will stop the run/jump/idle group animations and commands from playing, and the wait object will cause things to delay for 500ms and then 'run/jump/idle' group will be enabled. This happens very quickly. This also allowed me to get the shooting animation timing to be closer to what it looks like in MegaMan, but you'll have to tinker around with it to get it just right to how you want it.

You might also consider using the Wait object to duplicate the MegaMan shooting limit (I believe you can only shoot 3 lazers shot for a period and then you have to wait for a short period before you can fire again, but I'm basing that on the NES version).MrMiller2012-12-04 13:37:30
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Tue Dec 04, 2012 8:51 pm

I know I'm getting a little annoying here (or way too much!!!).
But how about falling?
i can't get it to work
B
5
S
1
Posts: 20
Reputation: 590

Post » Tue Dec 04, 2012 11:40 pm

This event will make him run the fall animation:

Event = MegaMan: is falling -> Action = MegaMan: Set animation to "fall"
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Wed Dec 05, 2012 8:21 pm

well when doing this the run animation and collision detectiong is all messed up
B
5
S
1
Posts: 20
Reputation: 590

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests