RCOXML ofw animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 50: Line 50:
</Animation>
</Animation>
</syntaxhighlight>}}
</syntaxhighlight>}}
{| class="wikitable" style="text-align:center; border: 4px dashed black;"
|+anim_otherboot timeline
| colspan="10" {{cellcolors|#000000}}
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Total time''' || align="right" | '''0.00"''' {{arrowr}} || align="right" | '''0.20"''' {{arrowr}} || align="right" | '''0.30"''' {{arrowr}} || align="right" | '''0.30"''' {{arrowr}} || rowspan="7" {{cellcolors|#000000}}
|-
| rowspan="5" {{cellcolors|#000000|#ffffff}} '''Parallel<br>execution<br>threads'''
| {{cellcolors|#aaffaa}} '''Lock'''<br>0xffffffff || colspan="3" {{cellcolors|lightgrey}}
|-
| {{cellcolors|#aaffaa}} '''Fade'''<br>object:ps3logo || colspan="3" {{cellcolors|lightgrey}}
|-
| colspan="2" {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_BG3 || colspan="2" {{cellcolors|lightgrey}}
|-
| colspan="2" {{cellcolors|#ff7777}} '''Delay'''<br>200 || {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_BG4 || {{cellcolors|lightgrey}}
|-
| colspan="3" {{cellcolors|#ff7777}} '''Delay'''<br>300 || {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_Finished
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Time frames''' || {{arrowl}} '''0.00"''' {{arrowr}} || {{arrowl}} '''0.20"''' {{arrowr}} || {{arrowl}} '''0.10"''' {{arrowr}} || {{arrowl}} '''0.00"''' {{arrowr}}
|-
| colspan="10" {{cellcolors|#000000}}
|}


==anim_gameboot==
==anim_gameboot==

Revision as of 07:21, 1 September 2016

PS3

anim_otherboot

In custom_render_plugin.rco

Firmware 1.00 up to 2.80

Code Sample
anim_otherboot timeline
Total time 0.00" D-Pad right button 1.00" D-Pad right button 1.00" D-Pad right button
Parallel
execution
threads
Lock
0xffffffff
Fade
object:ps3logo
FireEvent
anim_otherboot_BG3
Delay
1000
FireEvent
anim_otherboot_Finished
Time frames D-Pad left button 0.00" D-Pad right button D-Pad left button 1.00" D-Pad right button D-Pad left button 0.00" D-Pad right button

This animation is a basic "fade-in" of 1 second length, at the first instant of the animation (time=0) the 4 threads are executed in parallel, from top to botton it locks the XMB, then initializes the transparency of the image, and triggers the event anim_otherboot_BG3 from custom_render_plugin.sprx (at this point the animation is performed by the code inside the .sprx). Also at the same time (time=0) it starts the timer for the delay of 1 second

When the delay of 1 second ends, it sends the event anim_otherboot_Finished to custom_render_plugin.sprx (is a terminator controll signal to stop the previous event anim_otherboot_BG3 running in the .sprx)

The event anim_otherboot_BG3 is the responsible of the "flying sparks" behind the "playstation" logo but the details of how it works are unknown (hardcoded inside the .sprx)

Firmware 3.00 up to latest

Code Sample
anim_otherboot timeline
Total time 0.00" D-Pad right button 0.20" D-Pad right button 0.30" D-Pad right button 0.30" D-Pad right button
Parallel
execution
threads
Lock
0xffffffff
Fade
object:ps3logo
FireEvent
anim_otherboot_BG3
Delay
200
FireEvent
anim_otherboot_BG4
Delay
300
FireEvent
anim_otherboot_Finished
Time frames D-Pad left button 0.00" D-Pad right button D-Pad left button 0.20" D-Pad right button D-Pad left button 0.10" D-Pad right button D-Pad left button 0.00" D-Pad right button

anim_gameboot

In gamelib_plugin.rco

Code Sample

In custom_render_plugin.rco

Code Sample

anim_coldboot

anim_coldboot2