yapiiiii's Forum Posts

  • you have to modify manually their speed when object1 is overlapping object2. What do you use to make them move?

  • all is in the manual :

    https://www.scirra.com/manual/188/local-storage

  • It's a bit long but you can use text.find("txt_to_replace") to find the index of the 1st occurence, then use left() and right() to build the new string with the replaced word.

    example : if you want to replace "txt" by "text" in a random string called "string":

    string = left(string , string.find("txt") & "text" & right(string, len(string)-string.find("txt")-3)

  • I think you have to add "or on touching object" on every condition where E is pressed :/

  • i don't think the lack of memory the source of your issue, all recent phones have 2GB of RAM, which is used as graphic memory too.

    What do you use to export your game? cocoonjs, intelXDK...? can you export a capx (i'll understand if you don't want to)?

  • have you already tried the "apply impulse at angle" action? I think it will work

    PS : personal advice : avoid the physic behavior when you can ! I rarely obtain the expected results

  • simply set your sprite position as (touch.X , touch.Y)

  • yes.

    for example :

    local variable : "PreviousValue"

    Array : for each X element :

    if Array.At(Array.CurX , 1) = PreviousValue :

    then Array(Array.CurX , 1) = 0

    Here, I check for every value on Y=1 if the previous value was the same, then I assign 0.

    If i didn't answer to your problem, can you post a capx? it will help a lot in understanding

  • some sources of performances loss :

    • too many sprites : ~30 max per screen.
    • too many collisions check : try to use collisions check only if it is really necessary.
    • complex collision polygons : use "set to bounding box" every time you can.
    • useless events : don't forget the "trigger once while true" condition, which can avoid a lot of iterations of the same event.
    • huge resolution : if you are making a mobile game, it's often not necessary to have a full HD resolution.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you can use the action "delete" in the array to delete an entire row of values.

    I think I don't really understand your problem... What do you mean when you say "double entries" ?

  • I still have the same issue described before :/

  • I've exactly the same issue than fens, and there is obviously an export issue on android: when exported with crosswalk on intel XDK, Multiplayer.Supports_multiplayer returns a positive answer, although there is no communication between 2 android devices.

    PS: android devices manage connecting and login to the room but can't communicate

  • I'm trying to make a multiplayer android game too. It works with crosswalk by exporting using intel XDK, but only with my box (my pc and my phone connected by wifi). When I try playing on 2 phones connected by 3G, it connects, logins to the room, but no communication between the phones works.

  • i don't know. I use Intel XDK and i've never had any problem

  • I think the problem is the exportation on mobile. What do you use to do that?