Description

implementation of ROT.JS (Roguelike Toolkit) for C3Runtime

Example Files

rotjs.c3p (161 KB)

basic usage of the rot.js plugin

Version History

Version Size Downloads Released
1.2 (Current)
Stable
64 KB 50 Download
1.0
Beta
77 KB 7 Download

Share

Download

1.2 Stable (64 KB)

Info

Statistics

  • Download count 57 total downloads
  • Latest download count 50 downloads of latest version
  • Average download count 2 downloads per day average

Owners

Tags

  • 19 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Would it be possible to assign a room index number when generating a Cellular Automata. I'd like to figure out each little group of cells, are together and ideally how many are in that group.

    • I don't think that's supported by rot.js, but I'll do a bit of research and figure it out should not be 2 hard to implement, you pretty much just want groups of floor cells that are not connected and then you want to assign a room id to them and iterate their cells by roomid and stuff. I'll look into it

      • Thank you piranha! When using the cellular automata it creats nice little patches like spots on a cheetah. I'd like to be able to group those together into a room index or something so that i can manipulate all of them at once. eg: if player is overlapping roomindex = 1.

  • It's "rogue". "Rouge" means "red" :)

  • You dont use variadic parameters do you?

    github.com/Scirra/Construct-3-bugs/issues/2155

    • No i created separate actions, to account for the multiple overloads that rot.js has, That's why you should see some generation actions with Simple or Advanced, the advance action is the same just with extra params. if there is a particular signature your need let me know and i can add it pretty quickly.

  • Nice work! How do I save the generated mazes for use in loading a game later? I hope to see this grow, as it will help me in my current project, for sure!

  • Great! Thank you!