blaster151's Forum Posts

  • 5 posts
  • Yeah... that's literally it. The simplest thing ever. This is my code (which is connected to an "on start of layout"):

    	let dot = runtime.objects.Sprite;
    console.log(dot.x + ", " + dot.y);
    console.log(dot)
    
    dot.x = Math.ceil(Math.random() * 1000);
    dot.y = Math.ceil(Math.random() * 500);
    
    console.log(dot.x + ", " + dot.y);
    

    Am I an idiot? I have a little bit of programming experience but I can't get this to do anything... ChatGPT won't help either.

    Tagged:

  • Anybody?

  • I'm making a word game, is there any possible to way to make the game check if a string is a valid English word? There are too many five letter words to add in all of them to check for... Help? :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hope I understood your problem here. Try:

    sprite: is overlapping conveyor = sprite: move [speed of conveyor] pixels at angle [angle of conveyor movement]

  • You do not have permission to view this post

  • So I want a slow motion effect when the player takes a fatal hit for dramatic effect. This is what I've done:

    On hit: Set time scale to 0.25

    Wait 0.5 seconds

    Set time scale to 1

    When the player gets hit, the time scale does get set to 0.25, but it never goes back to 1 and I don't understand why.

    Also, it doesn't matter what the wait time is; as long as there's a wait event the time scale never goes back to 1. Making the wait time ridiculously short, like 0.000001 seconds, doesn't even work.

    Any suggestions?

    Tagged:

  • 5 posts