parallax backgrounds

  1. c023-DeV

    [solved] Center Parallax Layers to Room (Math Help Needed)

    Heya, I feel pretty silly not to solve this by myself... What I'm looking for: I'm looking for a parallax formula that equals to zero if the coordinates of the camera are in the very center of the room. So I can have my background images all line up when the player is in the center of the...
  2. Plubu

    SOLVED Smooth Parallax Background

    Hello everyone, I've seen videos of how to code a Parallax Backgrounds, it worked for me but it's not smooth, when the player stops or just starts moving, the background ike cuts off or something, it's not smooth. This is my Camera object: //Create //Display Settings IdealWidth = 1920...
  3. SoVes

    Asset - Scripts two directional parallax

    2Dparallax is an asset on the marketplace. It's an easy way to get a parallax working for a platformer with verticality. It scales to any room size with adjustable parallax speeds. You can do this with as many background layers as you want. Demo video Marketplace...
  4. Luke Pierson

    Parallax Scrolling Advice

    Hey guys, so I'm looking for some advice for parallax scrolling along the y axis. How should I go about this? It seems like I should have it so that the higher up a player is, the further the layers are spread out on the y axis, and the lower a player goes, the rear layers begin to disappear...
  5. G

    Legacy GM Parallax Scrolling with never ending room...

    Im working on a project where i want to be able to fly inside a very big room. A platformer. I want the bottom of the background to be linear with the room bottom and i want the background to follow my view left and right at a limited speed and at the same time follow very slowly up en down when...
  6. A

    Legacy GM How to refer to specific room in GML code (in Player object)?

    Hi, I'm trying to figure out how to refer to a specific room in Player code sheet. I'm currently exploring the parallax background technique and each room will need different variations of background speeds (some of them none). At the moment I have this code in my Player object but what...
  7. A

    Legacy GM Background parallax scroll only when player moves?

    Hi there, I'm busy working on side-scroller. I'm trying to make my background parallax scroll when I'm moving right or left. At the moment I am able to do parallax scrolling with the background function in room editor. And I am able to to make viewport follow my Player. But my problem is I...
  8. Heavybrush

    double parallax check

    I'm doing a parallax background, using an object with a sprite that must follow the view because I generate all the rooms procedurally and I don't know how much they are big, so I need: the parallax start at 0 of both (room and view) parallax scroll from 0 to room_width BUT parallax can go...
  9. S

    Legacy GM Create Interchangeable Parallax backgrounds for infinite side scroller?

    Hello to the community! I need help with making an infinite side-scroller which I want to use different backgrounds in the same room. I want the background to change either after a certain amount of time or after a certain amount of repeats. I was initially wondering is this possible? and if...
Top