Gez's Recent Forum Activity

  • Thanks for the reply hundereddfold,

    I had a hunt in user plugins and there is one called polygon which shows how to define a collision polygon

    ...

    this.collision_poly = new cr.CollisionPoly

    ...

    I will have a go at creating a new plugin

    Cheers

    Gez

  • Try Construct 3

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

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

    The manual states it possible to load a sprite using "Load image from URL". But can I control that sprite's collision polygon as well? Lets say the sprite image is of a triangle, will the sprite assume a triangle shape, with an appropriate collision polygon? Is is possible to invoke the Collision Polygon editor in runtime? Or even set the the polygon at runtime based on values downloaded from another source, like a socket connection to a server.

    Ideally I would like to load a sprite from a server including data which defines its collision polygon.

    Cheers,

    Gez

  • Hello, Happy new year!

    I used the logcat app as you suggested, here is the log:

    dl.dropbox.com/u/68543810/alogcat.2013-01-02-09-55-59%2B1100.txt

    I don't really understand it but I did notice this:

    ...

    D/CordovaLog(16597): Uncaught TypeError: Property 'nb' of object [object DOMWindow] is not a function

    D/CordovaLog(16597): file:///android_asset/www/c2runtime.js: Line 73 : Uncaught TypeError: Property 'nb' of object [object DOMWindow] is not a function

    ...

    Gerry

  • Hi Ashley,

    I started the game by pressing 'touch to begin' and cpu usage has settled to around 50% (but it fluctuates 30% - 49%).

    When I say that it is consuming memory I mean its actively consuming memory over time, if I leave it for a 10 minutes when I go back to the game I get a black screen, and have to force the app to close before I can use it again. However if I switch to another app and go back immediately, the game starts again i.e. it doesn't suspend, it exits.

    I wish I had another android device to test this on, I have to assume its an issue with my particular hardware/software, otherwise I would expect to see other people reporting the same issue, as it is quite an obvious problem.

    Gerry

  • Hello,

    If I export a game to phonegap and install it on my Samsung S3 running Android 2.3.6, the Android task manager shows that the game is still using cpu and consuming memory.

    I verified this by exporting the Space Blaster game that is included in the examples folder of Construct 2 108.2 64 edition.

    I also tried debug and release builds for Android.

    Cheers,

    Gez

Gez's avatar

Gez

Member since 22 Mar, 2012

None one is following Gez yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies