piranha305's Recent Forum Activity

  • Okay I will look at this today and see what's up

  • Which expression were you calling.

  • Published Update 1.3, update include FOV actions, Islands Detection, And Multiple Wall/Floor Tiles in Generation.

    Example projects :

    FOV Exmaple

    https://github.com/armandoalonso/C3Plugins/blob/master/addons/examples/rotjs_fov_test.c3p

    Island Example

    https://github.com/armandoalonso/C3Plugins/blob/master/addons/examples/rotjs_islandtest.c3p

    Tile Example

    https://github.com/armandoalonso/C3Plugins/blob/master/addons/examples/rotjs_tile_test.c3p

  • Yes this specific plugin is only available with the C3 runtime. I think there was another plugin that used rot.js for the c2 runtime.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Javascript

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • https://www.construct.net/en/make-games/addons/189/rot

    This addon is an implementation of the ROT.js library ondras.github.io/rot.js/hp

    This library has alot of features that assist with the creation of rogue-like games.

    CURRENT FEATURES

    • Rng Expressions
    • All Maze Generation
    • Cellular Automata
    • Dungeon Generation
    • FOV
    • Island Detection/Iteration
    • Multiple Tiles for Wall/Floors

    ROADMAP

    • Pathfining
    • Event Queue & Scheduler (needs a bit research)
    • Noise
    • String Generation (Markov process)

    I have tried to take into account several ways, to deal with the generated maps, and have exposed different ways to interact with the map, currently all the generation action require a tilemap object, and the map is generated using the 0, 1 tileIndex of the tilemap (0 == floor tile, 1 == wall tile)

    **UPDATE: now there are Add floor/wall tiles actions that let's you specify multiple tiles that will be chosen at random from the list of weighted values you pass.

    In the future i might add the same generation actions without the need for a tilemap, and have them just expose the data structure, which would require the user to populate the map using event. as of now this can be accomplished but there is the extra overhead of the population of the tilemap.

    The included example project, is the project i used to test everything was working as expected, it has some comments, but every single expression,action,condition is used, and demonstrates some basic usage, and logs everything to the console.

    Also i have test this plugin pretty well, but if you stumble on to a bug or some unexpected behavior let me know and i'll check it out.

    ** UPDATE : added FOV action

    ** UPDATE : added Island Detection/Iteration, Island detection actions, let you iterate over isolated section, useful as a room replace to cellular automata.

  • Would it be possible, to add a reload shortcut on the desktop version of c3 like a shortcut hit f5 and have NWJS reload the C3 app, this would help speed up the dev process a bit on desktop ver, i know it's not a preview reload but it beats having to reopen the whole app every timr

  • If you are using the Array.json file, you will need an AJAX object to request that file, then use the AJAX objects LastData Property to Load the Array using the Array.Load Action

    here is an exmaple:

  • That really great! Thanks, man you guys are fast. I will start working on the plugin I had in mind, and then test it with the next beta release.

  • This works really well, thanks for the quick implementation of this stuff! could the next plugin you look at when you have time be the Tile Map plugin? i know that's a big plugin, but maybe add it to the backlog, things like being able to set cells and get cells also get width/height and alter the tile state, would be useful. this would be pretty neat for procedural generation of tile maps where the plugin can hold the data structure and then apply it to the tile map without having to do it through the event system.

piranha305's avatar

piranha305

Early Adopter

Member since 26 Apr, 2016

Twitter
piranha305 has 37 followers

Connect with piranha305

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x12
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x13
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x4
    Lightning Draw First person to up-vote a new Construct 3 release
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies