Author Topic: Tiles with parallax effect  (Read 1302 times)

Esti

  • Active Member
  • ***
  • Posts: 104
  • Karma: +0/-0
    • View Profile
Tiles with parallax effect
« on: Thu, Apr 12, 2012 »
I am finishing a small platformer game , I made the maps using DAME and implemented them with the photonstorm tutorial way. I already use some images in the background with scrollfactor but is there a way to implement it to the tiles that are in the background?

I have a layer for the entire map and I set the collidable and non collidable tiles so maybe I can add scrollfactor to the non-collid ones?

Check it out on Mochi!

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Re: Tiles with parallax effect
« Reply #1 on: Thu, Apr 12, 2012 »
This is handled in DAME's flixelcomplexexporter, I never wrote anything to support it.
blog, twitter, Check out my award winning game, Rot Gut:

Esti

  • Active Member
  • ***
  • Posts: 104
  • Karma: +0/-0
    • View Profile
Re: Tiles with parallax effect
« Reply #2 on: Fri, Apr 13, 2012 »
thanks, I thought there was an easy way like seting tile properties or something.

Check it out on Mochi!

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Re: Tiles with parallax effect
« Reply #3 on: Fri, Apr 13, 2012 »
Honestly I can't see any easier way possibly, you just set scrolling speed for x and y!
blog, twitter, Check out my award winning game, Rot Gut: