Skip to content

u/horsepie

In this archive from Mar 2010 to Jun 2020

0
posts
106
comments
0
media
321
score

Top comments

You're going to name it Dead Pixels? That's gold, keep it! 8-bit Zombie Sim sounds horrible and generic, just like many other working titles.

Having that subtitle helps people find it, although if they're already interested they're following your work anyway. Just make a big song and dance for a while about the name change.

Calling it 8-bit is fine, it's meant to represent the graphical style, just ignore the pedants.

41 points

It's good practice to use constants instead of putting "magic numbers" everywhere (or in this case "magic strings"), in case you mistype one of the values and more importantly to give some context to the value.

if (camera.y  > 1024)

is harder to understand at a glance compared to:

if (camera.y > LEVEL_HEIGHT)

and somewhere at the top of the file (or a common file) you can put:

const int LEVEL_HEIGHT = 1024;

which would allow you to change the level dimensions quickly and easily instead of replacing 1024 everywhere (which could accidentally result in modifying a "1024" that represents something else).

22 points

In games, HDR refers to the fact that parts of the game world can now have intensity values that are beyond the range of the display device. The main difference is that HDR photographs are rescaled to fit within the gamut of the device, whereas in games, it's only done dynamically (e.g. when walking outside from a dark room) to emulate the iris.

12 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.