mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
Add example overlay.
This commit is contained in:
parent
332dc3f38b
commit
96352a13c5
BIN
media/overlays/example/down.png
Normal file
BIN
media/overlays/example/down.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
22
media/overlays/example/example.cfg
Normal file
22
media/overlays/example/example.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
overlays = 1
|
||||
# overlay0_overlay omitted. We don't need to splat an overlay across the screen.
|
||||
overlay0_rect = "0.50,0.50,0.50,0.50" # Place entire overlay in bottom right part of screen.
|
||||
overlay0_full_screen = true
|
||||
|
||||
# These set defaults across the entire overlay. They can be overridden per-desc with overlayN_descM_alpha_mod = foo, etc.
|
||||
overlay0_alpha_mod = 2.0 # If we press a button desc, it will have twice the alpha.
|
||||
overlay0_range_mod = 1.5 # If we press a button desc, the hitbox range will be 1.5x the size until it's released.
|
||||
overlay0_normalized = true # Descriptor coordinates use normalized coordinates [0, 1] instead of pixels.
|
||||
|
||||
overlay0_descs = 5
|
||||
overlay0_desc0_overlay = left.png
|
||||
overlay0_desc1_overlay = right.png
|
||||
overlay0_desc2_overlay = up.png
|
||||
overlay0_desc3_overlay = down.png
|
||||
overlay0_desc0 = "left,0.25,0.50,rect,0.125,0.125"
|
||||
overlay0_desc1 = "right,0.75,0.50,rect,0.125,0.125"
|
||||
overlay0_desc2 = "up,0.50,0.25,rect,0.125,0.125"
|
||||
overlay0_desc3 = "down,0.50,0.75,rect,0.125,0.125"
|
||||
|
||||
overlay0_desc4 = "nul,0.30,0.90,rect,0.28,0.08" # Paste an arbitrary image. Input associated with this is nul.
|
||||
overlay0_desc4_overlay = logo.png
|
BIN
media/overlays/example/left.png
Normal file
BIN
media/overlays/example/left.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 586 B |
BIN
media/overlays/example/logo.png
Normal file
BIN
media/overlays/example/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
media/overlays/example/right.png
Normal file
BIN
media/overlays/example/right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
BIN
media/overlays/example/up.png
Normal file
BIN
media/overlays/example/up.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue
Block a user