Lunarovich's Forum Posts

  • Hello. The closest you can get to the image you propose is to use dungeon generators. See this page: http://ondras.github.io/rot.js/manual/#map/dungeon

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry guys and girls. I was virtually away quite a while, using Linux. Therefore, I was unable to use Construct 2, which is very sad Since I've not found any sound replacement for C2, I was forced to revert to Win. So here I am again.

    That said, I will soon look at the Rot.js state of development and will see how and if to improve the C2 plugin.

    nuganx I've just seen your PM's. Will take some time to understand them, since it has been a while since I haven't touched C2 or Rot.js.

  • Hello, I'm developing a plugin based on Dictionary. Can anyone explain me, please, what this code does?

        instanceProto.doForEachTrigger = function (current_event)
        {
            this.runtime.pushCopySol(current_event.solModifiers);
            current_event.retrigger();
            this.runtime.popSol(current_event.solModifiers);
        };
    [/code:2x6kii8w]
    
    I see that inside of cf_looping conditions I have to execute the following code:
    
    [code:2x6kii8w]
    var current_event = this.runtime.getCurrentEventStack().current_event;
    // enter the for loop here
    this.doForEachTrigger(current_event);
    [/code:2x6kii8w]
    
    Thank you!
  • Aphrodite Thanks! That should help quite a bit.

    MarkusR Yeah, I agree, completely.

  • To me, it happens most of the time, and is so annoying! So annoying that I'm considering buying a stand-alone version of C2 in order to be liberated from this nightmarish behavior.

    No, I don't see the C2 app in the task manager. I have to kill Steam in order to relaunch Steam and C2. So annoying when you are developing a plugin.

  • Hello! This issue has been pestering me since one year. The issue appears on different computers that I use (one desktop with Win 7 and one laptop with Win 8).

    Every time that I exit C2 and leave the Steam open, and than want to reenter it, ie. launch again C2, Steam complains with Failed to start game (app is already running).

    This issue is all the more annoying, since I cannot close Steam, since it waits for ever for C2 to shutdown.

    And Since I develop a plugin, it becomes a total nightmare to shutdown Steam via Windows taskbar, 'cause I need to relaunch C2 in order to see the effects of the plugin modification.

  • 'Cause it might be helpful, here is how I use the paster object to implement the light system:

    P.S. If you do not see a complete picture, right click on it and choose view image, or similar (according to the browser you are using).

  • Hello! I'm a developer of the Roguelike plugin and am ready to fix any of its bugs. For now, we do not know if the bug is affecting the canvas or the roguelike plugin. So maybe, R0J0hound could look into matters and fix the bug, if it's existing, or gives a clue how to improve the roguelike plugin. I'm using a canvas plugin for my main project and am also directly interested in making it work flawlessly.

    Anyway, the roguelike plugin internally does not have anything to do with the canvas drawing or any other plugin, for that matter. The point is that it only gives you back a dictionary data structure that you can afterwards use to your liking. All it's other methods are just a manipulation of that dictionary. That said, the roguelike plugin should not be able to affect the workings of any other plugin or the C2 internals, for that matter.

  • Thanks everyone

    As far as I can tell, there is no corridor width control in Rot.js. I'm missing terribly this feature also I shall write to Ondrej, a Rot.js author, to see if there is one that somehow I did not see, and if not, if he is planning to add this feature... ('Cause Roguelike plugin is basically an interface to an excellent Rot.js library...)

    Stay tuned and file bug reports, if any

  • Proxymity, thanks man! Glad I can help

    If you find any bugs or have any comments or request, please, do not hesitate to write here.

  • rexrainbow, You're welcome.

    Yes, that is the link.

  • rexrainbow, the plugin that you have mentioned only generates a map and only generates a one type of map. On the other hand, Roguelike plugin allows you to

    1) generate different types of maps,

    2) to do the FOV and pathfinding calculations (discrete in nature and, thus, different from C2 build in plugins for respective functions)

    3) populate rooms, since it gives you the reference to rooms' coordinates,

    4) place doors, since it gives you reference to doors' coordinates

    I hope you see the difference

  • UnusualCadence Thanks! Glad you like the plugin and find it useful. In what concerns your questions, actually, there is an option build in the library, as explained by this excerpt from lib docs:

    Fourth constructor [of the pathfinding object] option is a configuration object; so far, only one key is supported: topology (values 4/6/8, default 8). A topology of 4 allows only orthagonal movement, 8 allows diagonal movement and 6 supports hexagonal grids.

    I wanted to implement the bare essentials for the roguelike creation first, since I like roguelikes very much. You can expect this feature implemented in about a week (I'm very busy now righting my PhD thesis).

    P.s. A hex topology is supported by the lib, but it demands a whole new plugin layer Maybe at some point in the future...

  • Cool! Thanks

  • Thanks man