GauVeldt's Recent Forum Activity

  • I'll add access to the origin and destination properties and period to the TODO list on this. The code can already handle the case of changing origin and destination points internally but it doesn't yet expose the properties in order to allow it at runtime via set/get methods.

  • Does this plugin preserve instance variables or states of any attached behaviors?

  • Mipey

    Thanks for adding it to your plugin btw. :)

    The only problem with having it in a plugin is the obvious problem that games intended for the arcade can't make use of it.

  • If not save and load at least you might implement HashTableObject=JSON.parse(inputStringOfHashTable); and outputString=JSON.stringify(HashTableObject); on your JS object (I suspect you would be using a JS object type for the hashtable) for the corresponding deserialize and serialize operations which is 90% of the work to save and load.

  • How about just doing a naive delimited-list search returning the index of the first element matched? Being able to search the list imho is kind of important and would be better than using find(sep&list&sep,needle) as a kludge which doesn't yield a proper index.

  • The existing system expression tokenAt(list,index,delimiter) will yield which token is at the specified index.

    tokenIndexOf would do the opposite, that is, tokenIndexOf(list,query,delimiter) will yield the index of the specified query token or -1 if it is not in the list.

  • I've encoutnered that:

    tokenCount("",",") = tokenCount("foo",",")= 1

    Is this really correct result for this expression?

    I would think an empty string should have 0 tokens.

  • Maybe add an expression to yield the current CD as fraction from 0 to 1 (0 meaning CD just activated, 1.0 meaning ready). The value may be used to lerp things like sprite frames to show the cooldown state (possibly the "clock" effect to show the action's cooldown timer like you see in C&C, Diablo, WoW, etc).

  • Doesn't JS have some JSONify operations you could use for the save/load part?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think the devs overlooked this one when they added the tokenXXX expressions...

    How about adding this oversighted findToken expression for finding which position a token is at if it is in the list. 0 is a valid position doing things the C2 way so -1 may need to be used as the "not found" result.

    eg 1: findToken("catacombs,cat,catastrophic,triplicate","cat",",") should yield 1

    eg 1: findToken("catacombs,cat,catastrophic,triplicate","ata",",") should yield -1

  • Re: touchmouse plugin

    Enabling "Use mouse input" property on Touch object might be used for similar purpose for those wanting similar functionality in the Arcade (which prohibits, among several things, 3rd party extensions).

  • Doesn't this restriction make the arcade less-than-useful for all but the simplest of games (since not even storage is supported)?

GauVeldt's avatar

GauVeldt

Member since 28 Dec, 2011

None one is following GauVeldt yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies