kingpirux's Recent Forum Activity

  • i wasn't able to make the xml work with namespaces.

    just in case is when you have like

    <element xmlns="this"> something </element>

    i only get null. i don't know if it is a limitation in the construct xml or im missing something

    Tagged:

  • i wasn't able to make the xml work with namespaces.

    just in case is when you have like

    <element xmlns="this"> something </element>

    i only get null. i don't know if it is a limitation in the construct xml or im missing something.

    Tagged:

  • kingpirux

    Please answer my questions when you have time.

    sorry! here is the problem with Worker Mode:

    c8ce3219-71ad-4ae8-b42f-959fa5f72425:176 Uncaught (in promise) TypeError: Cannot read property 'ConnectionProtocol' of undefined

    at new PhotonInstance (c8ce3219-71ad-4ae8-b42f-959fa5f72425:176)

    at Function.New (e5eb945f-1c7f-4398-9091-d672666944d6:9)

    at Instance._CreateSdkInstance (6279c038-61da-4306-8ee6-d813cdb0c977:7)

    at ObjectClass._CreateSingleGlobalInstance (8936e39f-eee4-45f8-9da1-5150836a30c1:12)

    at new ObjectClass (8936e39f-eee4-45f8-9da1-5150836a30c1:7)

    at Function.New (e5eb945f-1c7f-4398-9091-d672666944d6:9)

    at Function.Create (8936e39f-eee4-45f8-9da1-5150836a30c1:7)

    at C3Runtime._LoadDataJson (3d39071a-5453-4fd6-96fc-ef0fea533d9d:28)

    at C3Runtime.Init (3d39071a-5453-4fd6-96fc-ef0fea533d9d:21)

    at async InitRuntime (7b4b556f-2b7b-427f-abe2-4cea28dcc3ae:4)

    this may or may not trigger when the worker mode is used in chrome, for some reason i dont get, firefox doesnt have this problem. But, this is a big problem for android exports.

  • kingpirux

    > I found out that the plugin in Construct3 works as charm but it is incompatible with the worker. If you deactivate worker it goes fine.

    What do you do exactly? What's in your logs? Can you provide a repro project, preferably modified demo from Photon plugin package.

    just used the pool demo of the plugin, if the worker is active in construct3 the game will hang. Also if the first layout tryes to login to photon and there is an error on the photon start, for example no app-id, the entire game may not start, is like if construct stops right there waiting for something...

  • I found out that the plugin in Construct3 works as charm but it is incompatible with the worker. If you deactivate worker it goes fine.

  • im trying to use the bluetooth, i exported the example template but it always says that is not supported, tested on firefox, chrome, pc and phone.

    hecateediciones.com/bluetooth

  • just testing in the last one, intensive collisions and signal that's right.

    i want to make a big tower defense with as many litle enemies as i can so i test how the engine will behave with so many things having orders and colliding.

    what i mean in the last post is that i didnt find any difference to the gpu and cpu use in svg or sprites (at least with this kind of test) and wonder if there is a way to take more juice from the gpu and less from the cpu, i dont know.

  • The console log messages don't indicate a crash, just that it's slow.

    Coming up with good tests is difficult, I'd advise just replacing sprite with SVG Picture in one of the official tests, which is what I did with the quad issue performance test to measure a ~6x improvement. That test is focused on the drawing performance - the bounding box test is mainly about recomputing rotated boxes, which works the same regardless of the object, so will obscure the real results.

    i realized it wasnt tilt, it was playing at 1fps, i think the cause is that i pushed to the left and the fps drop made all objects to get inside the solid object (the black wall) since they were bound to layout and the wall was at the border, so they never came out of it and stuck at 1fps.

    i tryed to measure response and reaction, i mean how long takes the objects to recive the signal, since i had previously problems with joystick-game lag,

    and reaction to actions, to discover the problems, like when objects collide for example, like in this case the svg objects tends to jump walls or get inside unwanted things, making that kind of fps killing bug.

    I think what i did in this is a general gaming benchmark: Controler, Movement, Collisions and Drawing, and their CPU and GPU demand (usefull to find minimal platform requeriments)

    the last test makes me question, is there a way to delegate some cpu work to the gpu? gpu is not getting close to 10% in the worst scenario (even in a smaller gpu, like a bluberry pi 3, i never saw use of its power) svg should be using more or less of it but it is not different to a sprite.

  • Testing with the update, the good part is that in idle mode the svg population IS OVER 9000! it almost doubled the previus test (5500)

    But in motion and action there were not much difference, it still having a mayor drop on FPS when hitting a wall, and if the FPS count goes down, all the svg doesnt stop on solid objects

    so i trayed something harder, an X with line and color, the good thing was that the svg population didn't went down too much, it still over 9k

    BUT

    There was a crash

  • wow!! i want to try that

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • try check the proyect i shared, i used a small svg file and tryed to make it in the same size. i dont know how the calculation for resize works, isn't a vector just a coordinate point and resizing adding the diference? why is souch a big difference in performance?

    i found that the svg file takes some time to load using the action "change image", there should be a "load complete" event for the svg to be ready to show or it will be transparent until that.

  • hmmm crap i edited and graphics dissapeared :(

kingpirux's avatar

kingpirux

Member since 17 Feb, 2014

Twitter
kingpirux has 2 followers

Connect with kingpirux

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies