The Daily Click ::. Forums ::. Klik Coding Help ::. Sticking to ceilings (TGF)
 

Post Reply  Post Oekaki 
 

Posted By Message

Other Fish



Registered
  01/06/2003
Points
  5
2nd June, 2003 at 03:46:14 -

How do you stop a character from sticking to the ceilings or walls? I keep playing with Games Factory but i cant find a solution.

 
www.otherfish.tk

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
2nd June, 2003 at 04:29:10 -

Custom Movement It's pretty much the only way. But if you want to use default movements you have to use detectors. Custom movement is the way to go .

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

jesterkik



Registered
  19/05/2003
Points
  2
3rd June, 2003 at 12:16:29 -

If you want a quick fix that's simple to program this is what I've used:

- Character collides with Background + Animation Jumping is Plyaing :: Ignore control

- every 00"-25 :: restore control

It only stops cieling sticking and does it pretty crudely, but it works and is simple. Obviously, programming your own custom movement is the best you can do, but we all aren't master programmers (that's why we use TGF in the first place).

 
been prayin' and, well, you might...

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
3rd June, 2003 at 12:23:59 -

i had this problem.
instead of backdrops i used active onbjects at first and my charater got stuck to walls.
Then i made it backdrops and it worked perfectly.
If you are using backdrops and still problems, yes use custom (i dont use it but its best that i should use it)

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Weston L



Registered
  16/12/2002
Points
  1603
3rd June, 2003 at 13:10:24 -

Make an active object thats invisible a few pixels below the cieling and have: When player collides with active object --> set position at (current Y position - 5)

 
n/a

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
3rd June, 2003 at 13:23:27 -

good idea, i might use that in "Spiderhead".

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
3rd June, 2003 at 14:19:14 -

i have had permission from Fishhead himself for creating this game ok?

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6949

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
3rd June, 2003 at 15:32:19 -

spiderhead..please delete that klik-school stuff in ur signature, it isnt up yet

 
www.hayovanreek.nl

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
5th June, 2003 at 12:41:02 -

sure thing

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation
   

Post Reply



 



Advertisement

Worth A Click