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.

Popular Prag Prog topics Top

Razor54672
The answer to 3rd Problem of Chapter 5 (Making Choices) of “Practical Programming, Third Edition” seems incorrect in the given answer ke...
New
telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
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
raul
Hi Travis! Thank you for the cool book! :slight_smile: I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
patoncrispy
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
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
oaklandgit
Hi, I completed chapter 6 but am getting the following error when running: thread 'main' panicked at 'Failed to load texture: IoError(O...
New
dsmith42
Hey there, I’m enjoying this book and have learned a few things alredayd. However, in Chapter 4 I believe we are meant to see the “>...
New

Other popular topics Top

AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
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
OvermindDL1
Woooooooo! This is such a huge release for it, and 2 years incoming! In short, the library is now using an updated hyper backend (not j...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New

Latest in PragProg

View all threads ❯