The Daily Click ::. Forums ::. Klik Coding Help ::. platform issues!
 

Post Reply  Post Oekaki 
 

Posted By Message

tobbe agrenx



Registered
  10/11/2003
Points
  10
10th November, 2003 at 09:43:10 -

Hi, I have a couple of questions to everyone that can help. I am making a game featuring a jump boy. He uses his jump pacj by pressing 'up', and then he goes upwards.
He is always falling down, so he have to use the jumpa pack to stay up. The problem is when he is suppose to land on platforms and similar stuff. I cannot override the "falling" command, which looks like this:
---Every 00"-15: Add 1 to alt. value B-------

How am I to overide this? I tried to make it so that when he collides with the platform, he stops, but that doesnt work.
When I exchanged the "stop" to "subtract 1 from alt. B", he bounces. This is a temporary soultion, full of bugs, cause if he has a to high speed, he goes straight through. Please tell me how to solve this!

 
n/a

renneF



Registered
  02/08/2003
Points
  672
10th November, 2003 at 09:46:30 -

insert: jump boy overlapping backdrop (negate) and make jump boy collides with backdrop set value b to 0 and he stops now!

 
Image

tobbe agrenx



Registered
  10/11/2003
Points
  10
10th November, 2003 at 10:27:49 -

....you guys make it look so easy! It worked, partially, but you can still go through the sides of it. I could make lines to cover them, but I will have alot of platform and do not want to have a helluvalot of objects.

Image Edited by the Author.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th November, 2003 at 07:27:53 -

going through the sides requires a different set of events
if the blokey has side detectors on the left and right that follow then you can push him away from the side whenever the detectors are over the background.
if the left is over a background - push to the right
if the right is over a background - push to the left



 
.

renneF



Registered
  02/08/2003
Points
  672
12th November, 2003 at 07:47:50 -

easy, huh

 
Image

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
12th November, 2003 at 11:04:31 -

AndyUK : That would most likely make the screen "shake" when he collides, instead you should say if left detector is NOT colliding with obstacle, and pressing left, <action>
It is much better if you use fastloop.

 
n/a

MidnighT_RaveN



Registered
  20/09/2003
Points
  86
12th November, 2003 at 18:26:22 -

that's kind of funny, I'm working on a game that's sort of the opposite concept...
the screen is constantly moving up, instead of the character falling...
( my late halloween game. )

 
n/a

tobbe agrenx



Registered
  10/11/2003
Points
  10
15th November, 2003 at 04:19:55 -

I have now made it so that:
"Right collison detector collides with background"
=
"set alt. value A to 0"

This only works when you are going into the background really slow, and dont push the right key.
I need help!
I dont understand how come it works vertically, but not horizontally...?

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click