The Daily Click ::. Forums ::. Klik Coding Help ::. Problem with catapult engine
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
5th January, 2006 at 00:17:09 -

I cannot get this to work right. Ive tried so many times, and have no idea was to do. every time I press fire, it launches the rock higher, (i shoot one, then when it is going down, i try to shoot another, and it launches the other up also)

Its pretty much-

you press fire-

i-catapult
o create rock
o get the value of counter for value A
o Set flag on
i - fastloop
o start fastloop 3 for 999 loops

fastloop is on loop 3 -
i - catapult
o add 1 to value c

loop 3 > 10

i - catapult
o set flag 0 off

i - fastloop
o stop loop 3

catapults internal flag 0 on -

i - rock
o set value A to value A of catapult

i - catapult


(rock going up) |
- V

rock value A < 0 -
i - loop
o start loop 1 for value A times

loop 1 -
i - rock
set Y of rock to (rock)-1

and pretty much the same for falling

Image Edited by the Author.

 

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
5th January, 2006 at 00:39:34 -

you need to distinguish between the rocks. On the fastloops containing the moving of the rocks, you should put in the event "if value A of rock is greater than 0", and minus from value A each time. So only the rocks that match that event will be affected.

I hope that helps at all

 
n/a

Deleted User
5th January, 2006 at 01:36:02 -

i dont know what good we servers there are, all i know of are angelfire and geocities, and they suck. plz help.

Image Edited by the Author.

 

Deleted User
5th January, 2006 at 02:10:31 -

I emailed you, you should check it out

 

Deleted User
5th January, 2006 at 03:54:35 -

i still am desperate for help

 

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
5th January, 2006 at 04:17:43 -

I'll tackle it.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

Wicked Studios



Registered
  25/10/2004
Points
  460
5th January, 2006 at 05:00:57 -

ill tackle you...

 
"Actually sir, we found a tiny unicorn in your exhaust. It was jumping around poking holes in your gas tank." "Oh thank you I did not know that. A tiny unicorn? Wow."
   

Post Reply



 



Advertisement

Worth A Click