Aphrodite's Forum Posts

  • Oh, I didn't understood, I thou you were talking about bugs in the engine, rather than encountered issues due to non intuitiveness so other user don t fall in them (like when to use for each)

  • Prone to let users do workaround instead of reporting a bug, even though the concept is kind, I think it is a bad idea overall.

    It could also help, but there should be an advice at least saying not to always use this, and to remember those can be dirty hacks

  • The sounds not loading after may come from the offline.appcache exported file (removing the sounds may help, but I think it is not the best solution)

    The better way would be not to preload everything like that, but more preload just before you need.

    I ve also saw that sounds seems to not stay on memory on mobile html, you could eventually try to play the sound in a silently manner, so it is actually in memory, then to restart it with a louder (audible) volume.

    Also some phone (mine at least) refuse to play sounds for a reason, I think it needs sounds to come from a touch (which effectively sucks...), but my phone is a low end device that should not be targetted.I even wonder how my games runs at a 20 fps on it.

  • In event 7 and 9:

    I think remplacing the "is pressed" with "key is down", and also change the "play from beginning" with "play from current frame" could do the trick, you could also test if the right key is not down in event 6, and that the left key is not down in event 7 (to do this, you have to add the condition Key is down, then you right click on it, and you use Invert)

  • Here are my edits: https://dl.dropboxusercontent.com/u/100 ... dited.capx

    In retrospect, It is not really less complicated, but it should be more compatible (I corrected a few bugs I've spotted, and also now instead of relying on a number of Letra and Letra1 you've counted, it counts them itself, so you should be able to use it directly for every letter, as long as each letter is in it's own layout that is)

    I've added comments so I hope you understand it well.

  • celescu : I am looking into it, I saw what I think are a bad use of "for-each", since the conditions used after are already implying to be "for-eached"

    I continue to look, nice idea btw

  • I personally recommand using a variable to keep track of the score, and using a function to add points to the score (this function could also take care of refreshing the score display, and even the high score display if needed), and also to make the score goes up not with direct numbers but with variables (instance variables or local variables) and constants if possible, so you can edit quickly how you handle the score.

  • When you release Left or right, it goes into stand (events 6 and 8), no matter if a key is currently down or not (since it is not pressed at this particular moment, it is just down so 7 and 9 aren't countering that)

  • By adding the browser object, you can use the request and cancel fullscreen actions

  • I don't think you can reliably differentiate a tablet from a phone (even from a hardware standpoint it is not that clear)

    best way would be to ask the user or make the game works the same in both modes.

  • That is weird, I don't knowwhy that happens then, sorry

  • instead of "On touched", use "Is touching object", On touched is only true at the exact moment you touch

  • > There is a pause/resume event under the Audio Plugin.

    >

    But this doesn't work on mobile games, because buttons doesn't work on mobile games. You need to use sprites instead

    Buttons works on mobile games (unless you meant using cocoonjs or ejecta)

    But I am not sure if the pause and resume works well on all mobile though, but is that really something we should care while learning c2 itself? Nope

  • The replace color (like every effects by default in c2) needs webgl to work, maybe you computer doesn t have the requirement for webgl in node webkit (updating the graphic card driver may help)

    The script minifier is a tool to make the exported script smaller and harder to read, it requires java to work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To read the graph, I have no clue.

    To interpolate the values of the array, you could draw lines between each point using a lerp to find the coordinate of each of them, you could also try to do a modelisation of course, but this will implies maths that I don t quite remember