Aphrodite's Recent Forum Activity

  • > 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.

  • 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

  • If you are designing your game well, you shouldn t have problem

    Of course if you design it badly, you will have more problems, but in the end you will also have problem in a more powerful engine, just at an higher point. And since for so many reasons you want to design your game well anyway, it is not a problem.

    Often people says "C2 should not be marketed towards non programmers", when in fact non programmers will do just fine, as long as they think well about their games (Should I verify all those collisions? Should this AI be enabled? Am I using the functionnalities correctly?)

    If someone has problems with only a few ennemies on C2, either he is doing too many useless verifications and actions, or uses a bad graphic card driver (or both), while fusion is maybe more tolerant upon those points. We can help when you have problems anyway so you understand how to work in a better way, of course if at the end you want to use fusion, use it.

    Reminds me of the user asking for all little secrets about C2, there isn t really secrets, just don t do useless things, learn how C2 works (manual, eventually tutorial but keep a critic eyes on them, some are really not that well though), and also learn to organise your events, so you can easily correct bugs and optimise (I have seen some event sheets, that no one could understand long term wise)

    Also node webkit and chrome performs the same (chrome has sometimes better performances though), but if you go with "game in a browser = shitty game" you are wrong, they are just easier to do so people do them more often.

    The html5 weakness is more mobile, but on PC this is not justified

  • Try Construct 3

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

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

    > Just make ever layer transparent (the one created by default isn't transparent), so the screenshot has a tyransparent background (however, the display will still show black at the background, but the saved snapshot will not have it)

    >

    Hello, have a few quick questions. One how do you select just the layers that you want to save. The snapshot canvas tool only is allowing me to chose my file format and the name of the file. I can not find any options to save just say Layer 3 or crop options or other ways to limit where the snapshot happens.(Width and Height of image)

    Thank you for your time

    Not sure you can do this easily, you could in theory:

    -set the unwanted layers to invisible

    -take the snapshot

    -one tick after, set the layers back to visible

    Not that practical i must say, however, maybe the paster plugin could work:

    You would just hqve to set the position and size of the paster object to the part you want to screenshot, then paste the layer inside of it, then download the content of the paster ( I think it is paster.imageurl ), I didn t tested though

  • Pause on unfocus is only for the preview.

    You could play around with the wallclocktime expression maybe (it should continue to increase it's value no matter what I think)

  • https://www.scirra.com/tutorials/809/ho ... -crosswalk

    This tutorial should help, the intel XDK is quite confusing, I agree having a direct C2 to apk thingy would be far easier

  • Hi,

    accourding to the engine, the invisible objects are used by engine and he reserve them some memory.

    try to put a bullet sprite invisible and fire it, you will see that he do the job !

    i'm not a Construct 2 developer, but i'm a programmer and i know that Construct 2 is a normal software that is built with a C++ or whatever language that uses variables or memory.

    in coding languages, the compilators reserve memory for variables even not used by user.

    In that case, they are actually used by the engine (something invisible still exists and still works the same way, as the name says, it is just not visible, nothing more nothing less). It concerns more destroyed objects that are recycled whenever possible so the browsers don t take too much time cleaning the garbage (since there is no control over that), which is why I suggested to do less work on invisible objects if he can

  • Sound works fine on my galaxy tab 3(even though there is a little latency), and the app loads as expected, the save screenshot, if no screenshot has been taken download the index.html (pretty sure it is because Snapshot canvas returns "" by default)

  • I think invisible just means "do not render me on screen"

    You could maybe check if it is invisible to make it spawn nothing in that case

  • It isn t yet possible I think, local variables can only be done inside an event or a group.

  • Crosswalk is basically like chrome for android, so it will behave like chrome for android (however an option to bypass the chrome blacklist is on the go from what I understood)

    CocoonJS can also ensure webGL is used (however I think cocoonJS cannot interpret JS as fast on iOS as it does on android, so on iOS using WebGL can cause maybe a slower game as webgl is adding work on the js part, not sure this is really a problem though)

    I think the one wrapper using the default webview of the device is phonegap.

Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies