skellt

skellt

Apple Game Frameworks and Technologies: Prefix chapter number in zip file

This is super minor, but I would find it helpful if the folders in the zip file containing sample code had the chapter number at the front. Instead of CreatingScenesWithSpritesAndNodes perhaps 1-CreatingScenesWithSpritesAndNodes or Ch1-CreatingScenesWithSpritesAndNodes. Then the folders would sort in order and the resources/code would be easier to find.

The current chapter name is printed at the top of every other page, so it’s not that hard to figure out what folder the current code/resources are in. But I am finding myself jumping back to the folders for the previous chapter, or the next chapter, now and then and I have to check the table of contents to get the chapter title before I can do so.

Marked As Solved

Paradox927

Paradox927

Author and Editor at PragProg

Hello, David.

We are unable to include chapter numbers within our folder names. However, there is something you can do:

In Finder, you can turn on the Comments column, and then sort by that column.
Right-click the Name column in Finder, then select the Comments option:

After that, you can add the chapter number to each folder.
Right-click the folder, select Get Info, and enter the chapter number in the Comments box:

You can also use Tags to further help identify each chapter and its companion game. For example, Gloop Drop is set to Green, Val’s Revenge is set to Blue, and Hog is set to Purple. I also set up secondary colors for different parts of the book since Gloop Drop and Val’s Revenge are covered in multiple parts:

Sadly, my Comments and Tags remain local to my system. There may be a way to include these two options when sharing the files, but I’ve yet to find a way to do so.

Hope that helps!

Where Next?

Popular Pragmatic Bookshelf topics Top

iPaul
page 37 ANTLRInputStream input = new ANTLRInputStream(is); as of ANTLR 4 .8 should be: CharStream stream = CharStreams.fromStream(i...
New
johnp
Hi Brian, Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
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’m running Android Studio “Arctic Fox” 2020.3.1 Patch 2, and I’m embarrassed to admit that I only made it to page 8 before running into ...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
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
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
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
a.zampa
@mfazio23 I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
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
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
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
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
wmnnd
Here’s the story how one of the world’s first production deployments of LiveView came to be - and how trying to improve it almost caused ...
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
New

Sub Categories: