LunarCrisis

LD10

assert(blog_works());

Only around 24 hours to go before the warm-up, so now is a good time to know that the blog works.

Everyone ready?

I hope the theme is moon mice.

Mid-day-1

I’m not sure how this happened, but we seem to have managed to democratically voted in a theme which is unanimously hated. Last night, after about an hour of developing and throwing away bad ideas (too much content, dead boring, and lame, respectively) I finally came up with what I’m now going with.

I came to this idea through a roudabout manner, but what it really boils down to is asteroids. One difference, though, is that the asteroids have behaviour. Instead of simply coming apart when hit, the asteroids react in a (surprising!) manner. Some retaliate, some just act silly, and some in turn shoot at the other asteroids. You don’t know which is which until you try shooting at them, so you’ve got to be careful!

Of course, now for the long part, implementation. So far I’ve progressed to the point where I can move around and shoot:

Shooting at. . . nothing

I hope I’ll have time to finish, I’m going out for dinner tonight and tomorrow my family is eating out to celebrate my birthday (which, strangely enough, is today).

Black Box

So, I’ve got something to submit (finally)! Not as polished as I’d like, but it’s pretty fun. It’s similar to asteroids, except instead of falling apart helplessly the asteroids fight back. Give it a try! WASD to move, IJKL to shoot.

Source (Install mzscheme and run it with “mzscheme -u black-box.ss”. libSDL, libSDL_image, and libSDL_mixer are required.)

Windows Binary (All libraries included.)

2008-02-25-044057_1024x768_scrot.png2008-02-25-044134_1024x768_scrot.png

Tags: final, scheme

Comments

25. Feb 2008 · 16:29 UTC
Pretty nice

the controls reminds me of grid/geometry wars

Good job
Joshua Ewulo
28. Feb 2008 · 15:40 UTC
Dude,
cppjavaperl
13. Aug 2008 · 20:30 UTC
I *really* enjoy this game. One thing I noticed, however. I had to nice the game up to -20 on Linux to make it playable. Under normal priority it was hesitating so badly I couldn’t play it.

LD11

little-lib

little-lib is a library for quickly writing small games or OpenGL applications in mzscheme (v372). It relies on OpenGL, SDL, SDL_image, and SDL_mixer to process graphics output, key and mouse input, and playing sound effects. A sample program (demo.ss) illustrates the use of little-lib in these three respects.

little-lib is released under the MIT license. I plan to use this library for my Ludum Dare 11 entry.

Download the source code.

Tags: scheme

Motivation, GO!

motivator6186408.jpg

Tags: motivation

Breakfast

Okay, it’s a little late, but I was up late last night!

breakfast1.jpg

Yummy scrambled eggs, served on toast with garlic butter, with plentiful amounts of purple goop (blueberry and banana smoothie!).

Tags: foodphoto

Re: Distractions Deluxe

My solution:

So the problem is to figure out the direction a player (moving in 3-d) has to shoot to hit an enemy (also moving in 3-d) given their positions, velocities, and the speed of the bullet.

The approach I used was to solve the equation

time it takes the enemy to reach a position = time it takes the bullet to reach the position

for the time.

First, redefine the vectors so that they are all relative to the player. This
leaves you with only bullet speed, enemy velocity, and enemy position. The
points in question are the points along the enemy’s trajectory, so express the
above equation in terms of t:

b1.png

This can be solved with the quadratic equation:

b21.png

Note that there may be zero, one, or two solutions. Negative solutions reflect hits in the past. If there are no positive solutions it is not possible for the player to hit the enemy.

Once you have t, it is simple to calculate the position.

Edit: forgot the exponent on the bottom of the final answer.

Tags: aiming, algorithms, bullets, distractions, math

Comments

DrPetter
19. Apr 2008 · 19:19 UTC
Looks great… in all its gritty mathyness. I might inspect it in the morning, but that hour of equation-wielding on irc bled me dry for the day so I will just take your word for it until then 😉

Day 1 Dinner

Dinner with my family is fried rice!

dinner.jpg

It’s actually much better than it looks. There turned out not quite to be enough for everyone, so I guess I’ll have a large snack later on.

Tags: foodphoto

Progress: First Screenshot!

After laziness and distraction, I’ve finally got enough of the game coded for a screenshot:

1.png

Right now it’s just some nodes pushing around signals when you click on them. Eventually I’m going to add nodes which take different actions  when hit with signals, and build some puzzle elements. Tonight, I’d like to get the tech side of things done, so I can focus on design tomorrow.

