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

jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
johnp
Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’. In particula...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
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’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
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
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
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
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

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
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
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
PragmaticBookshelf
Lint your docs like code: turn any style guide into enforceable rules with Vale and publish clear, consistent content every time. ...
New

Sub Categories: