donan's Recent Forum Activity

  • Found a solution just in case anyone have the same problem.

    Created a gulp that converts all my images to base64 and create a json, then injects a function to overwrite the loading of the images of construct and use my json.

    Doing that i just need to upload c2runtime, data, thebase64json and jquery anywhere.

    Now i need to address css or media overwriting and im done

    Only downside is, i cant minimize the runtime, making it very large :/

  • Hi, i have a big problem and i have no idea how to solve it.

    I'm currently working on a company, building small advertising games using construct2. Issue is, they need every single file from the exported files to be loaded from a cdn with randomly generated names... but construct2 uses relative paths for everything. They need me to use the base html for the ad, and everything else loading from the cdn. I tried using the load from url feature, but the base spritesheet still generates an image, and cant do that. Tried exporting to arcade, and then performed a manual change of the spritesheet files urls, but doing that it creates a cors issue.

    Any tips or help?

    Thank you very much -_-

  • Issue is, if i copy the object with the behaviour between scenes, it works. Its a matter of that. Even if i create the object on the fly, i gotta have it hidden in the scene to make it work changing scenes.

  • Defend 6 websites against the internet troll army. Use captchas, anti bots or call a moderator.

    Made this tribute to Tower Defense games 2 years ago for a weekly ludum dare. A week ago decided to polish it a bit and launch it (original version lacks level select or sound).

    It's a hard and fun game. Hope you enjoy it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    http://gamejolt.com/games/troll-defense/89705

  • Pathfinder regenerate obstaclemap issue

    At first the pathfinder works, but when i change to a different level with different walls, the system wont regenerate obstacles map. It worked on previous versions of construct2

    Attach a Capx

    http://www.se32.com/html5games/td/bug.capx

    Description of Capx

    Isolated code of monsters path of my game.

    Steps to Reproduce Bug

    • Start on level 1, press M to see the collisions.
    • Then press 2 to change to level 2 and you will see the mobs wont follow the right path and will still follow the previous layout collision

    Observed Result

    Collisions are fine, but objects wont regenerate the path

    Expected Result

    It should regenerate the path

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    212.2

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Epic work. Congratulations

  • After more than 10 years and 3 different languages, finished this d*** game xD.

    Never been a matter of size or complexity, but more of my free time and letting it pass.

    It's an arcade game with 4 different bosses and an endless mode too.

    Hope you enjoy it

    http://www.gamejolt.com/games/frikimars-hd-arcade-game/87433

    (Gotta try to upload it to Scirra Arcade library too)

  • donan So the new files created works correctly in both?

    So, i guess in the new files you are using the same events conditions for X/Y coordinates, right?

    In the new files are you using families too? If not, can you use Families like the .capx to see if this is the problem?

    Can you post the .capx file on that NormalMap Extended works on both FIrefox/Chrome to see the differences, please?

    Maybe there is also an option on "Project properties" that i marked/add on the examples that when you create a new one they are disabled.

    If none of this things changes i don't know what more can be :S .

    donan Will be great if you can try all that to see in what moment the NormalMap stop working on FireFox to avoid the problem.

    From what i tested it is due to my resolution. Im using 4k at home, and changing it to a smaller resolution works with only a little bit of offset.

  • donan I'm using firefox 39.0 and works correct so i guess maybe is not for firefox, but if works on chrome i not understand. BTW, actually Chrome have the best capabilities of HTML5-WebGL.

    I guess in NW.JS works correct? . Really i don't know, in my case works on everything except Opera Browser but because have the worst Html5-WebGL compatibilities. In the rest works the same.

    The capture is from the Livedemo or from a compilation made with the .capx ? If you can please try the capx or create an entire new proyect with an image with normalmap and try if works.

    I guess tomorrow i will create some .capx to see if is problem of the LayerToCanvas. Without them continue working in case you not use scrollTO. So when i release this live demos/capx will see if there is any change or simply is there something wrong in firefox that i don't know.

    Tried both, live and capx and both give same issue.

    Created a new file using custom normal map, and both seems to show the same, but not the examples

  • I don't know how to invert Y but all the programs i use have the option to invert Y or X before export. Check your program, what you use?

    Also have you tried only this:

    Every tick:

    set effect "NormalMapExtended" Parameter 0 to mouse.x/WindowWidth

    set effect "NormalMapExtended" Parameter 1 to mouse.y/WindowHeight

    Also, have you the last version of Firefox?

    Have you tried this live demo on firefox?:

    https://dl.dropboxusercontent.com/u/659 ... index.html

    The light is down the mouse? Is using the .capx demo provided, so if this live demo work on your firefox i not understand why when you compile not. In the case neither works, check if you have tha last version of firefox.

    But well, maybe in your code have something that modify any parameter that affect to the normalmaps i don't know. But also is weird that in Chrome/Nw.js works and not in Firefox.

    On firefox it doesnt work properly (using 39):

  • Thank you very much

donan's avatar

donan

Member since 12 Jun, 2012

None one is following donan yet!

Connect with donan

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies