aashcool07's Forum Posts

  • kidswithcrowns

    Thanks for your reply.

    I have tried with canvas plugin.

    I could not compare which part of the canvas is transparent or which part has filled the color. So Can you Explain to me Briefly when I will touch on the color part of the canvas then the variable value is set 1 else the variable value set 0?

    is it possible for you to show a small example.

    Thank you for your help

  • HI guys,

    I am not sure what I am asking is even possible.

    So am developing one game where am drawing something like a straight line, circle, random zig-zag lines using paster.

    What i want is when user touch is end that zig zag should convert in a sprite or anything like in one object.

    Why i want this?

    Previously i was using sprites to draw zig zag lines.

    But it was creating lot of sprites which might lag the game in a time.

    So i am using paster plugin for it.

    After drawing one line if user try to draw another zig-zag line it should not create until user has created that line from the previous line.

    Below is the example.

    BLUE - first line

    Red - Second line

    So basically second example should not happen.

    User can create second line if he/she is making line from first one.(should happen- first example)

    I am not able to find collision or area of paster to draw a line only like first example.

  • R0J0hound

    Thank you so much for the explanation

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound

    Thanks you so much!

    Just wanted to know.

    when snap instance boolean is true you have defined odd instance to (int((self.Y-16)/28)%2)*16

    16 must be the half of the ball size not able to understand 28 number?

  • Hi R0J0hound,

    Is it possible to get that example.

    As the link is dead.

    Thanks

  • fredriksthlm

    Thanks for replying.

    The thing is if i want to set the score of person who is at number one on leaderboard i use this in set text "InstantGames.LeaderboardScoreAt(0)" for rank number 2 "InstantGames.LeaderboardScoreAt(1)".

    If i want to set text of the connected player who is at rank number 1 or 2.

    What should i put in the action?

    Thanks

  • jagoman

    I was trying to make a nice leaderboard to show friends data also with score.

    Whenever you get time have a look once.

    I searched on forum also no thread about this.

    Thanks again!

  • jagoman

    Hi,

    Your leaderboard file helped a lot.

    There is one thing am confused.

    We are able to get data of leaderboard players name,score,rank and photo using expressions.

    But for the connected players (assuming our friends).I am able to get rank, photo and name. but there is no expression for the score.

    Is there any way to get score of connected players. Or we have to wait for the plugin update?

    Thanks

  • 99Instances2Go

    Yeah i saw that still trying to figure out...understood lil bit trying hard to learn...actually am not from coding background but have to learn this...

    Thanks by the way

  • 99Instances2Go

    Thanks brother sometimes one needs embarrassment to get motivation..thanx a lot for the help...btw you got nice sense of humour

    lamar

    thanks for the reply

  • Hi guys,

    I have started working on a new game although i have been working on construct 2 from a time but am struggling with one thing....am just not able to get the perfect result..

    So here it is...through touch controls i want my player to move left and right...when user touch and move finger from right to left the player should move and get "mirrored" and when user touch move finger from left to right player should move and get "not mirrored"...i have implemented it...but not working that good..

    So whats happening...player is moving fine...but not getting mirrored and not mirrored on time...sometime it does sometimes i have to drag more to make it mirrored....i need to make smooth need result kinda similiar to this game challenge 1

    https:// play .google .com/store/ apps/details?id =com .dotgears .ninjabounce

    Right now touch works in bottom in my game but if i would be able to make it smooth i wanted to implement for full screen touch

    Here is the capx am working on

    https:// dropbox. com/s/ rtdy2dl5e67smri/touch. capx? dl=0

    Sorry had to add space between links not have enough reput

    Thanks

  • anyone on this??

  • Pode

    I just used the plugin and it working gr8 in browser.

    but when i exported and i compiled for mobile through cocoonjs...it just showing black screen in the layout where i have loaded the iframe plugin.

    Does this iframe plugin works with cocoonjs for mobiles?

    Thanks

  • Hi Guys,

    I know its kinda very weird bug..but i have tried lot of things but am not able to figure what exactly the problem is...

    Ok here it is i have made a level based game with 4 levels...after playing 1 and 2 levels (on phone) when i go to 3rd level the animation of enemy die, bazooka explosion, box explosion and some other animations gets faster...faster means the speed of anims increases automatically.... i dont knw i have not done any changes to the eventsheet....and this problem occurs when i spend some time on the game..Like doing levels again and again.

    The problem not occurs on browser version...i get this issue on android phone (tested on 3-4 devices) when i compile it with cocoonjs.

    Here is the apk - dropbox.com/s/ulhbctld6h9wd97/Gorkhali_Battle_gp3.apk?dl=0

    Construct 2 Game File - dropbox.com/s/h0ry7yizowa07bj/gb.capx?dl=0

    Anyone on this can help?

  • LittleStain

    yeah its working fine

    thnx a ton!