CuRsE483's Forum Posts

  • Can you give me an example?

  • ....ummm why isn't it working?(Object is called Normie)

  • If I understand correctly you want the ball to move to a random position in the Grey.

    Your call sets the position of Normie somewhere between 0 and 1376 for the X and between 0 and 871.5 for the Y.

    I'm not positive but it looks like that your Grey area does not start in the top left (first pixel) of your game. What you need to do if find the top left pixels location of where you want them to spawn, lets say its (200,50). Then you find the size of your Grey area lets say (800,100). Then you start the range at the top left spot and add a random(width) to the X and a random(height) to the Y.

    Start of Layout || Normie set position to (200+random(800),50+random(100))

    TYSM!!!!!!!!!!!

  • Oops I switched the images so when referring to the 1st image I'm actually referring to the 2nd which is the same for referring to the 2nd image

  • The 1st image above shows the Spawning Zone(Grey area) for the balls

    I took the coordinates for the spawning zone and plugged it in for the layout

    (The 2nd image) I just now redid it and the balls are nowhere to be seen...

  • as for scripting in or changing something in event I don't think I can help... However, Have you tried make a clone(Global) of the original one and just changing the close so it doesn't affect others

  • I tried making an empty space and using the coordinates there to spawn inside the white empty space but, for some reason it spawns outside the maps ang gets stuck!?!?

  • Thanks so much

  • Normie.8Direction.MovingAngle (Normie is the ball) and I'm guessing MovingAngle is the angle it moves and I want that to change on start of layout but it's working but I want it to be random and not just one angle

  • Oh wow...I didn't even notice that...thanks that helps a lot (: ^_^

  • This is what I currently have

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Forgot to add, think I had the moveto max speed set to 5k, same for acc and dec. But that ought to get you in the ballpark.

    REPLY(Thanks so much and where do I set mx to mouse at because I can't find it

  • So basically how do I add a page border?.... I tried making a sprite and just making it collidable but I cant see the background so I can't trace it is their any easier way? if not I'll just make a rectangle sprite and follow it along the background but i'm lazy so I don't wanna do that :(

    Tagged:

  • Like evades.io(If you know the game) I want to be able to left click and make my player follow the mouse but the closer the mouse is to the player the slower it is and the farther it is the faster it is (But with max speed ofc)

    Tagged:

  • > add the keyboard object to the layout.

    > than put in the event:

    > on keyboard w down 8directiom simulate control up ...

    Thank you also!!!

    (REPLY) Hello I've tried this but I cant add 8 direction simulate control up