artbava's Recent Forum Activity

  • Hello,

    Im getting this error "failed to load resource the server responded with a status of 401 (unauthorized)" on intel XDK simulate tab. It happens when a video is supposed to be played. All files are ok (webm, ogv, mp4) and inside the www / media folder.

    I've already used debug tab, and in this scenario the video play just fine. After building it, it shows the same thing that apeared on the simulate tab, stucked in a white screen...

    Any toughts on this?

    Thanks in advance!

    EDITED 12/03/16:

    Just a thought...do i need a cordova plugin for playing video?

  • The image is 1280x720. I just need to use it as a single tiled background (in the sake of saving me some cpu resources). I do not need to repeat it over and over.

    Do you recomend to split it anyway, even if not using tiled background?

    Anyway spliting the image will not work for me as tiled background, there is no pattern to be repeated.

  • I'm trying to improve the performance of my game. I have a single image as a background that cover almost all the scene. First, i decided to place it as a sprite..., then I read in the forums that i could have used tiled background to improve the performance.

    So my question is, would it be better even if there is only a single image (not repetitions of it) to justify the use of tiled background in this case?

  • Sorry to post another time, but just to let you know, the problem was gone when i roll back to C2 v. 239.

    Still don't know why though...

  • Have you solved your issue? I'm facing a similar one, but what was unauthorized was a video (.webm)...

  • Hi,

    My game runs perfectly on C2, but after exporting to intel XDK, it just don't run on the emulator. I've tryed to test it on my Android device and it won't run as well.

    So i've decided to run the debug and it shows this errors:

    Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode ... c2runtime.js:18226 - |let browserInstance = null;|

    Uncaught ReferenceError: cr_createRuntime is not defined ...index.html:78 - |cr_createRuntime("c2canvas"); |

    I have no idea what to do with this. May someone help me, please?

    Thanks in advance!

    ps. using C2 release 240

    UPDATE: Found a closed bug that is just the same issue i'm having...but it is supposed to be fixed...just for reference: https://www.scirra.com/forum/r213-problem-with-minifing-scripts-and-running-in-chrome_t153626

    i'm not using minify script...

  • Hey Triforce,

    Thank you for your reply! In fact the score is supposed to grow from a small size to a bigger size. I also use fade behavior, so it fade in, start to grow and the second after, it fade out... doing so for each point. The fade is ok, the problem is with the sine's size movement (including width and height).

    I still can do this with every tick/seconds-> set size...etc, but i thought that may be i'm missing something with the sprite font object or with the sine behavior...

  • Try Construct 3

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

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

    I'm trying to achieve a growing effect for a sprite font. I'm using sine behavior (size) to make it grow, but it didn't work. All others effects works, but not this. Why? Can you help me please?

    Thanks in advance!

  • 99instances2Go - really thank you for the capx and ideas, i appreciated and learned new things! Your solution, i think, is the most affordable one in my game's scenario.

    DerpyDev - i also appreciated you suggestions, Didn't tried it yet, but i will. Wonder why we can't specify the object to unpin, as we can do with the pin behavior.

    Best regards!

  • HI guys,

    I'm using one sprite (ball shadow) pinned to another (ball itself), and the ball pinned to a backgroung image sprite. What i'm trying to achieve is when the user clicks on the ball, it falls down and roll around.

    The problem is when i use unpin to unpin the ball from the background sprite it also unpin the shadow from the ball... i wish i could unpin the ball from the background sprite, but not the shadow from the ball.

    Is there a way to do that?

    Thanks!

  • Thank you very much! As im not familiarized with IOS, i didn't know about it.

    Regards!

  • Come on guys....i know you have published many games and probably faced this situation as well. May you please help me!

artbava's avatar

artbava

Member since 25 Aug, 2015

None one is following artbava yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies