Kyatric's Forum Posts

  • You should check this topic out.

  • You should take a look at this thread.

    PHP is a full language, you need to learn its basics.

  • Pretty much what vtrix said except that instead of replacing the crates object, you can set them to physic.set immovable to true. This way, the crates won't move.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice update, it is more comfortable playing now.

  • krish: then add an action "animation start" right under "set animation"

    Somebody : There is a system.Trigger once while true condition too in C2.

  • Oooooh OK. Seems a bit obtuse but seems like that's the way the system does things. <img src="smileys/smiley29.gif" border="0" align="middle" />

    How would I do this specifically? Add two conditions to one of the already existing "not over" events? Add a sub-event? Or some other way entirely?

    Implementation is up to you. I'd go with setting the "not over" event in "Credits" group.

    Or create a specific group for this event to keep parts separated as you did so far.

    While I'm here, is there a way to determine which specific CutscenePreview is clicked?

    Create an instance variable to the object CutscenePreview (ex index) and set a different number to each instance.

    From there you can make subevents under the event "On cutsecenes clicked" to test the value of cutscenes.index and so send to the correct layer.

    ex:

    + Mouse.On CutScenePreview clicked

    ++ CutscenePreview.index = 1

    ++=> goto layout MC-1.

    ++ CutscenePreview.index = 2

    ++=> goto layout MC-2.

    etc...

    Oh and maybe one more thing, is it possible to link an object to a URL?

    The browser object allows you to open a tab/use the current page to an url you specify.

  • Sounds like a trouble with the position of the hotspot (red cross button) in the first frame.

  • For the hand cursor I had the same "bug". It's code/logical bug though.

    When your cursor is over the Play button, it is also not over the CutScenes and Credits button, so as the events are read from top to bottom, the test for the CutScenes button works as the only "not over" condition is false.

    The solution is to save 2 events and have a single common "Not over" condition testing if the mouse isn't over the three buttons. If it is not, then the cursor is to be "normal".

    For the bug B, your layout WorldSelect is linked to the event sheet CutScenes.

    CutScenes includes WorldDisplay which include back.

    But in all this, the click condition is set in "WorldSelect" event sheet, which is not included.

    Include it in CutScenes for example, and here your screen takes you to MC-1.

    You have a nice interface/GUI, very sober and well thought.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You need a PHP script/function that will look into a file and return the value. (That's readscores.php in Ize's example)

    The corresponding AJAX call points to the script and you use AJAX.getlastdata to know the value that is stored on your server side.

    Then you need another script/function to which you pass a parameter on call and that will store said parameter as value of the stored variable. (That's post.php in Ize's example).

    The corresponding AJAX call points to the URL of the script with your parameter added to it.

    What you want pretty much lies already in Ize's example.

    For the PHP itself, it is out of the scope of C2.

    It is a "classic" coding language and you need to learn its basics to be able to modify the scripts to your need.

    It's not overly complicated, but it takes time to get used to.

    Open the .php files in a notepad (you can use a specific notepad like notepad++ or devphp to profit from syntax highlight which helps getting a better understanding of the code once used to it).

    The lines that starts with // are comments. They explain the logic of the following code.

    To learn PHP a good place to start is the w3school. You can also go directly to the official manual of PHP (translated in many languages) and learn directly from the source.

    This is all very technical but PHP as been around for quite a long time and I'm pretty sure you can google something like "PHP for dummies" (in reference to the book that you might also buy. It has a good reputation of popularization of such technical domains).

    If you're low on budget you can always keep googling until you find a PHP beginner tutorial (up to date by all means) that suits you.

    You wanted ressources, here they are.

    It is possible to propose some key in hand solution/PHP framework that would be usable "easily".

    The drawback to this would be the limit of customization applyable to the framework and the time it would require to get built. Another concern could be security issues and the need for a regular maintaining of said framework.

    In the end it is a safer bet for the users (especially the younger ones) to learn directly PHP and be able to write their own scripts fully adapted to their needs.

    Moreover such knowledge of a coding language IS profitable in C2 since it helps getting used to arrays and loops and other common expressions/functions/designs.

  • Have you tried updating the graphic card drivers ?

    Sometime this might be enough to correct such "sudden glitches".

  • I'm afraid I don't understand what your problem is.

    Post a capx and try to fully explain what you intend to do.