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

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
alanq
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
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
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
jskubick
I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
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
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
New

Other popular topics Top

axelson
I’ve been really enjoying obsidian.md: It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
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
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New

Sub Categories: