The Daily Click ::. Forums ::. Klik Coding Help ::. Problem with my custom platform movement
 

Post Reply  Post Oekaki 
 

Posted By Message

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 16:12:48 -

Okay, i've got 2 characters,that's supposed to have completely similar movement.They have four detectors each. So i made the movement for one of the characters, and it works perfectly. I then copy everything for the other character, replacing all the instances. Everything's working fine, except that character nr.2 is shaking!

The only difference i could find, and i believe this is the problem, is that while the detectors on char.1 are kinda lagging behind him, while char.2's are following his movements perfectly. All the detectors are set to always set their positions to their character.

So what gives? Why are objects that are exactly the same, with the same events and actions, behaving differently? And how can i fix this?

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
25th May, 2005 at 16:18:56 -

this may be off the topic and it may not help, but are both the characters playable or does one character follow the other? if one character follows the other then you could maybe use AI platform movement for it?

 
n/a

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 16:39:07 -

No, both are playable. It's a 2-player vs.platform game, kinda like Mario Bros.

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
25th May, 2005 at 16:39:21 -

Try moving the always event around. Maybe placing it on top of the list.

 
This space is for rent

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
25th May, 2005 at 17:36:11 -

yeah, its probably the order of events

 
n/a

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 17:50:24 -

Nope, didn't work...it was at the top already,tried moving it around,but to no avail. Any other suggestions?

 
n/a

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
25th May, 2005 at 18:26:43 -

I think your problem is just the scrolling.

The scrolling you got only follows one of the charactors.

To fix it,(and see what I mean) change the scrolling event to something like

Always : centre X position window in playfield : (Xplayer 1 Xplayer 2)/2

Always : centre Y position window in playfield : (Yplayer 1 Yplayer 2)/2

 
n/a

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 18:40:10 -

Uh,no, it's a singlescreen game, so there's no scrolling at all. Does anyone know if it's possible to contact Clickteam somehow and ask them?

 
n/a

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
25th May, 2005 at 19:16:05 -

First off, what program are you using? MMF, GFACTORY, or KNP?

Post the source so we could take a look at it.

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 19:31:29 -

I'm using TGF. What do you mean by the "source"? Should i upload the .gam file? Where/ how do i do that?

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th May, 2005 at 19:57:25 -

you could email it to one of us, i will give you my email addresss, look at your personal messages,

 
.

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 20:25:54 -

Okay, i mailed it to you, thanks! Hope you can figure it out!

 
n/a

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
25th May, 2005 at 21:16:40 -

I'll have a shot for you as well if you want.

 
n/a

Andy J



Registered
  25/04/2004
Points
  14
25th May, 2005 at 21:19:13 -

Sure,thanks! I'll send it right away.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
26th May, 2005 at 08:55:41 -

I can't get it, Hotmail claims it to be a virus 0-o


 
.
   

Post Reply



 



Advertisement

Worth A Click