The Daily Click ::. Forums ::. Klik Coding Help ::. Help needed.
 

Post Reply  Post Oekaki 
 

Posted By Message

Evil-Ville



Registered
  20/12/2004
Points
  283
16th February, 2005 at 09:52:51 -

I am making a platform shooter game and the gun of the character is seperate sprite. (I don't feel like making all animations for all different guns) So the problem is that when I use always -> set position at *coordinates* "main character", the weapon sprite seems to be kind of slower than the character. It's not really that big deal but it's annoying.

 
yay

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
16th February, 2005 at 10:09:39 -

either use an invisible object where you use the movement for and then sticks the two parts of the character onto, or you just learn how to use fastloop

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
17th February, 2005 at 16:07:30 -

Fastloop doesn't really need to be used for this unless the character is using one of Clickteam's built in movements, although it can make things a little easier.

Your best bet is to have the player controlling an invisible object, and then to make both the character and the gun's positions set to the same co-ordinates as it. This way if the gun can't catch up with the player, neither can the character, so nobody will notice anyway.

 
http://www.fzgames.com

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
17th February, 2005 at 16:57:48 -

^ listen to these guys, or you could give the gun a movement too, so it moves with the guy

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
17th February, 2005 at 19:56:32 -

Make sure your Always event is the last event in the level, and your problem will be solved without having extra objects.

 
http://www.klik-me.com
   

Post Reply



 



Advertisement

Worth A Click