ezrubiera's Recent Forum Activity

  • I guess u are using platform behaviour. In the behaviour settings, put the setting 'Default Controls' to no.

  • Hi, I am doing a room generator with all its connections. I want to do it in 3D space, so I can have X rooms width, Y rooms height and Z depth, and each room can have 6 possible connections with its neighbour rooms. I made a object called "room" that can store connections information with instance variables. I create X x Y x Z rooms and I save their UIDs in an array, then I run my algorythm and it works fine. Ok, but when I want to start playing, each room is a different layout, so when I load the first layout or whatever, all my "room" instances with its information are lost. Is there anyway to make an array to save object instances instead of only numbers an text? I dont want to use infinite arrays to store all the information and I can't change the layout per room system.

    So, Can I save my object instances between layouts? I know there is the persistent behaviour, but I think it wont work like I want, because it saves it for a specific layout. I want to have my X x Y x Z array with my objects UIDs and access that objects in all layouts.

    Thanks in advance ^^

  • nice nice i thought in a variable like you tell me, but i didnt know how to use it correctly! thank u both of u! :)

  • I want to generate a random number between 0 and 59 but I dont want some numbers like the 3 and 5. There's a way to make exceptions in the generation of the number?

    I mean something like: round(random(0,59)) exceptt -> 3,5

    Thanks.

    PD: I tried to post this 2 times but the forum didnt let me, so if it appears 3 times is for that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the examples I saw, its like a constructor of a class, referring to JS or C++, used to generate more objects of the same type without writing all the parameters that they have. I will investigate, thanks again

  • Thanks a lot to all. I didnt know that its a plugin! I thought my Construct was broken :( I'll try, thanks a lot, really :D

  • But when I want to declarate a function what i have to do? Its like defining an event? I dont find it

    thanks again ^^

  • Thanks!! but... where can i create those functions? I mean the manual is great but I dont find where is declarated the function.

    Thanks again :)

  • I wanna know if it is possible to call functions, or go and play some lines of my code, like C++ or something like that. I want to play my game and in some cases go and read again some lines above. Hope u can help me :)

  • I tried that, but in the position (0,0) it always return the answer, I dont know why.

    Thanks for answering so fast :)

  • Hi,

    I have a XY Array which in the X I save questions and in the Y I save the answers. I generate a Random number to choose the question that it is showed in a text box. I save my Random number in the variable Rnumber, and then I write this:

    Text: set text to (Array.At(Rnumber))

    That is the way to only show the elements that are saved in the X axis, but sometimes it shows me the Y axis, that is the answer. I need some help to only shows the question (X axis).

  • up!

    HELP PLEASE

ezrubiera's avatar

ezrubiera

Member since 25 Nov, 2012

None one is following ezrubiera yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual

Progress

12/44
How to earn trophies