Ubru's Recent Forum Activity

  • I got an idea :) create new layer and set overlay to it (so only 1 overlay effect at all) and move all object to this layer. It solved my problem.

  • I also tried only spawning that object with one frame and overlay effect alone, and after spawning more objects (7-8 and more) FPS is going down rapidly. So it seems that only overlay effect is draining too much FPS so what can I do if I need it multiple-times in my projects?

  • Hi again sorry for maybe little confusing desription, I am still trying different things and looking for reason of low FPS.

    I created simple new project with few elements and here is it:

    https://drive.google.com/open?id=1rBa2b6jAsPoJPC8FcDwj4mfImjj4kOua

    Play it via Remote preview on mobile and tap X-times (5-7 is enough) every tap on screen will spawn charge object with 30 frame animation (loop) and in container with charge is also another object with one frame and overlay effect. With more these objects on screen my FPS going down (6 object -> 32 FPS, 7 objects -> 28 FPS, 10 objects -> 22 FPS etc).

    What is wrong with it, it is only object with animation and one frame with overlay graphic effect no more. I cannot use overlay effect? Thanks for advice, this time I hope it is more clear.

  • And is there any way to make it working like MoveTo? In C3 runtime I cannot use the Rex´s MoveTo am I right? I need it in my project, thanks for any advice.

    Also I need to make similar thing like Rex´s RotateTo in C3 runtime (rotation with following angle of actual touch position with some speed and acceleration).

    I tried simply (it is without acceleration):

    every tick -> rotate 600*dt degrees toward (Touch.X, touch.Y)

    and this causes massive FPS drop on mobile (down to approx 25 FPS, only this event), how is it possible? How can I recreate in different way RotateTo ? Thank you.

  • And is there any way to make it working like MoveTo? In C3 runtime I cannot use the Rex´s MoveTo am I right? I need it in my project, thanks for any advice.

  • Please can you show me some example? I am not adapt to new behavior. Thank you very much :)

  • How easily can I make similar behavior like plugin Rex´MoveTo? I want to move object to coordinates and when arrived then stop.

    Using C3 runtime, thanks a lot.

  • Somewhere I read about it, so I know using every frame -> recalculate pathfinding for new target (touch.X/touch.Y) is not good idea due to CPU usage.

    So I would like to ask how can I make movement (avoid solid objects) and player will follow position of "is in touch" coordinates?

    Generally similar controls like for ex. in Diablo and other hack/slash RPG.

    Thank you very much for any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Thank you so much :) it is simple and effective, working great even with multiple enemies.

  • Hello I would like to ask for little help, I am not too advance with pathfinding behavior.

    I have some enemies spawning in game and they are running to some object (call them object X) that can be eaten by these enemies. I am using pathfinding and it is ok but when enemy A eats one instance of object X and another enemy B has also that instance of object X like his own target of pathfinding he will run there even when that instance is no longer exists.

    I would like to improve it like when enemies A and B have same instance of object X like target and one of these enemies eat it sooner then enemy B, then enemy B should change target to another existing instance of object X.

    I hope it is enough understandable I am not too experienced in English :)

  • BUMP

    any feedback will be great

Ubru's avatar

Ubru

Member since 29 Jun, 2012

None one is following Ubru yet!

Connect with Ubru

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Quick Draw First 5 people to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies