Allardje's Recent Forum Activity

  • Hi all!

    I finally got it together to get my preview signing me in to Google Play Services.

    Now i just don't know how to actually show a leaderboard ( or this is disabled in Preview Mode ).

    I actually have the, on start of layout > sign in.

    No worries there. I created a leaderboard in Google Play etc.

    Yet i miss the option to actually show it i guess?

    I can use:

    On touched LeaderBoard > Request public hi-score.

    And than you have:

    On hi-score request complete > ** Show scoreboard?? ** < Thats the one i'm missing.

    I can request the scores, i can trigger a action once the request is complete but how do i actually show the leaderboard itself?

    Thanks in advance!

  • alvarop Which one? Is it the payed one? Phonegap Admob?

  • Oh buy i'm so freaking happy i found this! Trying it out right now, yet i do have a question, is there anyway banner ads can be added?

    Thanks in advance. If this works your the man!

  • makotto

    Thanks! That worked like a charm !

    Everyone thanks for the help and awnsers. I got my problem fixed once again

  • I really don't get it working even not with your Capx !

    Pure the fact that my X seconds are always the same.

    I don't need to change the time but the animation frame at random without getting the same.

    I did try to change your capx but it would not work !

  • Yep, that's what i thought but somehow i can't do the math since it changes the number every X seconds.

    I can use 2 variables and both set them to random (0,8).

    Than check if one of the 2 is different and set the frame to one of them.

    Now, the problem is the X seconds.. Once it is the same i can do the same action over and over again till it got it's different number but i don't know how to do that action over and over again without using the X seconds..

  • Hi all!

    I have a question..

    I want to use random(*,*) to set a animation every x to a random frame.

    Though i never want to be the frames the same.

    So what i do now as example:

    Every X seconds -> Set Sprite.AnimationFrame TO random(0,8)

    This way it changes the frame every second to a random frame ( 0 to 8 ).

    Then again, it is possible that it takes frame 2 and after that second frame 2 again since it's random.

    Long story short, i want to use random but i never want it to take the same number after each other.

    This is ok:

    1-4-2-5-2-8-0-1-5-6-2

    This is not:

    1-1-4-2-5-7-0-2-5-5-6

    Thanks in advance!

  • Hi all!

    I am creating a game where i use big yet huge numbers.

    Even to billions. Ofcourse i can't display: 10.000.000.000.000..

    Well.. It's possible but i don't want to.

    Is there any way i can display:

    1.000 as 1K

    50.000 as 50K

    1.000.000 as 1M

    1.000.000.000 as 1B etc?

    That also raises my question, is there in construct 2 a limit for the amount of numbers in a global variable and webstorages?

    Thanks in advance!

  • As for the "crab killing" you should do what BrunoPalermo said. Just destroy it once out of the layout.

    ( Crab = Outside of Layout > Destroy ).

    As for the points, if i get it right, you just should set a Sine behaviour on the points image or text.

    Set Sine to Opacity and play around with it a little.

  • Hi Yall,

    Thanks for the awnsers.

    I will take a look into the long story.

    As you say, i indeed not taking the whole wardrobe..

    So this makes my question more obvious.. Since memory usage going up once i insert a sprite. Even when i'm not placing it in game the memory usage rises.

    So this makes my question complete:

    "Does memory usage slow down the game EVEN if you don't add all the sprites in-game at once."

    I could have a character which can only run left and right, yet with 100 animation frames that are not used. Yet my memory usage will be 100MB.

    Does this impact my game itself?

    Ofcourse i can try it out but my PC runs it smooth as always, yet i can only test on a Note 2 which is pretty smooth also..

  • Hi Je Fawk,

    Thanks for your reply.

    Yes i am always thinking in the memory save way but non-the-less some things can't be changed.. I have one sprite with all other clothes as animation frames ( complete suits, no lose parts ).

    Yet i indeed only look at the counter on the status bar.

    I guess this isn't probably precisely what it will be once exported etc..

    Yet i want to add more than 20-30 different sprites ( frames ) which takes 0.8 mb each what will result in about 20MB..

    I'm just not sure how seriously i should take that memory usage in the bottom status bar..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all!

    I'm working on a fun game. It's big and advanced..

    Now.. i always take a look at the memory usage with every step i do.

    Yet i want to create a character "wardrobe" where you can "tune" your character with some fun suits and stuff..

    As you can image, every single piece of clothes ( sprite ) i put in my memory limit extends.

    Every single suit(sprite) i put in takes up 0.8MB memory limit each..

    Is there any way i can keep my Memory Limit low but my sprites high !?

    Thanks in advance!

Allardje's avatar

Allardje

Member since 25 Jun, 2013

None one is following Allardje yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies