[PLUGIN] Roguelike plugin - C2 rot.js interface

Post your work in progress addons and get feedback

Post » Sun Oct 26, 2014 7:56 pm

Yes and no, because someone still needs to translate .js into a C2 plugin, which is not that easy. So all congrats are well deserved :D
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Mon Oct 27, 2014 6:09 am

Thanks for sharing! :D
B
159
S
27
G
17
Posts: 916
Reputation: 32,664

Post » Mon Oct 27, 2014 10:48 am

Great!
B
45
S
11
G
4
Posts: 517
Reputation: 7,398

Post » Mon Oct 27, 2014 12:57 pm

Thanks! I've just uploaded the near beta release. You can now loop through rooms and get room edges and center... Very useful for object placement...
B
6
S
2
Posts: 64
Reputation: 576

Post » Mon Oct 27, 2014 10:09 pm

and it gets better with every update :)
Is there a way to set "number of rooms to create" and "size of the corridors" (currently all corridors have size equal to one tile)?
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Mon Oct 27, 2014 10:26 pm

:)

If you choose a DungeonDigger map generator type, you can input max/min values for room width & height as well as for corridor length. There is no direct way to control the number of rooms. However, choosing a map size and room dimensions will give you roughly what you want...

Image
B
6
S
2
Posts: 64
Reputation: 576

Post » Mon Oct 27, 2014 10:40 pm

If i understand correctly "Corridor length min/max" will let me set "how long" corridors can be.
01.png


I was thinking about "width" not the length, to make some corridors wider and some thinner :)
02.png
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Tue Oct 28, 2014 1:01 am

It would be just great to have a feature to determine a corridor width. I'm having in mind a game project that needs exactly that functionality. However, this is not supported by rot.js, at least not yet. I'm thinking about writing to author asking him to implement this feature.

On the other hand, I am thinking actively about some workaround. I don't dare to change the library itself, since it could easily break something...

For now, I am reflecting on a manner to implement a door functionality. It exists in rot.js: every room has info about its doors (coordinates of associated doors). I still haven't found a satisfactory way to translate it into the plugin. But I'm on my way :)

When I do this, I'll consider the plugin done and will ask for it to be transfered to the other part of the forum :)
B
6
S
2
Posts: 64
Reputation: 576

Post » Wed Oct 29, 2014 8:00 am

@Lunarovich

A superb plugin! Great, great addition to the plugin list, thanks for sharing!


It would be great that you include some kind of license with the plugin; both for the rot.js library and your plugin... (to keep rot.js licensing satisfied; as i see, there's no licensing info for rot.js in your plugin)

I took the liberty and created an example license.txt for you that would cover all licensing issues; do what you like with it!
Be nice until it's time to not be nice
B
36
S
10
G
9
Posts: 293
Reputation: 6,712

Post » Thu Oct 30, 2014 9:32 am

i love you, rot.js is a great plugin combined with Construct 2
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 117
Reputation: 2,909

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests