Domse65's Forum Posts

  • Domse65

    Got it!

    This might not be the best way, but it's the best I have at this moment:

    Create a second Array(Array2) to store the X location on your original Array where the value 1 might be found.

    Then set value at Array2.At(floor(random(0, Array2.Width))) to 2.

    Here is a capx to help:

    https://www.dropbox.com/s/8x9qi6acmomaj ... .capx?dl=0

    Could you do an example with a two dimensional array? Because I need it for a two dimensional array

  • Domse65

    To be clear, your array has only 2 values? If so, an easy way is to use choose():

    set at value at choose(0,1) to 2

    Or you have several values of 0 and 1 and you only want to choose a random 1 value and turn it into 2?

    I have several values of 0 and 1 and I only want to choose a random 1 value and turn it into 2

  • So i have and array that is made of 0 and 1, and I want to pick one random 1 value and turn it into 2. So how do you do that?

  • Hey would you be interested to do a game collab with me? I would od the coding and you would do the pxiel art

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you only do paid work?

  • I'm doing a 2d sidescroller fighting game and I'm wondering how to do attack variations on the same key. I have 3 animations and I'm not sure how to link them

  • How do I make a procedural platformer with premade rooms? Does anybody knows any tutorials or has examples?

  • What do you mean by performance settings? The resolution is easy to change. I just forgot about it, but I think changing the layout size matters here. And I recorded games in Construct 2 with Bandicam and OBS. It works fine for me, so it's a bug from the recording software side.

    I don't need to change the layout size just resolution while in fullscreen , but that isn't the biggest problem. How did you record it? For me it works only in monitor capture

  • I know how to export to desktop with the nw.js but I want to try to sell my game and at the moment the gameplay is all good but the options for resoliution, performace are not there. You can just go fullscreen, windowed and change window size and it's not enough for a normal game, and you can't even record it with any software. So maybe someone knows some better alternatives?

  • Hi Domse65,

    I'm working on a Dungeon crawler/Roguelike game too, so I thought maybe we can help each other on games mechanics.

    What do you think about it?

    Yeah we could

  • I love pixel art, but what you've made is too simple.

    I hope the screen will not be so empty, yep?

    Yeah it's very early in development

  • Hey there - looking good. Is this a paid offering?

    Sorry but no

  • Nice! Does the downwards-ness of the levels play into the game mechanics at all? Or pure aesthetic?

    Yeah, the more you go down the dungeon the harder it gets

  • Looks like a good start! As someone working on a world generation project at the moment I'd love to learn more about how you went about doing yours?

    Also personal taste thing here, try a closer in camera.

    I always like my roguelikes to be close up so I'm more on edge about whats coming up.

    I did mine without arrays , just with a room object what has 4 image points( Up, Down, Left Right). Every room on created creates another room on random image points, it does that until there is 30 rooms verticaly

  • So I'm making a roguelike dungeon crawler, I got the generation done, working on enemies, attacking, classes, items, XP.

    I'm looking for a pixel artist to do the art and animation for the game so If you are interested write something in the comments

    Pics

    Generation