Aphrodite's Forum Posts

  • Nullus

    You can add multiple conditions to an event, so:

          Compare Two values: (Score % YourVariable) = 0

          Compare Two values: Health = 0

    the conditions are in a "And" Block by default

    are your conditions, and you add a action to that single event.

  • If you use a text object:

    Set text to:"Name: " & Name & "- Score: " & Score & "- Time: " & Time

    Also make sure your text object is long enough

  • Aphrodite

    In fact I want to test the number of rotation of an object around a point

    If your object is rotating in one direction, you can count how many times it passes by an angle

  • beufreecasse

    I don't think an expression can be made easily for that, It will depend on what do you used/want to test exactly

  • you can compare two values in system conditions, and enter the expressions directly

  • Try Construct 3

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

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

    If you used a form to ask for a folder path, use the expression NodeWebkit.ChosenPath & "YOUSHOULDNTHAVEDONETHAT.txt" just after

    If you used a form to ask for a file saving, I guess you should use the expression NodeWebkit.ChosenPath just after

    NodeWebkit.AppFolder & "YOUSHOULDNTHAVEDONETHAT.txt" should create the file in the same directory as the application

    I didn't used it myself though

    If you want to create a file from a game, it should be in the users documents (or a subfolder), or in the application folder (or subfolders), If the file can be created somewhere else, I think you may ask the user where, Games don't really need to create files outside these boundaries in general

  • Keyboard: On key released (up) : set animation to "idle"

    Keyboard: On key released (down) : set animation to "idle"

    I think this can do it.

    Also:

    Keyboard> Up/Down Arrow is down - Set animation to "Down" (play from beginning)

    I'm not sure playing from beginning is a good thing in that case

  • I don't understand the event 5: blueCircle: Set X to blueCircle.X

    Also, you spawn your blueCircle when destroyed at a position relative to the previous blue circle (you can use the System>Create object for that I think, since I guess you spawn it at a certain Y)

    Also, you are not using the 8 direction I guess, so, if you want to check you are moving (with the bullet behaviour), compare the Bullet speed of your blueCircle.

    If I misunderstand, or if you are not sure of something I said, ask^^

  • Krawwly : can't you set the animation to go back to it's flapping animation when you release Up and down? (I could misunderstand it)

  • What are your conditions/actions for setting your animations?

  • damjancd

    OrangeFlash81

    Webstorage is the browser storage, if the cache isn't deleted, it should stay (even on node-Webkit)

    And for the Node Webkit plugin, you can save a file with data in a folder on the user computer, and also load a file, so, it works offline

    (the node-webkit plugin is still in beta though, so you may take that in consideration)

    Hope that helps

  • You can create your own layering system pretty easily in GM you know. Construct 2 isn't better, it's just different. And it's also in a much lower state of maturity right now. Also if you understand the scripting language, you can usually throw stuff together much more quickly than with an event driven system. They both of their merits.

    Yes, you can use GMS and Construct 2, they will both work, but the problem is the prices, and I don't think the YoyoGames politics is helping GMS for that

  • Also, if you can, try to set a text to

    NodeWebkit.UserFolder & "YOUSHOULDNTHAVEDONETHAT.txt"

    in the same condition, to see the path he uses

  • I have this problem too, I have to hit the tab key multiple times, to refocus the game.

  • Is it possible to Undo a score I did on a game on the arcade?

    I glitched out and the score was just.. too good to be possible

    A little too good

    I am the first player with 3s, my previous non-bug score was 36s (I was very lucky, almost like a stair), and my previous "skill only" was 54s, can the score go back to 54s (or 36 if 54s is not possible)?

    Thanks in advance