pikazho's Recent Forum Activity

  • pikazho

    Just took a look at your code, and the only big problem I see is that you are setting a text object every tick. That causes major trouble on mobile. Instead, only update the text object when the distance changes. Better yet, use a sprite font... although, with only one text object being rarely updated (only when it needs to change) you will probably not see much difference.

    Thank you very much for your time, I changed my code and just update text when needed! it get a little bit better but the lag is still obvious, my phone is LG G4 with Android OS 6.0!

    so I think its just happened because of html limitations and no way to fix it to bee completely smooth on all devices.

  • Try Construct 3

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

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

    On tablet so can't check capx, but guessing you're using bullet for background, try using leap

    Also, I wouldn't call that a platform game, more like an endless flyer.

    Thank you for your answer.

    I don't use bullet behavior, I just change Y position of background in every Tick,

    I replace my scrolling code with lerp function but no difference, by the way, I had tried bullet bahavior and 8-direction for scrolling too!

  • Thank you for your answer.

    I don't use bullet behavior, I just change Y position of background in every Tick,

    I replace my scrolling code with lerp function but no difference, by the way, I had tried bullet bahavior and 8-direction for scrolling too!

  • Hi

    I have made a very simple endless flyer game, but scrolling background has lag on mobile devices,

    my mobile is LG G4

    this is my capx:

    http://shikpoosh24.ir/tmp/p1_4_3_SD.capx

    and this is the exported game in html5 if you want to run on mobile:

    http://shikpoosh24.ir/tmp/test

    thank you for your time

  • just from project properties, set "Full screen in browser" property to "off"

  • UIDs are generated by C2, you can't set the value or create it from a UID, which is just a number.

    yes I cant set uid but I can add sprites in a spacial sequence so c2 will assign my desired uid to it.

    rex_nickname plugin helped me to solve my problem

  • C2 can't create objects from variables. However you can use this plugin to assign a nickname to an object and create an instance from it whenever ou want:

    http://c2rexplugins.weebly.com/rex_nickname.html

    Thank you this plugin does what I want

  • Hi

    I have and array containing 100 UIDs,

    I want to create all 100 objects in one line using their UID and a for loop

    I need something like "System --> Create Object" Action but by passing UID

    is it possible?

  • Thank you my friends, I am new to construct2. it was my mistake, I copied rex_moveto to plugin folder instead of behaviors folder

  • Pathfinding for a Platformer maybe?

    Or do you mean a dash or something like that?

    With this little information nobody can really help you with your problem..

    sorry for incomplete information

    I'm developing card game and I want to move a card for example from left side of table to the right.

    I want to set speed+position and card move to that position.

  • pathfinding, platformer, bullet, custom behavior, lerp or move to plugin... or maybe set position put more details in to your problem. More power!!!!

    I'm developing card game and I want to move a card for example from left side of table to the right.

    I want to set speed+position and card move to that position.

  • It depends on what type of movement you want. You can either use the bullet behavior or the custom movement behavior.

    I'm developing card game and I want to move a card for example from left side of table to the right.

    I want to set speed+position and card move to that position.

pikazho's avatar

pikazho

Member since 16 Oct, 2016

None one is following pikazho yet!

Connect with pikazho

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies