The Daily Click ::. Forums ::. Klik Coding Help ::. Problems...?!
 

Post Reply  Post Oekaki 
 

Posted By Message

SephirothClone13



Registered
  04/06/2009
Points
  28
4th June, 2009 at 22:52:17 -

You may or may not have seen my post earlier today, but as I was awaiting a response, i started work on what I hope to be a classic fighting game. My 2-player mode is triggered using a global variable set from the title screen when you select 'Versus'... Because VS & Arcade both use the same frame for character selection, there are objects that are destroyed if the globa value isn't set.

My first problem came when i tried to have both cursors (in vs mode) have the 8-way movement, because they both move simultaneously. To remedy this i tried to apply the 'Ignore Control' setting to player 2 while player 1 is done selecting...

This lead to my second problem... The events so far are as efficient as I think they can be (with exceptions to the selection part) but when I put in an event to check if player 1 had selected, fusion crashedd... It crashes whether or not the global value for 2 players is applied...

Anyone think they could shed some light and help me out? I'll insert a link to the mfa


http://www.angelfire.com/planet/atrimoproductions/Fight.mfa

 
n/a

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
5th June, 2009 at 02:10:35 -

"Internal error ! Objects or events of this application might be corrupt."
Failed to open document.

That's the message I get from your file

Edit: Nevermind, it worked on the second download

Edited by Spitznagl

 
...

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
5th June, 2009 at 02:49:52 -

In second frame, On line 13: If P1 Char <> 0 = go to frame 2

It should be when both player have choosen:
P1 Char <> 0
P2 Char <> 0
(and also not go to the same frame, but that's probably temporary)

Also, what's with the activate group. "2P controls" on line 9
The group is already openned on statup and nothing closes it.


 
...

SephirothClone13



Registered
  04/06/2009
Points
  28
5th June, 2009 at 09:36:34 -

Thanks for the help, i didn't realise that I hadn't put in a handle for the second variable, and yes the frame jump was only temporary as I hadn't made the next one, but that didn't help jumping to the same frame. Fixed that problem now.

The activation of group "2P Controls" should've been on line 10 and line 9 should've deactivated them. also that line 9 i now realise shouldn't've been within the group.

Thanks again

 
n/a
   

Post Reply



 



Advertisement

Worth A Click