The Daily Click ::. Forums ::. Klik Coding Help ::. another problem in my long*hint-hint*game
 

Post Reply  Post Oekaki 
 

Posted By Message

NeoMonkey

Finnish Army Fire Commander

Registered
  01/12/2006
Points
  243

VIP Member360 OwnerI am an April FoolPS3 Owner
3rd February, 2008 at 08:24:01 -

Huoh...

Add 2 or more objects.

1.Player
2.Checkpoint 1
3. more checkpoints if ya want.

Events:
Start of frame
-Set Global value to 0

Collision between [Player] and [Checkpoint]
+Global value A = 0
-Set Global value A to 1

Collision between [Player] and [Checkpoint2]
+Global value A = 1
-Set Global value A to 2

This depends how many checkpoints you use...

Then:

Last [Player] has been destroyed
-Restart the current frame

Start of frame
+Global value A=0
- Set position (x,y) ((x,y) is your original starting coordinates)

Start of frame
+Global value A=1
- Set position at (0,0) from [Checkpoint]

Start of frame
+Global value A=2
- Set position at (0,0) from [Checkpoint2]

And so on if ya have more than 2 checkpoints. This should work.

Edit: And it worked for me.

Image Edited by the Author.

 
I have proven new mathematic formula to be true...

2D > 3D

Image


Xio



Registered
  21/01/2008
Points
  218
3rd February, 2008 at 12:36:39 -


Originally Posted by Mauri Mahtava
Huoh...

Add 2 or more objects.

1.Player
2.Checkpoint 1
3. more checkpoints if ya want.

Events:
Start of frame
-Set Global value to 0

Collision between [Player] and [Checkpoint]
+Global value A = 0
-Set Global value A to 1

Collision between [Player] and [Checkpoint2]
+Global value A = 1
-Set Global value A to 2

This depends how many checkpoints you use...

Then:

Last [Player] has been destroyed
-Restart the current frame

Start of frame
+Global value A=0
- Set position (x,y) ((x,y) is your original starting coordinates)

Start of frame
+Global value A=1
- Set position at (0,0) from [Checkpoint]

Start of frame
+Global value A=2
- Set position at (0,0) from [Checkpoint2]

And so on if ya have more than 2 checkpoints. This should work.

Edit: And it worked for me.

Image Edited by the Author.







nothing...didnt work any other ways

 
Squigy my blob

maker of music
8-bit music though

NeoMonkey

Finnish Army Fire Commander

Registered
  01/12/2006
Points
  243

VIP Member360 OwnerI am an April FoolPS3 Owner
3rd February, 2008 at 14:25:41 -

But it works! You are just evo. But if you are using like tgf, then I'm not sure but it works on mmf1 and 2.

 
I have proven new mathematic formula to be true...

2D > 3D

Image


Xio



Registered
  21/01/2008
Points
  218
3rd February, 2008 at 18:34:49 -


Originally Posted by Mauri Mahtava
But it works! You are just evo. But if you are using like tgf, then I'm not sure but it works on mmf1 and 2.




send my like a example because none of these lessons help

 
Squigy my blob

maker of music
8-bit music though

Xio



Registered
  21/01/2008
Points
  218
3rd February, 2008 at 18:58:51 -


Originally Posted by I am AndyUK (honest)
Well you need to restart the level for the enemies to reappear. However i'm fairly sure the flag resets if you go to the same level. (use 'jump to frame')

so yoo need to use a global value like i mentioned previously.





i got it yes!!! but i might post again if there is a problem ...

 
Squigy my blob

maker of music
8-bit music though

Mr. Waffle



Registered
  29/12/2007
Points
  103
3rd February, 2008 at 19:03:12 -

Bleh, I made it as easy as I could:
http://www.mediafire.com/?a1zf2dvdayp

You can have as many checkpoints as you want. If you only want one, then just delete the other checkpoints. x]

 
n/a

Xio



Registered
  21/01/2008
Points
  218
3rd February, 2008 at 19:35:26 -


Originally Posted by I am AndyUK (honest)
Well you need to restart the level for the enemies to reappear. However i'm fairly sure the flag resets if you go to the same level. (use 'jump to frame')

so yoo need to use a global value like i mentioned previously.






thats a problem i dont know how

 
Squigy my blob

maker of music
8-bit music though

Xio



Registered
  21/01/2008
Points
  218
3rd February, 2008 at 19:36:56 -


Originally Posted by Mozart
Bleh, I made it as easy as I could:
http://www.mediafire.com/?a1zf2dvdayp

You can have as many checkpoints as you want. If you only want one, then just delete the other checkpoints. x]





nice but i need one that can shoot and kill objects when i kill them they stay killed and i dont know how to make appear again


 
Squigy my blob

maker of music
8-bit music though

Mr. Waffle



Registered
  29/12/2007
Points
  103
3rd February, 2008 at 19:56:23 -

Eh, they will re-appear in my examp...
-sigh- Nevermind, I give up. Good luck.

 
n/a

Xio



Registered
  21/01/2008
Points
  218
4th February, 2008 at 15:49:22 -


Originally Posted by Waffle
Eh, they will re-appear in my examp...
-sigh- Nevermind, I give up. Good luck.




OOOOOOOOOOOOOOOOOOOOOOOOOOO I FOUND OUT

thanks man <----tears of joy

 
Squigy my blob

maker of music
8-bit music though
   

Post Reply



 



Advertisement

Worth A Click