Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


Buggy scrolling

Posted by (twitter: @atkinssj)
August 30th, 2009 11:42 am

Well, this is getting odd:

Beyond the edge of the world, there are... odd floating blocks that shouldn't exist.

Beyond the edge of the world, there are... odd floating blocks that shouldn't exist.

I’m currently sorting-out level scrolling. But due to something odd and inexplicable, when you go beyond the level you get odd floating blocks. And invisible ones like the one I’m standing on. No idea why at all, but hopefully it should soon be sorted – I’m going to try changing the level format to a vector of arrays rather than a 2D array, and add new columns to the end of the level as needed.

Ah, just looked it up and apparently vectors of arrays shouldn’t work, so there goes that. Actually, I could use a struct… Yeah, sorted I think.

I’ve added dinosaurs, finally! Well, a dinosaur.

DINOSAUR!!!!

DINOSAUR!!!!

The dinosaur sits there until a rock drops on its head, then it dies – flipping and sliding down the screen. Stylish. Unfortunately, that’s all it does.

While I’m mentioning flipping images, I might as well also mention the terrible memory leak I had. I was flipping the images dynamically, which created countless identical images that were never deleted. Ew. Sorted now though, phew!

I really, really should have set-up a framework before the weekend, it would have made all this much easier…

Currently have 16 hours, 20 minutes left of my 48 hours. Though a lot of that will be sleeping. Better get up early tomorrow then!

Tags: ,

Leave a Reply

You must be logged in to post a comment.


All posts, images, and comments are owned by their creators.

[fcache: storing page]