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

jimmykiang
This test is broken right out of the box… — FAIL: TestAgent (7.82s) agent_test.go:77: Error Trace: agent_test.go:77 agent_test.go:...
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
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
New
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
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
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
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

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
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
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
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
CommunityNews
Open-source implementation of the classic GTA engine now running directly in your browser. Experience the reVC technology demo on DOS.Zon...
New

Sub Categories: