Farmrush's Forum Posts

  • That was just me dicking around, assume the position should be set.

  • That might be relevant if "bounce" does what I think, but I'm not looking for anything nearly as complicated. Maybe I'm explaining it rather poorly, because this is very basic. Say I have A BOX moving along the X AXIS and it COLLIDES with another BOX so I want it to stop moving.

  • I've already done that, thank you for showing me, but I'm looking for an answer to the previous problem. If I had an object that is traveling, for example, along the x axis, how do I make it stop moving when it collides with another object?

  • Sorry, I didn't think a cap was necessary because the problem is so basic. All I'm looking for is an object to stop moving when it runs into another object, that's it.

  • use set position and keep setting its postion to the level boundary if goes past it.

    It isn't hitting the boundary of the level. I'm not using the platformer behaviour. So I'd have to create two objects that set PlayerSight.X to "PlayerSight.X - whatever" for the right side and "PlayerSight.X + whatever" for the left side?

  • I have an object that is controlled by the player. This object will be invisible during run-time, but it is a 64x64 object that the camera follows. I have placed two 64x64 boxes at each side of the level to stop the object from going beyond a certain point (most importantly the edge of the level). I can't seem to make the player's object stop when it collides with one of the boxes. I have tried using the movement behaviour "stop", but that just creates a JELLO effect.

  • Construct has nothing to do with GML and Python is effectively broken right now (in terms of Construct).

  • Yes, that's exactly what I want. Thank you so much. I don't really have time to look at it thoroughly right now, but I'm assuming it can be made to fit any layout. I tried to stretch the layout to twice the width, but everything just ended up toppled on each other when I executed the game.

  • That's exactly what I want, thank you very much.

    I'm assuming this can be modified to fit any size room / view. I don't have time to look at it too much right now, but when I tried to expand the layout it just smashed everything together, haha. I'll look into it, but this is awesome, thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The level is 1600x600, the view will be 800x600.

    [quote:1m7ih09l]Sounds more like you want the camera to move, not the background.

    Sorry, did I state otherwise?

  • Thanks, however in that example the player moves indefinitely in a direction and would never encounter any of the objects he had already seen again, thus it is not 'wrapping' back around to the beginning.

    Here is an updated diagram: http://pub.gamingw.net/39880/wrapping_1.jpg

    Imagine you have a cut a vertical strip from a 8.5x11" sheet of paper. You draw your level layout on that strip. Now, take that strip, fold it so that one of the shortest edges touches the opposite edge, and tape it. Now when you go through your level you rotate the ring in your hands, and when you get to one edge of the level you are simply back at the start.

  • I'll have to prototype it, because it doesn't seem like anyone knows what I'm talking about.

    I'll try to explain it more comprehensively, but failing that I guess I'm on my own. Essentially the level will be 1600x600 pixels in size (W x H), but the player's view will only be 800x600 in size. When the player is viewing the edge of a level, rather than having it just bump up against the side I'd like for it to wrap around so that if I were to keep moving in one direction it would smoothly pan through the level indefinitely.

    <img src="http://pub.gamingw.net/39880/wrapping.jpg">

    http://pub.gamingw.net/39880/wrapping.jpg

  • Just an update, ATI has its 5xxx series out now which are the first DX11 cards on the market. They are also aggressively priced and excellent performers over a wide range of targets (5870, 5850, 5770, 5750). Nvidia currently doesn't have any DX11 cards on the market, and according to sources they might not for another couple months; originally it was supposed to be three months, but they have apparently been delayed. I am not an ATI fanboy in any regard, although this has basically been a giant bunch to Nvidia's face and it doesn't look like they have any way to retaliate just yet. I have recently changed over to an AMD system (Phenom II X3 720 O.C. to 3.2GHz (will be going 3.6 when I have a proper cooler)), and will be upgrading my 8800GT to an HD5850 in the near future.

  • I don't have a cap. I wasn't about to start coding something like that without first verifying there wasn't already a built in function that could wrap a view around the edges.