Xavier1324's Forum Posts

  • 13 posts
  • What I mean is it not just possible but is anyone doing game programing via construct 3 for a living?

    Are you making enough by publishing games via construct to replace your income?

    Say 3,000 a month?

    Also what platforms are you exporting to to do this?

  • thx.

    Sry for the late responce I figured it out another way and for got about the post.

    thx again though.

  • I can't find the *see reasons for making Construct 3 on the forums. Do you have a link?

  • Can you guys make an object that is just like an array but were data can be put into the array from the edit screen during design time.

    Something that the we the programmers can use to set up and input data in to a table that can be referenced and changed during run time.

    I want to make a table that will hold information on waves of enemies for my game. It seems that the applications for such thing are endless.

    I know that people do this in other ways but it would be nice if there was an object that you could just point and click to do the same thing.

  • THANK YOU THANK YOU!!!! This was so helpful. I spent 8 or 9 hrs messing with best way to do this and this is perfect and so simple to. I kind of feel like an idiot now. You guys are always so helpful. Thanks again.

  • I'm trying to find the point were two objects are overlapping. I'm trying to make a lazer go out from a gun in continuous fashion and need to return the X/Y over were it hits the first solid object. Is there a function that dose this?

  • How do i convert a string like 4:00 into time like 240 secs and back.

    I'm trying to set a par time for the a course and delete the total time spent completing the course and then displaying the difference.

  • Answer.... YOU DON'T!

    This is the code to make the player in an asteroids like game screen wrap and us physics.

    [attachment=0:1rau8vq9][/attachment:1rau8vq9]

    Do not give the players the wrap behavior. Give the player two instance variables to store the x and y velocity of the physics behavior when they got outside the layout. Disable physics when outside of layout. Reset the x and y depending on witch side of the layout the player left. (compare Players x/y with the layout width/height) then reset both the x and y velocitys and Enable physics.

    WA LA! Easy.... not really. Its a mouthful but its not to hard just hard to type out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK i figured it out and it is smooth to. Do not give the players the wrap behavior. Give the player to instance variables to store the x and y velocity when they got out of layout. Disable physics when outside of layout. Reset the x and y depending on witch side of the layout the player left. (compare Players x/y with the layout width/height then reset both x and y velocity and Enable physics.

    WA LA! Easy.... not really. Its a mouthful but its not to hard just hard to type out.

  • This doesn't seem to work at all for me can u be more specific.

  • How did u do it? I'm trying to do the exact same thing.

  • Here it is....

    -system.. every tick

    -----System compare to variables

    -----------1000 / (distance (player1.X,player1.Y, player2.X,player2.Y)) > 1

    --------------------System set layer scale to 1

    -----System compare to variables

    -----------1000 / (distance (player1.X,player1.Y, player2.X,player2.Y)) < or = 1

    --------------------System set layer scale to 1000 / (distance (player1.X,player1.Y, player2.X,player2.Y))

    Also set both all players to have the scroll to behavior.

    You can make the 1000 any number you want as a min distance between players.

    This will scale the layer that the players are on to a percentage relative to the distance between them. If the percentage is 100% or more of the minimum distance the the scale will be 100% or in this cause just 1.

  • Were do I get ROJOhounds plugins?

  • 13 posts