Here is updated New Game Room:
http://www.ravarcade.pl/beta/room-demo.zipHappyCab wrote:
Hey Rav, there are some intersecting polygon in your version on the ceiling
Problem with broken polygons is solved.
Every day i learn new quirks in FP.
Cellin object when it is put on table with offset = 0, FP create trangles for model wird way and change normal vectors. When i set offset above playfield (like =200), all is correc. So solution was to set offset = 200 for whole "mini-room-model" (all objects).
I must be blind. I just noticed "Better Arcade Mode" sign above doors in game room. Thanks Steve

.
----------
Here is list of change on demo table.
I move whole mini-room to coords: x=0, y=-200, offset=200.
At this coords model is not visible when BAM is not present.
I changed Mini-Playfields source box coords to that coords.
I added ready to use code for game-room at begin of script:
Code:
' -------------------------------------------------- NEW GAME ROOM CODE
Const BAM_VERSION = 0
If BAM_VERSION > 133 Then
Dim NewGameRoom
Set NewGameRoom = xBAM.CreateMiniPlayfield(-130,130,-330,70,199,270,0,-200,200)
Call NewGameRoom.MoveTo(258,534,-866,0,0,0,50,0)
If BAM_VERSION > 157 Then
xBAM.GameRoom = false
End If
End If
' ------------------------------------------- END OF NEW GAME ROOM CODE
This version of code have "fail-safe" code path. If there is no BAM or it is version without Mini-Playfields suppor (older than 134) code will not run.
If it is version without "xBAM.GameRoom" switch i twill also not hide fp-game-room. (User will have to disable it in FP video/rendering options.)
Gimli gived good tutorial how to add new game room to another table. My only advice is to use code above. It will not make trouble to users without BAM or with older version.