Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, TedMar, dr_panther, Ayumi), 1,072 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
How to Record a Demo #67589
03/21/06 21:35
03/21/06 21:35
Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Shinobi Offline OP
User
Shinobi  Offline OP
User

Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Hi guys , time to help the Community again .

I wrote a script that shows how you can record and playback a Demo of your Game , this means you record your movements to a Demofile and your able to playback this file. It can be used for your Games to maybe show how to beat a Boss or to show some later Levels .

start the level and run it , use these Keys.

F1 -- Record a Demo
F2 -- Stops Recording or Playing a Demo
F3 -- Playback a Demo

I only store the Pan and the Position of the Player in the File , of Course you can add more if needed , maybe some enemy Positions or Which Level is playing something else. But Notice the File will grow if you add more Numbers to the File.
I got only a 179 kb Demo File in 1 Minute Recording time.

Here is the LINK to the script with a Test Level.

Have fun and let me know if you have questions or Problems with the script.

Last edited by Shinobi; 03/21/06 21:47.
Re: How to Record a Demo [Re: Shinobi] #67590
03/21/06 21:42
03/21/06 21:42
Joined: Sep 2004
Posts: 772
AndrewSwallow Offline
User
AndrewSwallow  Offline
User

Joined: Sep 2004
Posts: 772
Sound interesting, im just to test the test level now

Andrew

edit: yes seems useful, i may use this in the future

Last edited by andrewds; 03/21/06 21:46.

Northern Aspire : northernaspire.com
Re: How to Record a Demo [Re: AndrewSwallow] #67591
03/21/06 21:48
03/21/06 21:48
Joined: Jul 2003
Posts: 893
Melbourne, Australia
Matt_Coles Offline

User
Matt_Coles  Offline

User

Joined: Jul 2003
Posts: 893
Melbourne, Australia
This is excellent. Just what I've been looking for.

Thanks,

Matt Coles

Re: How to Record a Demo [Re: Matt_Coles] #67592
03/21/06 22:35
03/21/06 22:35
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Thank you, Shinobi!
Helpfull thing.

Re: How to Record a Demo [Re: Lion_Ts] #67593
03/21/06 22:44
03/21/06 22:44
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
nice idea to record a game

Re: How to Record a Demo [Re: Lion_Ts] #67594
03/21/06 22:44
03/21/06 22:44
Joined: Jul 2003
Posts: 893
Melbourne, Australia
Matt_Coles Offline

User
Matt_Coles  Offline

User

Joined: Jul 2003
Posts: 893
Melbourne, Australia
Tested the level and it is excellent. I wonder if I could change the script slightly to tape the camera instead of the player

Thanks Again,

Matt Coles

Re: How to Record a Demo [Re: Matt_Coles] #67595
03/21/06 22:53
03/21/06 22:53
Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Shinobi Offline OP
User
Shinobi  Offline OP
User

Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Thx all , i am glad you like it

Quote:

Tested the level and it is excellent. I wonder if I could change the script slightly to tape the camera instead of the player

Thanks Again,

Matt Coles




Just replace the Player positions with the Camera Positions in the demo_record Function . But it would not work in my example script , because the camera position will be set on players Position.

Last edited by Shinobi; 03/22/06 22:32.
Re: How to Record a Demo [Re: Shinobi] #67596
03/22/06 04:13
03/22/06 04:13
Joined: Jul 2003
Posts: 893
Melbourne, Australia
Matt_Coles Offline

User
Matt_Coles  Offline

User

Joined: Jul 2003
Posts: 893
Melbourne, Australia
Thanks for the reply, it's good to hear I can adapt it easily. Thanks Again,

Matt Coles

Re: How to Record a Demo [Re: Matt_Coles] #67597
03/22/06 16:10
03/22/06 16:10

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Definately sounds interesting... I always wanted to some Tribes-style demos in my game!

Re: How to Record a Demo [Re: ] #67598
03/22/06 19:54
03/22/06 19:54
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Nice recoring device Shinobi
It's very usefull and friendly to use

Nice one

Last edited by frazzle; 03/22/06 19:56.

Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1