Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Mon Oct 21, 2019 1:00 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Replays !
PostPosted: Sun Sep 30, 2007 6:23 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Commit 575 add a great feature to the engine, since you can now create replays ! :)

I've made it so it's possible to play a replay while you're recording a new one.
Example:

- launch test6
- enter raydium_ode_capture_record("a1.rrp") in the game console
- play a bit
- close test6
- launch test6 again
- enter raydium_ode_capture_record("a2.rrp")
- then raydium_ode_capture_play("a1.rrp",0)
- you can play "versus" the replay and all is recorded in "a2.rrp" !

You can then watch the new replay with "rrp_play" : ./odyncomp.sh rrp_play --file a2.rrp

Image

Nice, no ? :)

Missing features on the work are in the SVN commit:
- smooth replay
- live rewind and slow motion
- particles
- sounds


Last edited by Xfennec on Mon Oct 01, 2007 4:43 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 9:39 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Nice, i go to check it righ tnow.
And this is the first step in the anti-cheating system of maniadrive :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 9:58 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Ok, just a comment.

The play function needs a second parameter. I have put raydium_ode_capture_play("ejemplo2.rrp",1) and it worked.

Good work! ;)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 4:42 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Right ! I fix that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group