The Daily Click ::. Forums ::. Klik Coding Help ::. Block Problem!
 

Post Reply  Post Oekaki 
 

Posted By Message

Keatonian



Registered
  15/07/2002
Points
  571
3rd September, 2003 at 07:17:56 -

I have three blocks in an engine test for a game (number later may be something like 150) and I wnat them to go with gravity, so I made a top and a bottom detector. It automatically maches the number, so Each block has 2 detectors. Then, I spread 0 into all tree and tell it to place accordingly. Then, if Bottom is not coliding with a top or the backround, it moves a few pixels down.

When I run it, all detectors are on one block. If I make it so only if the spreaded numbers are equal it moves, same thing, but it goes through the floor.

HELP!

 
-Above post is ancient and probably irrelevant-

An old account of mine, recently cleared out. It's a blast to the past, the age was marked as 14 when I found it. If you know where to look, you can track me. Au revoir.

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
3rd September, 2003 at 13:29:13 -

it happens. i used jannis stoppe's excellent article to get rid of it.

well, i didn't physically use the article. i used the method he talked about.

 
www.thenatflap.co.uk

Keatonian



Registered
  15/07/2002
Points
  571
4th September, 2003 at 04:50:57 -

I figured it out. Using Fast loop I made it so every 2 100ths of a second it does 25 loops checking if it's colliding or not. Falling is jerky, but it works. I know how to change that too, well, I think. 1 sec.

 
-Above post is ancient and probably irrelevant-

An old account of mine, recently cleared out. It's a blast to the past, the age was marked as 14 when I found it. If you know where to look, you can track me. Au revoir.
   

Post Reply



 



Advertisement

Worth A Click