Showing posts with label One-off project. Show all posts
Showing posts with label One-off project. Show all posts

Sunday, 10 April 2016

Procedural Pokedex

Seeded Pseudorandom Pokedex


I believe I mentioned this project some weeks ago and a recent foray into Cascading Style Sheets seemed like a good time to pretty this project up in order to post it. I have mixed feelings about using CSS to do styling. Sure it is going to work correctly on more browsers and is probably more efficient but I enjoy doing everything with JavaScript; that way I can pretend to be coding a native executable instead of a web app :P

Thursday, 19 November 2015

Seeded Map Generation

Seeded Map Generation









Been messing around with various hobby projects. The latest one, a Seeded Map Generator, I'm overjoyed to have implemented. There are a whole wealth of ideas I want to try out with this :D
One sentence summary: I can use this code to produce nice looking random maps of varying levels of detail with each map produced being connected to a fixed seed value, if you know the seed you can recreate the entire map!

A quick explanation of the techniques involved and an interactive demo are below the fold...

Thursday, 8 October 2015

Prototype Character Generator

Character Generator Been chatting to a friend of mine about procedural content generation in games, got to talking about creating characters in such a manner for Dungeons and Dragons. The idea would be to play the role of the leader of an adventuring guild sending parties of random adventurers into similarly random dungeons :)

I do so enjoy creating procedural programs so I said I'd be happy to help out. We'll probably explore this idea in a pen and paper format but I went and coded a prototype of a browser-based character generator. The results are very simplistic but its oddly compelling to see what the program will produce.

If you come across an amusing combination do let me know!

DnD Character Generator (prototype)


Friday, 11 September 2015

Javascript Image Editor

Javascript Image Editor This is a natural continuation of that code for a text editor running in Javascript. I switched the save, load code to expect images and have now got a proof-of-concept image editor running! Like the last experiment use the buttons to open an image file and then save it. The mouse can be used to crudely paint onto the image :P

Javascript Image Editor

Image :

HTML5 canvas goes here

Save As :

Wednesday, 29 January 2014

Tetris

I wanted to try making a really simple game over the holidays and tetris fit the bill.

Wednesday, 27 March 2013

Roguelike

Sunday, 7 October 2012

More fooling around with Javascript