ericjenkinson

ericjenkinson

Apple Game Frameworks and Technologies - BodySize and Offsets do not work properly if player is outside of the dungeon tiles. (page 236)

Apple Game Frameworks and Technologies - BodySize and Offsets do not work properly if player is outside of the dungeon tiles. (page 236) B8.0

If the player is outside of the dungeon the bodySize and bodyOffsets do not allow the player to move along the wall. In the picture below the player is not able to move any higher up the screen. Also if the player moves along the outside of the dungeon along a long wall the player will drift up (or down depending on the tile) once it crosses the tile boundary.

Marked As Solved

Paradox927

Paradox927

Author and Editor at PragProg

Hey, Eric.

Thanks for taking the time to comment on the book. I understand that you’re trying to have the player explore outside and beyond the dungeon walls.

In Val’s Revenge, the player is permitted only to travel within the dungeon walls, which means travel elsewhere is not possible or expected.

You can, of course, change the design, and use what you’ve learned in the book to set up other scenarios where that type of travel path is allowed. Hope that helps!

Popular Pragmatic Bookshelf topics Top

brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
ianwillie
Hello Brian, I have some problems with running the code in your book. I like the style of the book very much and I have learnt a lot as...
New
simonpeter
When I try the command to create a pair of migration files I get an error. user=> (create-migration "guestbook") Execution error (Ill...
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
brian-m-ops
#book-python-testing-with-pytest-second-edition Hi. Thanks for writing the book. I am just learning so this might just of been an issue ...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
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
adamwoolhether
Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New
New
SlowburnAZ
Getting an error when installing the dependencies at the start of this chapter: could not compile dependency :exla, "mix compile" failed...
New

Other popular topics Top

New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
PragmaticBookshelf
Author Spotlight Erin Dees @undees Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New

Latest in Apple Game Frameworks and Technologies

Apple Game Frameworks and Technologies Portal