Browse Search Popular Register Upload Rules User list Login:
Search:
Parallax Scrolling v1.1

Image:
screenshot of the scene

Author: BeltedRose85463

Group: Default

Filesize: 268.33 kB

Date added: 2014-07-28

Rating: 5

Downloads: 322

Views: 493

Comments: 4

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

A scene with parallax scrolling to give it the illusion of 3D depth.
You may save the objects with the scripts as a phunlet to use in
other scenes as long as you give me credit. Now with gravity,
buoyancy, and air friction scaling for maximum realism!
Last edited at 2014/07/31 23:27:54 by BeltedRose85463
Please log in to rate this scene
edit
Similar scenes
Title: Parallax Scrolling v1.1
Rating: 6.1111
Filesize: 268.87 kB
Downloads: 343
Comments: 0
Ratings: 3
Date added: 2014/07/30 16:08:41
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: Scrolling Marquee III
Rating: 5
Filesize: 1.27 MB
Downloads: 279
Comments: 1
Ratings: 1
Date added: 2013/10/02 00:34:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Scrolling algodoo experiment
Rating: 5.5
Filesize: 0.72 MB
Downloads: 1478
Comments: 4
Ratings: 2
Date added: 2020/07/29 11:35:27
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: Mouse Scrolling
Rating: 6.5
Filesize: 96.39 kB
Downloads: 470
Comments: 7
Ratings: 4
Date added: 2023/07/09 10:23:43
Made with: Algodoo v2.1.0
Rating: rated 6.5
download
Title: M1A1 Abrams tech demo
Rating: 6.8334
Filesize: 450.99 kB
Downloads: 2578
Comments: 6
Ratings: 6
Date added: 2014/10/10 00:37:31
Made with: Algodoo v2.1.0
Rating: rated 6.8
download
Title: Scrolling Text Box
Rating: 5.5
Filesize: 154.36 kB
Downloads: 1372
Comments: 9
Ratings: 2
Date added: 2021/03/27 10:54:20
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
1. Just wondering, is all that code in the fine print that's listed in the center panel really necessary in order to make this parallax scrolling scene work? That seems like an awful lot of code just to do what seems like a fairly simple and straightforward action.

2. If someone else (such as myself who has a reasonably good understanding of Thyme script)wanted to use this feature in their own scenes, wouldn't they need at least a little more detail of how this feature works and how it can be modified, than what you had given? I would want to learn more about it so that I could effectively use it and configure it.

THANKS!
I can't see text in black boxes! They just blank! Im using Algodoo 2.0.2 b15
In response to Xray:
Actually, all of the code that is listed in the center panel really isn't necessary. I just wanted to have the lighting engine along with the parallax scroller so I, among other users, wouldn't have to import the functions separately. Also, I used such a relatively complex code simply because I wanted the user to be able to freely move the object around at will without having to worry about changing the function in order to set and reset the object's position. Likewise, I wanted to be able to make dynamic (moving or physics) objects parallax scroll as well.
Okay, so, here is the tutorial on how to utilize this function in a nutshell. There should always be two variables to control how the object behaves: _parallaxScroll and _parallaxFactor. The _parallaxScroll variable (boolean) controls whether the object parallax scrolls or not. The _parallaxFactor variable (float) controls the amount of parallax the object has (how much it appears to be in the foreground or background). A negative number makes the object appear to be in the foreground, whereas a positive number makes the object appear to be in the background. The value of the number determines how close or how far away the object will appear to be. Also, you should always keep an entity with the function in the update section of its script menu. This makes all of the objects in the scene with the correct criteria in their script menus parallax scroll. And that was a tutorial on how to utilize this function in a nutshell.
Perfect! THANKS!:tup: