kingpirux's Recent Forum Activity

  • 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 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 :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I love vectors so i started to test the SVG performance.

    Using the

    Bounding box updates performance test

    but with real deal testing, since i belive that pure raw cpu utilization is quite useless for a game. Then i added 3 things:

    - 8 movement behaviour

    - solid walls to hit

    - and bound to layout

    The results in 2 phases:

    First, raw draw Sprites

    12815 objects

    raw draw svg

    5529 objects

    The result is a litle bit obvious, sprites double svg in screen quantity. but now i cap the sprites to a same amount of elements and added movement

    using the keyboard i move everything to the top so they collide. And there is an intresting performance test, with the sprites we get 60fps in stand,18-24 in movement and 10-14 fps on collision with the walls.

    in svg we have 35 fps in stand, 22-23 in movement and a weird spread from 8-20 in collision, having issues when drops the 10fps barrier, as you can see they jump the wall :P

    im pretty sure that with time this will be fixed and better. For now i just hope for the momment when we can edit the xml data in runtime to create animations (like rotating objects or editing the xml variables like the color of the vector elements)

    the proyect for testing drive.google.com/open

    Tagged:

  • in my case the problem is with updates. when you update the game, all local storage is cleared :(

  • at the end couldnt do it because i dont have https, but i got the https and then my signalling server couldnt connect, so i just delete the sw and the offline to push a little the update BUT, IT DIDNT WORK because some explorers dont update like that...

    i had to add some lines to the index.html:

    <meta http-equiv="Expires" content="0">

    <meta http-equiv="Last-Modified" content="0">

    <meta http-equiv="Cache-Control" content="no-cache, mustrevalidate">

    <meta http-equiv="Pragma" content="no-cache">

    i dont know if this was the reason of the update working, but, at least it worked for now.

  • I have a web game but there is a big trouble with updating the game, since it loads from the browser cache, i already placed the "on update found" but it never triggers, tryed realoading and waiting a lot, but it doesnt seems to start updating.

    Is there any condition for the game or browser to update it?

    Tagged:

  • To leave a public reply:

    - The Scirra Multiplayer plugin can be used to create this kind of behaviour. Just have 2 apps (or layouts) the difference in a normal multiplayer is that the player don't recive information about the game elements, just the status (is playing-not playing)

    - The air console plugin is powerfull if you want to sell your game in air console, there is a template somewhere that helps you to create the joystick.

    - The server (signalling server) is the hosting for the multiplayer ip directions pointer. Something like

    Player: "where in hell is the other player?"

    Signalling: "right there ->"

    So if you want to make a local multiplayer you are going to need internet to make it work. But if you want it fully local without internet, you need to create a signalling server (to do it with scirra's plugin, you must buy it in the scyrra store) and turn it on in a Node.JS compatible OS in the same network and point the players to the IP of that computer.

  • kingpirux Ví tu perfil y me di cuenta que somos compatriotas, ja! Impresionante tu trabajo, felicitaciones!!

    jajaj muchas gracias :D lo mejor sería seguirlo en otro post o agregame al facebook (emmanuel rubio) y te cuento

kingpirux's avatar

kingpirux

Member since 17 Feb, 2014

Twitter
kingpirux has 2 followers

Connect with kingpirux

Trophy Case

  • 10-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

14/44
How to earn trophies