[Mkl]Dream journal and new game idea

Posted by Moikle on Dec. 20, 2011, 10:42 a.m.

Dream journal

Hey guys, this morning I had a weird dream, and 64digits members were in it, so I thought I should post it here :)

So, it started off at some 64digits meetup at some gig, where there was no music playing, but instead we were all doing something with computers. There was Ferret, Juju and JID, as well as some others who I recognise from the several blogs where we posted pictures of ourselves, but I can’t link a username a face. I think Cesque, RC and Sirxemic may have been there.

Later, it turned out we were all ninjas, or batmen or something, so we went off to fight crime together with our parkour and martial arts/swordfighting skills. We got split up in a crowd after we gave a warning to some crime boss who hadn’t really commited any crimes at all, but just acted like a general dick. To escape, I threw a knife at a door to unlock it (wut?) as the police came after us for some reason.

As I went out the door, I woke up in the middle of an exam (I have just finished a 20 hour ICT exam IRL) which I had already finished an hour or 2 before the end. However, some things from that dream had leaked into “realityâ€?. Some of the 64digits members were there. I left the examination room early because the invigilator saw I had finished, however, I appeared to be doing the exam in my workplace, (a delicatessen) and some parts of the dream appeared here as well, including 64digits members as my colleagues, and the knife on the door I had thrown in the other dream. My boss got very angry at the knife, and threatened to fire me.

For some reason, I went outside, which was my friend’s back garden, and I made my way over to a van or tractor or something. Behind it, there was a small, yellow and black wriggly thing (apparently a leech). I turned round, to see that the floor was now covered in leeches.

I ran back inside, while stamping down extra hard to squish the leeches, and as I got in, I was attacked by a swarm of wasps that materialised from thin air. Then I woke up, and the wasps were my pillow, and the leeches were my earphones, which I had been using to listen to vsauce the night before, and had forgotten to put away.

Game idea

Also today, I have thought of an idea for a game which I may actually have some enthusiasm towards creating (something I have been lacking for a while).

It is a platformer, and one special feature is that it can use image files to create it’s levels. This is something I have been wanting to try for a while.

Each pixel on the image represents an object, which will be placed in its relative location when the level is loaded. Each level is made from several different images. One for the objects, with black (#000000) pixels being blocks you can walk on, and other specific colours being other object types like enemies, signposts, light sources, the player, and the goal.

The second image will be used for texturing the level, similar to tilesets. This will also allow for animation, so a level can be animated to include rushing water, smoke, or snow etc.

These will contain more colours, and each colour represents a different tile image.

I will also have images for various different levels of background and foreground.

All of these images, and other variables too (such as background music) will be identified in a text file(which is what the game will load).

This method should allow me to create large levels, quickly, and easier than with game maker’s level designer. It should also allow me to create levels with my graphics tablet, and any image editing program, as well as making it quite easy for others to create custom levels, as long as they make sure to use the correct colour code.

I have already put quite a lot more thoughts and ideas into this than anything I have done recently.

See ya later sexy four digits.

Comments

Moikle 12 years, 10 months ago

ah yeah, I just found that myself :P and I also just set up the message to show the directory. two little exclamation marks and it's fixed.

also, what is the difference between working directory and program directory?

Cesque 12 years, 10 months ago

Quote:
also, what is the difference between working directory and program directory?

Display the location of both and see.

Moikle 12 years, 10 months ago

ah, I see, the temp file, thanks Cesque.

I have never really done anything with external resources in gm before.

okay, I have another problem now.

the sprite exists, but it is not loaded by sprite_add.

http://dl.dropbox.com/u/16274855/imagelevel.zip

if it helps, global.objspr returns -1 in debug

Cesque 12 years, 10 months ago

I'm afraid I have no idea what's wrong. The code appears fine, and preliminary googling indicates it should work :|

What version are you using, anyway? The number of arguments for sprite_add is wrong for me in GM8.0, but that's unrelated.

Moikle 12 years, 10 months ago

gm7.0.

I did have 8.1, but it fucked up, so now I can't use it.

MMOnologueguy 12 years, 10 months ago

I used images to generate code to generate building interiors this one time. If you find a way to get it not to ignore certain colors for no reason that'd be pretty cool.

Moikle 12 years, 10 months ago

Your thing sounds more like problems with compression artifacts.

MMOnologueguy 12 years, 10 months ago

Based it on backgrounds drawn in the GM paint tool thing. Maybe I fucked up the code somewhere.

Moikle 12 years, 10 months ago

that part of mine works perfectly, it is just the sprite_add function that is not working for me.

Moikle 12 years, 10 months ago

hey look :)