The Daily Click ::. Forums ::. Klik Coding Help ::. How to make a replay?
 

Post Reply  Post Oekaki 
 

Posted By Message

JP



Registered
  07/06/2003
Points
  1338
11th April, 2004 at 02:19:51 -

Hi, I have an idea for a game for the time compotition (so no one take my idea please), where you go through the level, and your movement is recorded, then you go back in time and take the same path, meanwhile you have to go back and fight your past self, and each timethere is more and more that go the way you came from.

So, my question is, how do you make a replay function that records the platform object's movement, then have an object follow the movement?

Do you use ini's? I only found out how to record one position at a time.

Please help!

 
Steve Zissou: Anne-Marie, do all the interns get Glocks?

Anne-Marie: No, they have to share one.

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
11th April, 2004 at 02:48:56 -

Do somthing like make a counter and always add 1 to it, then like always set the group or item or whatever it is of the INI to the converted number to text value of the counter, then you can always save position of the object, then to play it back make the counter always add 1 like before and set the group/item like before but this time load the objects position. I dont know if any of that made sence, if not just search the clickteam.com forums for the replay example, its in there somewhere.

 

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
11th April, 2004 at 03:46:47 -

Theres also the modifier object, which you can record objects movements then play them back.

 
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

Muggus

Possibly Insane

Registered
  31/07/2002
Points
  2958
11th April, 2004 at 04:55:50 -

I made an example of this a while ago. Since then i got rid of it off my webspace, but the concept is pretty easy to understand. I'll upload my example to Clickteam.

http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=fac&Number=234354&page=0&view=collapsed&sb=5&o=&part=&vc=

Hope this helps. You may need to have the INI record a few more pieces of data than just X, Y, and Direction values however.


 
MUGGUS
Come and annoy me more at
www.muggus69.tk
STOUT ANGER!!!

AS Filipowski



Registered
  29/02/2004
Points
  444
11th April, 2004 at 05:45:36 -

Nice idea. Did you think of that by playin Rayman? I remember that weird evil clone guy that followed your exact moves.

 
I do not have a signature of my own

Kramy



Registered
  08/06/2002
Points
  1888
11th April, 2004 at 12:38:00 -

Oh crap! That was my first idea! Then I asked my uncle, and he said the same thing. Now you!

Can you say, "Generic"?

Well, good thing my brother came up with a semi-original idea, that I don't *think* has been done.


The basic method I'd use for something like that is a 2D array, where Y = time, recording "events" that happen(enemy death). Ofcourse, then you'll have to generate opposite events if time reverses. Hence, create enemy from "enemy death".
And don't worry, I won't be able to use this idea, since my 2D graphics skills are somewhat limitted. Good luck with it though.

 
Kramy

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48488

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
11th April, 2004 at 12:39:26 -

JP, you are thinking of a certain Net Yaroze Snail game, aren't you?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click