The Daily Click ::. Forums ::. Klik Coding Help ::. Parallax tutorials?
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  368

VIP MemberCardboard BoxThe Cake is a Lie
12th May, 2009 at 00:43:30 -

Does anyone know a good Parallaxing tutorial? No, not using the parallaxer object, just straight, homebrewed parallaxing.

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
12th May, 2009 at 01:07:55 -

MMF2 Layers. Word word.

 
n/a

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
12th May, 2009 at 01:19:26 -

An artical on it would be silly. It'd be like an article "How to place an active in a frame"

Use layers like adam said, just put object in a different layer, then change the coefficient.

 
-

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
12th May, 2009 at 01:20:27 -

If you are using MMF 1.5 or TGF 1 (Things that don't have layers) there is still a way.
You can make a small 1x1 dot and place it in the corner.(Unclick the follow the playfield option)
Then just set the objects to the back and have a event something like:
+Always:
++Set X pos to Xpos("Dot") / 2

Something like that, I cant remember now.

BUT!
If you do have layers, or anything like that... That is the way to go.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
12th May, 2009 at 01:20:50 -

http://www.create-games.com/article.asp?id=1687

 
-

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th May, 2009 at 01:29:23 -

There is plenty of information you could put in an article. For a start all the reasons why using layers for parallax might not be the best way to go about it.
Say if you wanted to change the background to something else at runtime, could you do that with a mosaic quick backdrop in a layer?

 
.

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
12th May, 2009 at 01:33:23 -


Originally Posted by AndyUK

Say if you wanted to change the background to something else at runtime, could you do that with a mosaic quick backdrop in a layer?



No, but you could with the active picture + add backdrop + destroy in a layer. Which will then give you the added benefit of storing your backgrounds externally thus reducing the size of your backups (assuming you don't backup the external files every single time).

Actually now that i think about it, i suppose there could be some use to an article that talks about all the different methods

Edited by Ricky

 
-

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  368

VIP MemberCardboard BoxThe Cake is a Lie
12th May, 2009 at 01:40:18 -

Thanks for all the replies guys, but I've figured it out now. Thanks anyways!

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th May, 2009 at 01:42:11 -

Or you could use one additional layer with lots of active picture objects in it for simplicity.

 
.

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
12th May, 2009 at 01:43:52 -


Originally Posted by AndyUK
Or you could use one additional layer with lots of active picture objects in it for simplicity.



bad idea imo, since it won't be able to be behind backdrops.

 
-

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
12th May, 2009 at 01:53:07 -

That, and it'd be a lot slower.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th May, 2009 at 03:19:28 -

I guess you misread RickyG, The one additional layer would be to make all the active picture objects to behind the main layer. You can use the object's offset to make them appear to scroll.
And uh, no Bibin that isn't slower than layers. Layers are like an entire new frame and an active picture object is just an object.

 
.

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
12th May, 2009 at 03:23:12 -

yeah i misread.

 
-

JetpackLover



Registered
  01/03/2007
Points
  212
12th May, 2009 at 05:36:25 -

You can use the background system object(I think that's its name) and then you can do that always position /2 or what have you. I don't remember exactly how it is done though. The only draw back is if you use a background system object it should be treated as a layer which means all of your background elements for that layer will be inside the objects picture editor.

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover

   

Post Reply



 



Advertisement

Worth A Click