Aphrodite's Recent Forum Activity

  • I don't think it would be that difficult at compilation of an exported construct 2 game, to substitute names of global variables, arrays, dictionaries, instance variables, and other such items with randomly generated 4 character base-36 names (1,679,616 theoretically possible different names).

    Since array and dictionnaries can load from external files (you can also load the webstorage inside a dictionnary), I don't think it would be wise to minify that

  • Aphrodite

    I really would prefer the method that you mentioned since it seems to be the most cleanest way of doing what I'm trying to accomplish. But it seems I can't call the function on C2 using the execute javascript(), or I think I'm doing it wrong, which is probably the case if it is possible.

    Here's an image of what I just tried:

    EDIT***** I did put a semicolon in the execute javascript command for the function, I foregot to update image.

    I think this is what the function is doing:

    does a function call to receive two functions, "success and failure" which is linked to two buttons in the sdk ("yes button" and "no button". When yes is clicked it does a call to the success function. The same success function sent to the fgl.inApp.initiateUnlockFunction(). When no is clicked it does a call to the failure function.

    Here's the pseudo:

    fgl.inApp.initiateUnlockFunction(function onSuccess,function onFailure)

    R0J0hound

    It does work in general but I can't seem to get it working with fgl's function calls. Could be due to my lack of javascript knowledge. Which wasn't that great to begin with.

    Here's an image of what I just tried:

    Is it not working because it can't find this.premium? since it was executing from fgl's sdk? I could post the error I get from google chrome from both examples, if it helps anyone understand the problem.

    I am wrong I think concerning the function calling, It doesn t seems to be as easy as that(we would have to know if it is possible to call a function in execute javascript), but I still think that if it is possible, it would be the best way to do it (it could help in that kind of case when people have to use a execute javascript for the API)

    Sadly I don t know how to do this

  • you 'd have to add a System>For each Evil condition for this to work (not sure it is the best way to do it, since it can make a lot of calculs if there is a lot of evil and hero))

    Yeah, I Get It! It's Illegal But In The End Scirra Is Not Suffering Any Loss And For Few Bucks, The Formalities And Paperwork Is Not Worth It! But Happy Ending As Scirra Is Also Happy And Developer Is Happy Too! He Should'nt Have Done That! :/

    I have just one tiny question for you: What if you don't suceed enough to pay the license? you still used it after all, even if you didn't suceed.

    Also piracy is bad, sure, he paid it after, but scirra didn't get paid in between the usage and the profit, and that is bad.

    anyway, scirra has chosen their conditions, accept it or don't use it, it's as simple as that.

    You are right, its not an easy task.

    I originally thought of translating the .js from the compile time, but that would be too difficult.

    Instead i started looking at the .xml files and found that they were quite easy to understand in terms of logic progression.

    Everything the the program needs to know is in the game.caproj, the layouts.xml and eventsheets.xml.

    The program goes through each file looking for particular crucial pointers and writes the necessary code into the framework.

    What you have to understand is that i'm not directly taking .capx files and magic them into native code. I'm taking the .capx files and converting them into the code of the framework, which then converts the code into native.

    that's nice!

    He shouldn't have done that, Personnal licenses are not for dogs as they say. He was not in term with the license, he was wrong, do not do it, if you need to make money in any kind of way with C2, buy a personnal license, it is cheaper and same feature, just limited on commercial profit you can make (at most 5000$, the buisiness license is 500$ so it's fine).

    I do not care about if he think it is fine, it isn't fine, it is not respecting the license he agreed by using C2.

    EDIT: I also find this disrespectful to every legit C2 user that struggle to make money

  • I never found a way to post an array with BBcode for now, or I think it could be good for 2 reasons:

    1: to post things inside an array

    2: when you have to explain some events, a 2 columns array with lists inside could emulate well the conditions on one side/ actions on the other side

    Just a little suggestion, as I saw it on some forum, I though it might be helpful in this case yet not too hard to implement.

    Just out of curiosity, from where did you had the knowledge to do that? I mean, it doesn't seems to be an easy task, to translate a capx informations into native (I might be wrong but I don't think).

  • Naji : by using the event system you are more into the developer aspect, when you think about how to make a game, what it should be for the player to enjoy it, you are more a game designer, when you design levels, more into level design.

    It is up to you to try and see more what you think you are

  • If you are using XP or vista: chrome disabled the hardware acceleration for both of these OS, so no WebGL, so no effect (even worse, no hardware acceleration at all, which is really bad :/)

    you can, I think, re enable it through chrome://flags and set the ignoring gpu blacklist (it will skip the blacklist)

    However if it is indeed that you are using XP, the issue is up to chrome.

  • TwinTails I personnally design them with scale outer or scale inner, with the anchor behaviour placing or streching elements relative to the corner of the screen

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hate to sound like an ass as always seems to happen, but I notice these threads usually wind up revealing the need for better game logic.

    Perhaps whats needed is some sort of program that teaches how to do events properly. Something complete with site badges and all.

    I think this is a great idea, it could help everyone, begginer and also more advanced people

    I second this

    also I have read "open" instead of "happen" the first time, that sounded weird

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