mikecargal

mikecargal

Apple Game Frameworks and Technologies: Val's revenge background doesn't fill screen

Title: Apple Game Frameworks and Technologies: Val’s revenge background doesn’t fill screen (page 163)

OK, I’m stumped… I’ve been through the instructions several times and double/triple/… checked everything, but when I run the game in the “iPhone 11 Pro Max” Simulator, the background does not fill the screen.

(Xcode Version 12.3 (12C33))

Did some searching around and found references to the storyboard Controller Presentation, and the view content mode, but I’ve changed these (to the point I don’t recall what their original values were), all to no effect.

Any clue what I may have wrong?

Most Liked

Paradox927

Paradox927

Author and Editor at PragProg

Hey, Mike.

Sorry to hear you’re running into this issue. Have you read the Xcode 12 and Universal Screen Size Support aside. It reads:

At the time of this writing, it looks as if some key settings that enable universal support are not set when using Xcode 12. If you’re using Xcode 12, you’ll need to add a plist entry for Launch screen interface file base name. You can either add this entry and set its value to Main or create a custom LaunchScreen.storyboard file and set its value to LaunchScreen instead.

I’m not sure if that’s what you’re running into, but that could be the problem, Let me know if this helps!

mikecargal

mikecargal

Gah!!.. that was it.

That was too far in my distant memory. (maybe a brief “don’t forget about this” in setting up Val’s Revenge is in order (for old folks like me with (apparent) short term memory issues)

side comment… That’s a VERY odd thing to have this impact (at least to my reasoning. Might have expected to not have a launch screen displayed, but not having it sized right…??? Not sure how I’d have ever sorted that out.

Where Next?

Popular Pragmatic Bookshelf topics Top

jimmykiang
This test is broken right out of the box… — FAIL: TestAgent (7.82s) agent_test.go:77: Error Trace: agent_test.go:77 agent_test.go:...
New
brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
ianwillie
Hello Brian, I have some problems with running the code in your book. I like the style of the book very much and I have learnt a lot as...
New
mikecargal
Title: Hands-On Rust (Chapter 11: prefab) Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
s2k
Hi all, currently I wonder how the Tailwind colours work (or don’t work). For example, in app/views/layouts/application.html.erb I have...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New

Other popular topics Top

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New

Sub Categories: