NED
Well-known member
My BG already have a ring using platform code.
It is working perfectly.
But everything was on one layer.
I have added a new layer as and entity to display the ring/mat more realistically.
This is the code of entity
This is the code of my level
My problem is that the ring is not displayed correctly.
-1st- it is facing the wrong way, I want to flip it hozirontally without changing the original picture
-2nd- When you mount on the ring the ring is still displayed in front of you...
(check the picture with green cross)
Other contacts with the ring are OK.
How can I fix it?
Thanks
--------------------
Anyone can explain how to fix these problems?
I tried my best today, but still stuck...
problem 1 must be something about flipping entities I don't have found it...
Problem 2 I don't know how to give a character an upper layer if he's on the ring.
It is working perfectly.
But everything was on one layer.
I have added a new layer as and entity to display the ring/mat more realistically.
This is the code of entity
Code:
name rmat1
type none
shadow 0
health 99999999#1
diesound data/sounds/wood.wav
nolife 1
noatflash 1
nomove 1 1# pas de move - pas de turn
#gfxshadow 0#1
anim idle
loop 1
delay 6
offset 720 580
# bbox 22 15 36 81
frame data/sprites/rmat1.gif
This is the code of my level
Code:
# File modified by Level Editor on 2010-08-04
# File modified by Level Editor on 2010-08-04
music data/music/ring.bor#rushmore.bor
panel data/bgs/1/ringc1.gif none none
#background data/bgs/1/ring2.gif
order A
#spawn1 195 0 0#145 110
#spawn2 175 110
#spawn3 155 115
#spawn4 185 115
nohit 1
settime 0
notime 1
cameraoffset 0 -50#-100
cameratype 0#1
gravity -15.8#-16
direction both
light -98 -55
at 0
shadowalpha 2
at 0
spawn resetvar
coords 100 268
at 0
group 1 1#1 1
at 0
#wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth}{alt}
#wall 162 466 240 162 755 833 130 55
#wall 162 466 240 318 162 466 755 318 833 466 130 55#130 55
#OLD-RING-ORI)wall 162 466 78 0 593 671 155 55#130 55
wall 299 584 100 0 738 838 170 67#66#130 55
#578 ----190
spawn rmat1
coords 720 580#646 259
# health 999
# map 1
at 0
spawn mex
coords 646 259
health 999
# map 1
at 0
My problem is that the ring is not displayed correctly.
-1st- it is facing the wrong way, I want to flip it hozirontally without changing the original picture
-2nd- When you mount on the ring the ring is still displayed in front of you...
(check the picture with green cross)
Other contacts with the ring are OK.
How can I fix it?
Thanks
--------------------
Anyone can explain how to fix these problems?
I tried my best today, but still stuck...
problem 1 must be something about flipping entities I don't have found it...
Problem 2 I don't know how to give a character an upper layer if he's on the ring.
