Categories
Game Development

Working on a map generator

MapGenIn the last two weeks I’ve beeen working on a pseudo random map generator for my next game. After discarding a big pack of work, I think I’m finally going the right direction.
The program takes a random, or user defined, seed and from there it start making a map. The map will never exceeds its borders, making it optimal for indoor map generation. From the same seed it will always create the same map, Billions maps will take the same amount of space on hard disk as two or three. This will allow player to replay the maps they like or share them with other players just by sharing sharing the map seed. In a multiplayer experience (which my game will not probably be, but who knows?) it will allow everyone on the same server to play with exactly the same nearly-infinte maps without having to send huge amounts of data over the net.

It’s still basic and I need to add some other stuff like multi-floor generation and odd building shapes. This is lots of work to do, but hey, everything has to start somewhere!
Meanwhile you can play around with it here.

Categories
Game Development PC Nerding

Unity3D 2D Tools

I’ve completed a bunch of tools for drawing sprites from 2D tiled sheets. This is a cheap toolset (roughly 300 lines of code) and I’m sure there are better ones around, but I find it pretty fast to use in my projects and I will probably use it in my smallest 2D projects. This tool supports pixel perfect sprites and dynamic batching from sprites coming from the same spritesheet.

My tools are licensed under BDS-3 Clause and can be used freely for both free and commercial projects.

You can clone it from BitBucket or GitHub

Or you can download it here:
2DTools (4927 downloads )

Look next page for old versions:

Categories
PC Nerding Personal Life

Paper waste

After months of inactivity i suddenly triple post on the same day! Woohoo!
This time the point is my printer. My parents had two printers and this one came with me when I moved here, but I was using the other one on my Dell. But that wasn’t the important part.
Now I’m configuring this Brother DCP-J315W for my home network, I made a mistake while configuring the wifi setting and the printer decided to print a log on a A4 paper including error type, and the same possible solutions I found on the manual. Why couldn’t it display an error on it’s 3 inch display? A tree is crying for this waste.
Then, when I finally connected it to my router, it printed again a message like “Connection: OK”. Another tree died for nothing…
Bah. I have to delete this day from my calendar.