Sventevith's Forum Posts

  • The problem is with sound when I removed all sounds from project games load with out problem with custom loader. Do you know why loading sound stops everything ?

  • I have problem with game loading on IE. On Chrome/Firefox/Opera my game works great. But I have problem on IE.

    When I running game from construct2 with Preview Browser game loads on IE with out problem, but after exporting on server game loading stops on first load screen (with construct2 logo ~ 25 % is loaded ). I see form IE console that c2runetime was downloaded with asset for my custom loading screen and most of m4a files. (I've added mimetypes to sever configuration) so in logs it looks like this:

    URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎

    /media/enemydie10.m4a HTTP GET 200 audio/mp4 8.27 KB 406 ms 2028 344 62 0 0 655

    Some sound files have strange status code:

    URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎

    /media/enemydie6.m4a HTTP GET (Aborted) 0 B 484 ms 2028 437 47 0 0 577

    /media/lightningshoot.m4a HTTP GET 206 audio/mp4 14.70 KB 421 ms 2247 359 31 31 0 421

    /media/visshoot.m4a HTTP GET 0 0 B 437 ms 2247 359 46 32 0 405

    How do you think where is the problem audio files or maybe custom loader problem because c2 doesn't switch to custom loader. ?? Console doesn't show any Error loading stops and custom loader is not showed.

    Edit:

    This is not a problem with custom loader because I've turned it off and game still stuck on stock loading bar. Now ~80 % because withoust custom loader all gfx assets was downloaded. Bar is not red so this is not a problem with lack of assets. It looks like it doesn't change to first layout.

  • How do I export only code (c2runtime.js) without assets ?

    My game is quite big ~100 MB and exporting game to HTML with all assets each time is waste of time.

    Now I am on Beta test phase and I need update mainly code not gfx or sound and enough for me is export only c2runtime.js.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the beast approach to support multiple platforms in one projects.

    I want use TextBox but is is not supported in Ejecta. How to detect platform and invoke proper code for proper platform ? For HTML/Crosswalk i will use textbox but for iOS i need to provide some custom solution.

    Is in Construct 2 any option to conditional include code or plugin depending on platform ? (like preprocesor in C).

  • THX Ashley I see this function in new r175 release

  • Hello

    I am close to finish my first game and my approach was to finish game to work on local env and then adjust to social networks/game portals/mobile.

    My first step will be publish game on my own site and I have to choose something to provide adverts. What is the best solution (revenue and technically) for adv on own website. I've read a lot on this forum about this topic and I am not able to answer to that question. I will use AdSense to display adv on page but I don't know what will be best solution to display adv in game can I use the same solution which are used for mobile (adMob ?) ?

    Regards

    Thanks in advance for help.

  • Is any possibility to export only code without assets ?

    My project is quite big and exporting each time all when only code was change is time consuming.

  • Now, I am able to apply collision polygon to whole animation or all animations. I have a lot of objects and frames and set all collision polygon takes me a lot of time. I've noticed that usually difference between frames is not so big. So possibility to copy collision polygon form one frame to next one will speed up work on this topic and save a lot of time because in 99% it is enough to move only several nodes.

    Ashley Is it possible to see feature like that in near future ?

  • I have problem with Construct 2 when I want add Action or Event add action dialog shows, when I choose action and set parameters I am not able to finish because when i click Done it returns to add action dialog and I can choose action once again and this is infinite loop. It works only when i click Enter from keyboard.

    It happens suddenly I've tried restart computer and I've installed new stable version r173 but problem still exists. Do you have any idea what can be wrong ?

  • THX, it works with timer behavior.

  • I have something like code in attachment.

    I have 3 instances of an object on layout and I want to move (play animation from beginning) particular one in different moment of game.

    After first 15 seconds move instance with ID 1 after 40 move instance with ID 2 and after 70 move instance with ID 3.

    Last condition Animation frame = 0 ensures that animation will be played only once.

    It works first time first object with ID 1 is played after 15 second second after 40 seconds and third after 70.

    But when I go to other layout and then return all events Every 15 second, Every 40 second and Every 70 second are fired at the beginning. What is wrong ?

  • Great. I need exactly this

  • Ashley is any safe possibility to force IE 9-11 to work with set cursor ?

  • What can I do and what should I do ?

    This is system configuration problem or should I detect in code and switch to canvas2d ? I have new drivers i think.

  • I've checked with profiler and results are very strange. When I maximize window (no fullscreen) frame rate drops from ~60 (66 fps) to less then 20 fps but cpu usage is the same ~15%. Other strange thing is that when I have window on 80 % of my screen size speed is good ~50 fps so resize to maximum drops frame rate dramatically. Other thing is that even frame rate is not stable and even when cpu usage is stable.

    Edit:

    I've found problem -> webgl. On canvas2d everything is smoothly.