justifun's Forum Posts

  • works fine for me!

  • "Picking" in construct is the term used for specifying which objects you are going to apply an action to.

    All of them, or specific ones etc.

    if you were to say:

    On start of layout -> Player destroy

    it would destroy all Players in the game

    but if you were to say

    on start of layout

    (sub event)

    Pick by evaluate, Player.name = "hero" -> Destory

    it would only destory the player who's instance variable "name" is "Hero"

    so with your overlapping example.

    First you need to determine which objects are overlapping

    Player on collision with another object (object 2)

    (sub event) pick Top/Bottom -> Actions

    Once the two objects overlap -> you use the "pick top/bottom" to pick which object specifically you want to do the actions to. Either the top or bottom object.

    On collision with another object is a form of picking a specific object

    just like "pick by evaluate", or pick nearest/farthest etc

  • please only make one thread per question, i answered it in your other thread

  • Unbelievable flyovergames!!!!!! this is the greatest day in the world! Donation sent!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Unbelievable FLYOVER games!!!!!! this is the greatest day in the world!

  • hehe, also, Colludium's reply post showed up before Prominent's post, even those the time is listed as an hour later.

  • start a new project....

    make a text box object

    on start of layout - > set text1.text to "Height:" & ViewportBottom(0) & "Width:" & ViewportRight(0)

    they are found in the system section when adding an action.

    the (0) in each of them refer's to a specific layer you want lookup

  • C2 exports a version of your game wrapped in a version of chromium all packaged up in to an exe file for you.

    It functions and feels just like a native windows app.

  • On the main forum page that show's all of the topics for the forum it shows the name/date of the last user to post in the thread, however I've noticed on multiple occasions that its not accurate.

    Here's an example.

    Thread:

    It says the last poster was user Flyovergames Aug 6th

    However when you go to the last page of the thread:

    it shows User: Bilgekaan posted on Jul 24th

    So either Flyovergames didn't actually post and its just showing their name randomly, or its not displaying the last post from that user.

    I've seen this issue with multiple threads, including getting email "updates" to a subscribed thread, which when you go to that thread, doesn't exist.

  • Congratulations! That's a great way to solve the issue!

  • Assuming you are making your game fullscreen, then you can simply lookup the ViewportRight(0) and ViewportBottom(0) to determine the screen resolution. Then you can do some quick math to determine the screen ratio that the player is playing in.

    width/height = pixel ratio

    for example 1920x1080 = 1.78 = 16:9

  • Sprite - On collision with another object

    (sub event) Sprite Pick top/bottom -> do action

    you can find the top/bottom choice in the very lower right of the "add event" window in the Zorder section

  • gamepad compare axis (gamepad 0, "left analogue stick", value < 0 )

    sub event Sprite.Name = "player1" -> (8 direction) simulate "Left" movement

    gamepad compare axis (gamepad 1, "left analogue stick", value < 0 )

    sub event Sprite.Name = "player2" -> (8 direction) simulate "Left" movement

    etc etc...

    So each gamepad has to get assigned its control inputs, then it applies them to each player

    therefore gamepad 0 is all associated to sprite "player 1" , and gamepad 1 is all associated with player 2 etc etc

    there's a fancier way of setting up reusable functions, but give that a go first.

  • - working fine for me after i double checking that i updated all of the files.

    rocky53204 - did you make sure to change the crowdgaming properties to your machines local IP address? that's usually why i get stuck on the connecting screen

  • Ashley - adding onto this, it would be cool if in the image editor when you use the resize button, if there were a checkbox that would allow you to maintain aspect ratio when you change the value of the height/width of a image.