adjust lower section screen size, move buttons accordingly

(also added a "cheat" to make the 5-reel machine show
the win I will put in the cabinet graphics)
master
Vanessa Dannenberg 2018-09-09 06:47:05 -04:00
parent b431d84d2d
commit 844454ec24
4 changed files with 8 additions and 3 deletions

View File

@ -69,7 +69,7 @@ A colon or parenthesis is 24x80 pixels, displayed at 50% digit width --> 0.188 x
The "Scatter Win" is 384x80 px, should be displayed at 50% width --> 3.0 x screen_line_height_3 IU
The "Bonus Win" label is 352x80 px, should be displayed at 50% width --> 2.75 x screen_line_height 3 IU
The cash slot is 320x128 px and is normally shown at full-size --> 5.0 x 2.0 IU
The "screen" in the lower overlay is 384x112 px --> or 6.0 x 0.875 IU.
The "screen" in the lower overlay is 426x112 px --> or 6.0 x 0.875 IU.
The Scatter and Bonus highlight boxes are 512x768 px --> 2.667 x 4.0 IU

View File

@ -49,11 +49,16 @@ function minislots.spin_reels(def)
local n = math.random(2, def.constants.numsymbols*2+1)/2
if math.random(1, 100) >= def.half_stops_weight then n = math.floor(n) end
-- force the all-wilds win shown in the cabinet graphics
-- force the all-wilds win shown in the cabinet graphics, 3-reel
-- local n = 10
-- if reel == 2 then n = 9 end
-- if reel == 3 then n = 8 end
-- force the all-wilds win shown in the cabinet graphics, 3-reel
-- local n = 10
-- if reel == 3 then n = 9 end
-- if reel == 4 or reel == 5 then n = 8 end
-- force a no-win spin
-- local n = 1
-- if reel == 2 then n = 4 end

View File

@ -116,7 +116,7 @@ minislots.register_machine({
reel_sizey = 9, -- spacing of 1.3333 times their width (creates a 1 IU gap in this
-- machine), centered and leaving a 1 IU space at the far left/right.
button_rows_posx = 6.25, -- X starting pos for "n Lines"/"Bet n" buttons, Y pos for Spin button
button_rows_posx = 6.9, -- X starting pos for "n Lines"/"Bet n" buttons, Y pos for Spin button
spin_cashout_posx = 12.75, -- X pos for Spin and Cash-out/Quit buttons
button_rows_posy = 11.14, -- Y pos for "n Lines" row, and Cash Out/Quit button

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 49 KiB