nettemple's Forum Posts

  • You do not have permission to view this post

  • While completing iOS publishing forms in the appleconnect developer area, I saw this: "Make sure your app supports the SKPaymentTransactionObserver method to process this transaction." Is it safe to assume that Construct 3 has this covered in regards to in-app purchases?

    Tagged:

  • You do not have permission to view this post

  • So you are saying that multiple layouts will NOT burden down the performance UNLESS they are called? Correct?

  • A performance and basic structural question: Is it better to use multiple layouts or many layers in one layout?

    Example:

    One layer with 5 layers. Turning layers on and off (visible/invisible) according to a variable value (0-5)

    OR

    Five different layouts directing to that layout depending to a variable value (0-5)

    FYI: The basic content (text and graphics) would be basically the same.

    Suggestions.

  • Excellent!

  • I have 4 functions:

    func1

    func2

    func3

    func4

    How do I call one randomly on start of game:

    Example logic (not syntax, just logic):

    OnStartOfLayout --- > Call "func"+(random)1,4));

    I was told I could use javascript, but thats not really the answer I need as I assume you could do most anything in javascript as an alternative :-) Unless you're telling me "that is the ONLY way you can do it." If so could some suggest code - I believe this is fairly easy for a seasoned JS programmer (as I am not).

    Thank you in advance!!!

    Tagged:

  • And this was with Construct - version 3?

  • Can you provide a callFunction syntax example based on my simple scenario:

    functionName 1

    functionName 2

    functionName 3

    functionName 4

    functionName 5

    onClickAction ---> call "functionName"&int(random(1,5));

  • Instead of being forced to choose a function from the dialog window (That lists all current functions), is there anyway to call by name. The reason is that I want to call one randomly from a list like so:

    functionName 1

    functionName 2

    functionName 3

    functionName 4

    functionName 5

    I want something with this logic:

    onClickAction ---> call "functionName"&int(random(1,5))

    I hope that makes sense? Suggestions...

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • My initial thoughts would be to incorporate the save_score.php form into the Construct project and then pass the data from that form to a php that adds the data to the MySQL database via Ajax and either returns a success or failure.

    I agree (see above example)

  • OK This is a working version:

    1) Created simple form with text input objects

    2) Created events that pass variable in a php URL using the Ajax object

    I included screenshots of the:

    - Form

    - Event sheet

    - Php code

    - MySQL table structure

    I tested and all works.

    I kept it simple. You will have to populate the variables based on your form and their final score.

    Form:

    Events:

    PHP:

    MySQL Table:

    Cheers!

  • Also getting this in both Chrome and safari:

    WHOOPS!

    The server returned a 500 exception. This has been recorded and will be looked at by an engineer shortly. Sorry!