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

New
jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
New
GilWright
Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
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
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
mcpierce
@mfazio23 I’ve applied the changes from Chapter 5 of the book and everything builds correctly and runs. But, when I try to start a game,...
New
dachristenson
I just bought this book to learn about Android development, and I’m already running into a major issue in Ch. 1, p. 20: “Update activity...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1031 17377 381
New
malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
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
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New

Sub Categories: