Skip to content

u/dashed

In this archive from Dec 2009 to Mar 2014

3
posts
16
comments
0
media
51
score

Top posts

Top comments

I've been wanting to refresh my C and make something in that language. So, I made a simple tetris clone using SDL 2.0 as a learning experience: https://github.com/Dashed/tetris-sdl-c

It's an interesting experience working at this level compared to something like Unity.

One of my hardest hurdles was going through the API documentation -- especially for SDL 2.0.

Question: Does anyone know how I can create binary distributions of this kind of project for OSX and Windows? It seems that the only realistic option is to port and load it up onto Visual Studio/XCode and build from there.

4 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.