The Daily Click ::. Forums ::. Klik Coding Help ::. Scrolling Problem (not the average type)
 

Post Reply  Post Oekaki 
 

Posted By Message

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
18th September, 2003 at 18:00:33 -

This isn't your normal "How do I center something" problem, just to tell you.
My problem is this: I want it to have one of those things that scroll like in normal fighting games (Mortal Kombat, for example). I don't know how to do this (also without having jumpy scrolling because both players move backwards at the same time). Can anyone help me with this?

 
http://www.klik-me.com

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
18th September, 2003 at 18:44:32 -

Hi,
If you want to center the screen between two players you can do this quite easily by using the "Set Horizontal Position of Frame" and entering the average X position of both characters. That is (X1 + X2) / 2 which will always be in the middle of both characters.

If you want to make it so it zooms in and out depending on how far apart the characters are, I'm pretty sure you can do that with the Zoom extension. I havent used that extension before, but I'm quite sure this will be the one you want.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
19th September, 2003 at 15:32:51 -

Thanks. I'll try the first one out.

 
http://www.klik-me.com

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
23rd September, 2003 at 20:01:39 -

I've got a slight problem of either the other player (who so far moves around left or right) or the main character of going through the "wall". They main problem is the enemy, I've already got something set up to fix the enemy. If anyone wants more information I can send you the .cca file to look.

 
http://www.klik-me.com
   

Post Reply



 



Advertisement

Worth A Click