Deda's Forum Posts

  • I made simple sign-up/login system from this tutorial:

    scirra.com/tutorials/525/si ... l-database

    And it works great! Only problem is when I make APK with Intel XDK and try to emulate, black screen appears, and when i try to run it on my smartphone graphic appears but Ajax requests not working.

  • Is kongregate api changed ?

    I just published my game on kongregate. I'm using kongregate plugin to send statistics but scores are not submitting! I already published 3 games on kongregate and for those 3 statistic works fine.

    kongregate.com/games/dedaloodak/rainbow-cube

  • Change the autoplay property value. It won't start automatically.

    Makes sure you are not using the "Play" action in a "On start of layout" event.

    Do read the manual and learn what tools you have at your disposal.

    Don't know what I'm doing wrong then.

    puu.sh/pUswQ/3e437c529c.capx

  • I tried both events and video always starts immediately :/

    Never mind, i found in rex plugin option that disable youtube elements, but still video pauses when i click on it ><

  • Firstly Construct 2 video plugin is useful for small videos, you can try to preload video, instead of autoplay to improve some lag.

    but if you want to show video like your example page, consider uploading it to youtube and embed into construct 2.

    Same with preload :/

    Embed youtoube video is not an option, since i need only video without all those buttons elements, links etc. on it.

  • I followed tutorial on youtube about importing and playing video in construct 2 project. youtube.com/watch

    All 3 formats are in ogv,mp4, and webm but video is laggy as hell, check here: korea.bitballoon.com

    In chrome is hell, but in firefox is bit less.

  • It's probably free hosting automatically inserting tracking scripts/google analytics into every page.

    Yap, it is.

    Just changed host, now it works perfectly.

    Thanks.

  • I have php file on my hosting that echo-ing string "Najblizi je Joakim: 20m",

    when i try to display that string in my app with AJAX(ajax.lastdata) it shows string + some javascript

    Events:

    button on click ===> ajax request url:"http://myurl.com/file.php"

    ajax on completed ===> text1.text = ajax.lastdata

    Result:

    i68.tinypic.com/2ce0r3r.jpg

    How to remove that javascript ?

  • My knowlege of JS is poor and I want to change style of Google Map in this plugin:

    viewtopic.php?t=74837

    I want that my map looks like this :

    snazzymaps.com/style/46029/for-my-game (javascript is on left)

    also, how can i remove marker ?

  • mid(text, index, count)

    Return the count characters starting from index in text.

    Though you have to know after how many characters your third zero starts...

    If you want to do inplace changes to a token-filled string, you might be better off with using an array instead, really.

    Thanks man, just discovered arrays xD

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • bump!

  • Lets say i have string "0:0:0:0:0". How to replace 3rd zero with 1 ?

    edit: ...when some object is clicked

  • Im working on some clicker game for a long time and this is crucial option for that game.

    If its impossible to disable by changing some piece of code, can someone tell me where is temp folder where C2 store files for preview so i can copy and use those files where pause on unfocus is disabled.

  • I have the same question. I've got a multiplayer game, and the HOST does not pause when unfocused... but the PEERS do, regardless of the settings mentioned above. Anyone know how to avoid this? I don't want peers to pause when unfocused. Thanks!

    I have exact same problem.

  • perhaps add an instance variable "old X" and "old Y".

    then check if old X and old Y is equal to self.X and self.Y, those object is not moving

    It will always return positive answer. Problem is to make that delay -.-