LD20: Quick Dinner

My fiancé is fantastic.

1.5 hours left.

LD20: Stupid Code…

Here’s a little C++ quiz for you. What’s wrong with this code?

struct Foo { std::vector<Bar> bars; createBar(int x); };

void Foo::createBar(int x) { Bar bar; bars.push_back(bar); someOtherThing[x].pointerToBar = &bars.back(); }

{ createBar(1); createBar(2); createBar(3); }

[On that note, does anyone know a good C++ code renderer for WordPress? I apologize for the formatting.]

What’s . . . → Read More: LD20: Stupid Code…

LD20: Rendering the Plaza and The Highly-Anticipated Lunch

I created a bunch of sprites, but they weren’t being drawn on the screen. I’ll fix that!

I have a background, plus the cobblestone play area that represents the plaza. I thought it would be simple to draw the package recipient on top, but for some reason, he disappeared.

After throwing in some debugging . . . → Read More: LD20: Rendering the Plaza and The Highly-Anticipated Lunch

Follow GBGames on Google Plus and Facebook!

Association of Software Professionals

Twitter: GBGames