Description

Room Dog

Room Dog allows you to paste rooms inside of other rooms. The possibilities are endless!

Have a character run to the right and paste random rooms in front of them. Endless runner!

Make a bunch of rooms with doors on each side and randomly paste them in a grid. Now you have a roguelike! Better yet, use the pattern from a maze generator and paste in rooms for each cell!

Layer rooms on top of other rooms.... think about it..!!

Has support for tiles and object attributes such as scale and rotation (not creation events)

INSTRUCTIONS

Included in the asset are two example rooms showing how you might utilize room dog to create normal or randomized levels by combining rooms. The basic steps are these:

[1]. At the start of the game, create the RoomChunkManager object.

[2]. In the Create event for RoomChunkManager, plug in the rooms that you want to copy for later pasting.

roomChunks = ds_queue_create();

ds_queue_enqueue(roomChunks,[YOUR ROOM HERE]);

ds_queue_enqueue(roomChunks,[ANOTHER ROOM]);

ds_queue_enqueue(roomChunks,[ETC ETC AS MANY AS YOU WANT]);

[3]. When you want to paste a room, use the function roomdog_paste_room()

arg0 is either the room index (the resource name) or the filename stored in the ds_list RoomChunkManager.fileChunks

arg 1 is the x position of the left side of the copied room

arg 2 is the y is the y position of the top side of the copied room

optional arg 3 is the xscale (-1 or 1 works best)

optional arg 4 is the yscale (-1 or 1 works best)

[4]. If you need to know the width or height of a copied room when you are not inside of it, use the function roomdog_get_room_width() or roomdog_get_room_height()

More info

End User Licence Agreement (EULA).

Version 1.1.5. Published September 6, 2014

Created with GameMaker: Studio v1.99.182

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Mark C 18 April 2017


Gravatar

Nasir G 01 May 2017

This might be good for random structures?\ Cut

So im doing a game for ref. its like starbound and it needs random structures and this takes the cake.

But the code seems to be off track for me only if there was some documentation to it.

But other than that i must admit this code i think will save me for random structure generation.

/CUT THAT OUT

Ummm i am getting some strange issues with this but other than that if these get fixed my judgement will change.


Gravatar

Anonymous 13 August 2015

OMG Just what I needed

Great for my endless jumper "stitching" my rooms together. And it's FREE!
Thanks!!!


Gravatar

Waldemar R 03 March 2015

this software opens eyes and the mind

It is amazing piece of software from which a programmer can learn a lot. Impressive and inspiring.

Thank You.


Gravatar

Piyush D 11 September 2014

Works.

Works just as it says!
However it would be nice to have it converted to ds_list for cross platform like I have done in my project.

Package contents

Loading, please wait

What is the issue?

Back to Top