How Do i Random Generate Something like this

is there a way of random generating an image like this (real time) then load it into the game

like real time change 1 image to be like 100+ dungeons real time once

http://s7.postimg.org/4c8ujfb97/mappy.png

for ex i got this image

dungeon.png (just a blank image)

the code opens it somehow
random generates pixels to what ever they need to be
saves the image
then loads in into the game

(how i load map)
i check the pixels on the image then add blocks to different pixel colours

I found a tutorial on how to create a dungeon:

Short answer: yes, this is very possible.

Longer answer: you have to break this down into smaller steps, then tackle the steps one at a time. Which exact step are you stuck on?

For the actual generation, just google something like “java dungeon generator” or “java maze generator”. I’ve personally used Prim’s algorithm, but there are a bunch of others.

For working with images, that’s going to depend on your exact setup, any frameworks you’re using, etc. Try googling “java read image” or “java modify image” or “java output image” for individual steps.

Good luck!

sounds good thanks for the help