henriquesv's Recent Forum Activity

  • Hello guys!

    I am working on a game that is actually pretty simple. The thing here is that it performance is really low! It is possible to play it on Desktop Computers somehow... but it gets ugly on Android or iOS.

    Here is an image of its debug running. Any ideas on how I could improve its performance?

    For this game I have a chronometer (showing minutes and seconds), 16 objects using collision detection, 4 unmovable objects as walls and 4 objects as detection areas / zones.

    Also (maybe it is here) on every tick I count how many of those 16 objects are on each of the detection areas.

    Any ideas? Thanks!

  • HZGaming, thanks! It is working now!

  • Also.. check this one:

    You can save the X and Y of the object into a variable as soon as a touch event happens. When you release it you canset an action to force/impulse towards those coordinates.

  • You can do it just like that!

    You can randomly generate a new number every Tick and store it in a Global variable. You may trigger these actions (calling funcions) or you may use the same Tick trigger (of course doing this way you will probably consume more resources of the system).

    Use Events to compare 1 variable to a number and then Spawn that object. Duplicate this event to proper variable and action.

    Let me know if that helps you out.

    Cheers!

  • Try this instead: Set Physics velocity to ((Touch.X - Object.X) * 10, (Touch.Y - Object.Y) * 10)

    Before, I've tried "Force" and "Impulse".

  • You're welcome! Please wait until the end of the day... =)

    Too much work around here.

  • RenatoB, I have improved it a little bit (to my needs). I will post it here ASAP.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Marquet! Once I was looking for that... couldn't find anything. It would be an excellent upgrade!

    Now I have to use many rectangles to fake a curve. =(

  • Ok Colludium ! Thanks for the help! I'll keep looking for a work-around! =)

  • It was first tested with Firefox. Now it worked with Chrome.

    But now I am testing "Share on Tweeter or Facebook". On both web browsers the Image with a pre-defined message appears and the 2 buttons with a screenshot checkbox. But touching / clicking the buttons won't get me anywhere... =(

    Notice.. I have disabled Popup blockers.

  • Well... this time I could add the game and generate the API key.

    But while trying to post a message at player's facebook wall I am getting the following error:

    Javascript error!

    TypeError: Clay.Facebook is undefined

    http://localhost:50002/Clay_plugin.js, line 891 (col undefined)

    This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

  • Hi! Please, just focus on the Crosswalk comment. I'm trying CocoonJS now. I will post it later my feeling on this.

henriquesv's avatar

henriquesv

Member since 26 Mar, 2014

None one is following henriquesv yet!

Connect with henriquesv

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies