elimelec / inethack

Automatically exported from code.google.com/p/inethack
GNU General Public License v2.0
0 stars 0 forks source link

In-game support for different tilesets #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With all the really great tilesets coming (and ASCII) there should be an
option to change the tileset in-game.

Original issue reported on code.google.com by din...@gmail.com on 7 Aug 2009 at 7:18

GoogleCodeExporter commented 8 years ago
At the minimum perhaps you could support NSUserDefaults, and make it something 
you can change in the 
Settings App. That's what I did for preferences with Rogue Touch. Since your 
progress is saved on exit, you could 
go out, change tileset selections in settings, and re-enter where you left off. 
In fact that might even be the 
preferred method as your loading with imageNamed caches the data for the open 
life of the app, and swapping 
between multiple tilesets inside the game could actually cause you to run out 
of available memory and terminate 
the game!

Get in touch with me at the address we've been chatting under if you want some 
more detail.

Original comment by kevinh...@gmail.com on 7 Aug 2009 at 7:24

GoogleCodeExporter commented 8 years ago
I'd really like this one in the app, it's just another table view :) Re the 
caching
we'll see how dangerous this is but the OS should really release cached images 
when
memory is scarce ... Will use NSUserDefaults.

Original comment by din...@gmail.com on 7 Aug 2009 at 7:40

GoogleCodeExporter commented 8 years ago
iPhone OS 2.0 - 2.2.1 has a problem... basically using imageNamed to load your 
images caused a copy of them 
to be cached in memory, and absolutely nothing you or the OS did, not even a 
low memory warning would free 
that cached data until the app quit. I did a bit of searching and *supposedly* 
Apple has corrected the caching 
glitch in version 3.0 so you might be fine. Keep this issue in mind if you 
decide to make iNetHack backwards 
compatible though ;)

Original comment by kevinh...@gmail.com on 7 Aug 2009 at 7:57

GoogleCodeExporter commented 8 years ago
Yes, 2.2.1 is still a goal. A warning for 2.2.1 users would be an option for me.
Thanks for the heads up :)

Original comment by din...@gmail.com on 7 Aug 2009 at 8:10

GoogleCodeExporter commented 8 years ago
Ok, app setting it will be ...

Original comment by din...@gmail.com on 8 Aug 2009 at 4:17

GoogleCodeExporter commented 8 years ago
would like to have a class TileSet, with a title
all TileSets are presented in the settings app
ASCII tileset could build tiles from ascii fonts

Original comment by din...@gmail.com on 11 Aug 2009 at 10:55

GoogleCodeExporter commented 8 years ago
r157
You can now choose between absurd, chozo and chozo b in the settings app.

Original comment by din...@gmail.com on 17 Aug 2009 at 8:57