Tags: screenshot

Sunday’s Breakfast

Well, the family ate all the eggs before I got to them, so I had mini-wheats instead.

breakfast2.jpg

More of the blueberry/banana smoothie as well, and some toast.

I actually ate a couple of hours ago, I just didn’t get around to posting until now =). Only ~8 hours to go, gotta make the most of it!

Tags: foodphoto

Final: Mininode

My final game is Mininode:

final1.png

Download the source, Windows binary, or Linux binary (there was a problem with this last one, it should be fixed).

To execute from source, you need mzscheme with OpenGL support, libSDL, libSDL_image, and libSDL_mixer.  Execute with “mzscheme -u game.ss” from the folder. To execute the Linux binary, you need libSDL, libSDL_image, and libSDL_mixer, but you probably already have these. The Windows binary includes all required libraries.

Tags: final

Timelapse for Mininode

Timelapse!

http://ca.youtube.com/watch?v=2WrnjfxFQ64

Strangely enough, very little of the final levels I shipped with are in there. I stopped recording when I rebooted about half and hour before the deadline, so you can’t see me fooling around with sfxr either =(. You can, however, see all the time I wasted on that math problem on Saturday >:).

Tags: timelapse

LD14

My Very Own Towlr

Had to be done. (actually it’s just a hack =p)

Tags: picture, towlr

Comments

17. Apr 2009 · 22:57 UTC
Argh!!
17. Apr 2009 · 22:58 UTC
Wow, did you actually recompile it? Either way, I’m impressed.
LunarCrisis
17. Apr 2009 · 23:21 UTC
xxd FTW, I just replaced the string in the binary.

Intro. And code.

Well, this is going to be my third Ludum Dare if you count the mini-LD I did. Previously I used Scheme/SDL/OpenGL, but since Lua’s a language I want to get comfortable with for other reasons, so I’m going to be putting it to use this weekend =).

I’ll be starting simple and working with the LÖVE engine. I have a bit of code already set up for miscellaneous things, which includes a small demo. Good luck everyone!

Tags: compo, intro

Sammich 1

The first of many. It may look small, but it makes up for it with lots of cheese.

And yes, it is sitting on top of a stack of encyclopedias, it’s just that kind of food.

Tags: compo, food

Lunch, food.

Well, I have my idea, just gotta do it! Yummy lunch:

Well, it wasn’t awesome, but it was okay. More later!

Tags: compo, food

Workspace, and More Food!

Here’s where I’m working most of the weekend. I’d like to clean it up a bit, but there’s no time for that this weekend =). I’ve got an second monitor I could use with xinerama, but that make the timelapse impossible to follow, so I won’t be. On the left is my afternoon snack, tortilla shell things with sliced chicken and Emmental on top. There’s also a bunch of Sambal Oelek under the chicken, just to make it a little bit more interesting XD.

Tags: compo, deskphoto, food

Progress, End of Saturday

You play on the side of the advancing wall of doom, which is trying to engulf all. The lousy civilization’s set up barriers, though, which the cloud can’t cross! Your job is to destroy these defences so that the cloud can continue its conquest.

Basic mechanics are working, the main things missing are enemies that fight back. Better graphics should be on the way, as well as some sound effects.

Tags: compo, progress, screenshot

Comments

geoff
19. Apr 2009 · 11:52 UTC
It looks like a cool thinger!! I’m guessing it’s a game that’ll be playable at the end of this weekend? Me wanna play it. And If you want I could talk about it in one of my video and put a link to it :)

Extinguish

You play on the side of the advancing wall of doom, which is trying to engulf all. The lousy civilization which is getting in you way has set up barriers, though, in an attempt to hinder the darkness! Your job is to destroy these defences so that the cloud can continue its conquest. (Edit: I posted a bit more info about the process at my blog)

Download:

Tags: compo, final

Timelapse for Extinguish

Assembled out of more than 10k JPEGs, totalling almost 2GB O_O.


http://www.youtube.com/watch?v=r5iXb51buMs

Tags: compo, timelapse

Comments

winferno
22. Apr 2009 · 23:09 UTC
Hey, how did you embed the YouTube video directly on the WP site?
LunarCrisis
23. Apr 2009 · 01:49 UTC
You have to ask an admin to do it for you, since wordpress strips out the tags for anyone else. You have to make sure not to edit the post after they embed it, though, or else it’ll be re-stripped and you have to ask again =)
Cosine
23. Apr 2009 · 19:07 UTC
Nice timelapse. Also, I liked the 11/8 song. 😛