VIKINGS's Recent Forum Activity

  • Thank you, I already have that plugin LittleStain . Although I don't really see what the big difference is between using that one or just importing the file from the projects tab....

  • K, I tried a couple of times, I must be doing something wrong. Could you please make a capx Magistross to show me how it's done?

  • The problem Magistross is that the sliderbar object doesn't have any similar action to "set web font" like the text does. Any way to work around that?

  • Ok, but how do I translate those things into C2 events and actions Magistross ?

    Using event on start of layout, action slider set css style I need to know what to enter there:

  • Hello World,

    How can I resize the sliderbar object using css? What properties do I have to use? I wanna make it bigger so it can be easier to use with touch.

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still waiting for some suggestions/advice on this one....

    LE: Well it looks like crosswalk 14 solves this issue, the lists no longer "lag", yay.

  • Ok, cool thank you very much blackhornet .

  • Ok, that seems to be what I am looking for blackhornet , thank you. I just have 1 more problem and a question with this capx please.

    The problem is I see 3 blank events in your capx, and from what I understand blank events run every tick. Is it possible to modify your capx to not use every tick? Is it absolutely necessary?

    Once that's resolved the question is, so I put all of those events on my main layout event sheet, and then the only event I have to include in all the other event sheets is the last one, on current ended call playnext, right?

  • Add the facebook plugin to your game, then make events:

    Event: On facebook_icon(or whatever sprite you use) touched/clicked

    subevent is logged in action post score

    else log in

    So when he touches the button if the user is already logged in it will post the variable score(or whatever you store your score in), if not it will ask him to log in, and after he logs in he needs to press the button again to submit the score

  • Interesting code blackhornet , but sadly your way doesn't seem to actually be random.

    If I run your capx this is what I get:

    As you can see it just goes 3-1-2-0, 3-1-2-0 on and on. So maybe it randomizes it the first time, but then it just repeats that pattern, it doesn't keep randomizing it...

  • Hello World,

    So let's say my game has 5 tracks(songs). What I want to do is when the game starts pick one of those tracks at random and start playing it at the given volume(this is set in another layout by a slider), then when that track ends I want it to pick another track randomly from the other 4 that are left(so without including the one/ones it has already played) and so on untill it plays them all at which point I want it to repeat the whole thing, pick another track from all 5, etc.

    So how would I do this? I'm guessing I have to use functions? Because if I just put the events in the menu layout(has it's own event sheet) and then a track ends while the player is in the middle of a level(different event sheet) then it wouldn't work without a call function event in every sheet?

    But I have no idea how to do the events, specially for the random part, or how to define the tracks.... I can't give each of them a unique variable like you would do a normal object, I can't put them in a family.... Could I put them in an array? And how exactly would that work?

    As you can see I am pretty confused, please help.

    Thank you.

    P.S. One more question which is not related to the above, but I figured it's not worth creating 2 topics one after the other. I just updated C2 to the latest stable version(206), wasn't it supposed to have an option to lock/cap the framerate? I can't seem to find it....

  • Cool, thank you Ashley . Hopefully by not having to install nwjs I'll get rid of that audio bug I've been having.

VIKINGS's avatar

VIKINGS

Member since 13 Feb, 2014

None one is following VIKINGS yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies