Farmrush's Forum Posts

  • I have objects in the environment as well, though. This seems really messy... ehhh

  • I'm not sure if Construct has a feature for this already or if it's something I'll have to code myself (I really hope not), so I figure I'll ask. I'm trying to create a game where the 'A' and 'D' keys pan to the left and right of an environment. The environment is twice the size of the view the player will have, or in other words, the player will only be able to see half the level at any given time. Would it be possible to have it so that when the player's view reaches a horizontal edge (x=0 or 1600) the view continues through on the opposite side. I don't want to just have the view abruptly shift to the other side of the level, but rather want a smooth panning.

    Help?

  • I would prefer a setup similar to GameMaker to be completely honest. Objects can be defined, but don't 'exist' unless you specifically place them on the screen. When making a big game having all those objects floating in the nether is a bit distracting.

  • CTRL + ZOOM OUT (Mousewheel) is what I think you're looking for. I'm not sure where you got "no" from.

  • I'm not sure I explained it properly. My layout will only be 1024x768 in size. I want the tiled background to, for example, scroll continuously at the sides regardless of whether the character is moving or not.

    EDIT: Aphex, your example is what I'm actually looking for, I just didn't know if there was a more automated/efficient way of doing it or if I should just do it like that.

  • Sorry, could you give an example. I'm not understanding.

    I currently have Every Tick: TiledBackground: Offset: Set Offset Y to 100 * TimeDelta. This does nothing.

    I've also tried placing it in Start of Layout rather than Every Tick.

  • I'm going to be making a parallax background, but instead of extending the level by whatever amount I'm just going to have the backgrounds scroll and loop endlessly. I'm wondering if Construct has built-in support for this or if I'm left to my own inventions.

    If you don't understand I'll try to explain it. Imagine a 200x100 image that connects on the right and left so that if you were to place them side-by-side they would look continuous. This is essentially the idea, but I'd rather not have to make the level huge and just have the image scroll through itself continually.

  • ohhhhh, so I'm not just insane.

  • I reinstalled and everything seems fine now. Thanks.

  • I don't see a parameter page.

  • I don't have a system icon, lol.

  • Yeah, I realized what I did. I feel kind of dumb, haha. Anyways I'm having another issue.

    In my resources tab on the ribbon there is no "Manage Global Variables" option. I also seem to be missing some other small things from the interface; I only have "Animator" and "Layers" in the bottom right. I haven't modified the interface so why is this?

    Also, how do I reference a global variable in my code? Say I want to increase the player speed by a global variable called FASTMODE, moving the player by "Player.X - ((200 + FASTMODE) * TimeDelta)" doesn't work. It says FASTMODE cannot be referenced or something similar so I'm assuming the error is with my syntax.

  • I'm trying to have my sprite face the direction of the mouse. This is relatively simple and I've just set it to [Always] face the direction of MouseX, MouseY, but for some reason this is off by some degrees. It rotates with the mouse, but doesn't face directly at the mouse. Any ideas?

  • there are ways to do something like this

    how were you planning to define the path though?

    I'm not sure... in GameMaker there is a path editor where you can just define points and reuse it as many times as you want. If such a feature doesn't exist, it'd be nice to add one!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was wondering if there was a way to set a predefined path in Construct. Let's say for example I have a path that isn't straight from A to B and want the player to move towards B along the path if I hold the right arrow down, and vice-versa for the left arrow.

    Is this possible?