Sup with that?'s Recent Forum Activity

  • > The same path as it did when spinning clockwise? Just rotate the sprite 180 degrees in the editor so it starts off traveling in the opposite direction.

    > But I'm trying to make it do that in-game.

    Okay so, add an event that flips it 180 degrees and reverses spin during the game.

    Like, maybe there's something in the big picture I'm not getting.

  • The same path as it did when spinning clockwise? Just rotate the sprite 180 degrees in the editor so it starts off traveling in the opposite direction.

  • Set the Rotate behavior's spin speed to something negative, this will make it go counterclockwise.

  • Having the entire level on one layout just means smooth scrolling throughout, without hitting as many layout boundaries. I'm not sure there's any difference other than that. Having a bunch of layouts might get clunky and a pain to handle in the editor, so if I were doing it I might put several rooms on the same layout at a time, just cause I can't multitask like that.

  • Perhaps you can do this by using a choose expression for the Y value. So e.g.

    Set Green Circle X to random(960)

    Set Green Circle Y to choose(-20, 980)

    This means the X will be completely random within 0-960 like usual, but it will choose either -20 or 980 for the Y value so it'll always be just above the window or just below it.

    Edit: Oops, on rereading I guess I misunderstood the question.

    Does the viewport move? I don't see why you can't just adjust the X value of the positioning so that green circles can't spawn outside the edge.

  • You can simply give it Bullet behavior and Rotate behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does the bullet have events that test for collisions with a family of solids in some way? That would make it react to objects even if its parameter is off.

    I don't believe Platform behavior has a similar parameter unfortunately. Don't have C2 open in front of me to check though.

  • Not a minimap, I want to keep the actual size of the tiles, it's just that when working with a tilemap this large it gets tedious scrolling back and forth in the editor window to select the appropriate tile to place. If I could zoom out in the tile selection window it'd be a lot more convenient.

  • I guess this is a suggestion since the answer seems pretty self evident. I'm working with a Tilemap object with big tiles (512x512 px), and while the editor lets you adjust the tilemap's zoom to up to x8 to more easily work with small tiles, it unfortunately doesn't seem to have an option to go below x1, like say x0.5, which would be really helpful in this case. If this feature exists please tell me, if it doesn't please add (and then tell me, lol).

  • Bullet behavior has a parameter "Bounce off solids" which you can set to No, that should make it ignore solids.

  • Crashes, like it shuts down? Or the sprite is displayed incorrectly? I'm not sure how this would be caused by those events.

    But as for the events themselves, your first event effectively turns off movement. If you set "Car MAX speed" to 0, it means the sprite's top speed is 0, i.e. it's not going to move. IIRC with car behavior, if you're not moving then it's not going to turn either, so it'll just sit there. You want to set current speed to 0 and leave the max above 0.

  • Sounds like a runaway loop more than a behavior issue. I've had similar problems with large groups of AI because of a For Each loop they were using. Got rid of the loop and they worked just fine. They all used Bullet behavior, but as already said I don't think this is the problem.

Sup with that?'s avatar

Sup with that?

Member since 30 Aug, 2010

None one is following Sup with that? yet!

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies