ebrar's Forum Posts

  • to be more precise, i mean if it is possible to do that with one single command (like "preload all sounds" in place of "preload x,y,z etc.") without writing them down one by one.

  • hi again,

    is it possible to preload all sounds of game on start of layout?

    or should i define them name by name?

    thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • :D thanks a lot CrudeMilk, works perfect.

  • hi people,

    i looked at this scirra.com/forum/play-random-sound-when-something-happens_topic58889.html topic but i think c2 has changed a bit since that topic was replied. or i am missing something.

    i have 6 sound files, like positive1, positive2, positive3, etc.

    and i am trying this:

    play (by name)"positive & 1+floor(random(6))" but it doesn't work.

    i also tried "positive&choose(1,2,3,4,5,6)" and things like this.

    what am i doing wrong exactly?

    thanks in advance.

  • i can't see exemple.capx because of my C2 version for now (i will check it as soon as i update my C2) but i think my problem is now solved. je te remercie kyatric, and thank you too ramones, for your patience and effort.

    i was desperately trying to set instance variables of non existing objects (i am saying non existing because these objects are being created when game starts, i am using an array to create them on start of layout) but all i have to do is to use these CELLs of course.

    sorry :)

  • i am trying to do this by changing their instance variables but i couldn't find a way to set their instance variables differently according to their positions in the array.

    as you can see in my first post, unfortunately this is my original problem :/

  • thank you ramones. but can this help me to set an event like, "<condition> ---> move player to 53" ? can the system "read" these numbers like me? if yes, how?

    thanks again in advance.

  • maybe i should be more clear to get an answer. i'll try to explain my situation more precisely.

    i need to identify every single sprite instances created by an array. i have a 10, 10, 1 array and this array creates 100 instances. what i need is to identify differently every instance so i can set orders like "when global variable A changes (from y to y+n) move the player from instance(x) to instance(x+n)". or "when player is on instance(z) move it back to instance(w)" etc.

    as you can see i want to use these instances as different "identified" positions in my game.

    how can i do that "numbering" ?

    ps: if this explanation is not clear enough either, please don't hesitate to ask questions. this will help me to explain my problem more explicitly.

  • hi everyone

    i am searching a way for giving different numbers (e.g. 0 to99) to each object instance on a 2D array. i am trying to do this by changing their instance variables but i couldn't find a way to set their instance variables differently according to their positions in the array.

    to sum up my ultimate objective is to number each square on a 2D grid 0-99 so i could use these numbers to make a 1D board game (like monopoly or backgammon) while it look like a 2D board game (like chess or checkers)

    i hope i was clear :/

    thanks in advance.

  • hi everyone

    my name is Ebrar, i'm a law student from Turkey. designing games and stuff.

    see you again

  • more games needed. i thought i grabbed one but even that one's gone (after i accepted the game)

    :(