Darklinki's Forum Posts

  • Never push your topic more than 1 time per day.

    For me the export trough node webkit works on my iMac

  • Such a plugin actually doesn?t exist (I think), It would be great if you make one, I think it will be easy ;)

  • spongehammer

    This is cause he know any language like php, java .... There are globals very unsafe. AND BAD !

    Here are a few reasons they you should them don?t use in any language:

    • Source code is easier to understand when the scope is limited to the used elements (Also in C2)
    • A global variable can be get or set anytime (Makes them unsafe)
    • You can easily forget to reset globals, this causes often to problems that are hard to find

    Here are a few why you shouldn?t use them in Javascript(Construct):

    • They are slower to access in Javascript than locals because Construct/Javascript needs to check every scope
    • They are often not declared near the point of use(hard to read code)
    • IE automatically defines a bunch of global variables this could cause problems
    • They persist for the life of the script
  • This is a newbie question, please read the wiki or search the board.

    The difference is outside of functions and so you can create events inside of events you just can create conditions.

    I try to explain it short:

    Events getting fired as soon as a condition is true and they normaly just get fired once while the condition is true.

    Events images including mostly a little green arrow and their names starting with "On ...."

    If it would be possible to create an event in a function it would never work cause no player could press a key in the same tick like your function get called.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Take the google drive sdk and make your own plugin for that. Should be no big problem ;) It�s the same if you make a plugin for construct 2 and use jQuerry or any different framework.

    Already looked into the google drive sdk, looks pretty easy.

  • You don�t have multiple arrays, you will have an multidemsional array.

    Means you haven 1 Array with multiple arrays for every family. Every family will have some arrays included with the values

  • I don't really understand your question but if you work with JSON data you can also work with Hash.

    The only differences are:

    • It?s easier to work with
    • You can use a alphanumeric index
    • You don?t need to initialize something

    Hash

    If I understand your question:

    size:[Fam, 4, 5]

  • The Fabulous Manual: Variables

    I think this is really what you need, cause you see local variables only in their scope ;)

  • Can�t see any problems ? I develop at home only on ubuntu(13) and haven�t since many releases any problem.

  • I could make an Tutorial in 2 days, If you don?t find a solution until there I will make it.

    Made this already for an spiderman like game

  • Yeah if you have problems like that use local variables instead of globals ...

  • Guero you shouldn?t just give c2 an String.

    You should better use Arrays.

    but ok for deleting just make an new php file with 1 command:

    mysql truncate table

  • LOl

    Edit: Sry you already found a way for that.

  • You want something like this than use this

    If you can�t find an Funtion you need, you should look every time in the Plugin list

  • For IOS you need to use their in app payment or ?

    For your problem, NEVER use webstorage for in app purchases.

    This will cause many angry customers, cause user could deinstall the app or reset the cache or even hard reset their phone. And this will also let them loose all their purchases.

    The best solution (I think) is an database (Ajax Request in Construct, Php or any other server side language on the server).

  • If anyone will have again this problem and found this thread, a better way is to simulate the jump just if the player is not jumping. This keeps you away from problems with jump strength and slow pc�s.