Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:50:00+00:00 2026-05-23T22:50:00+00:00

I want to use in my game effect of perspective view by using few

  • 0

I want to use in my game effect of perspective view by using few layers, scrolling with different speed. I have three layers. My background is bottom layer, it scrolls very slowly, so it can be in a few times smaller than level. My “semi-background” is second layer, which lays between foreground and background. It scrolls with medium speed, faster than background, but slower than foreground. Third layer is foreground, it scrolls with speed, that my character moves.
For scrolling foreground I simply use CCFollow action for my CCLayer, where all objects are placed.
Now I’m confused, what is the best way to implement my first and second layers. Does cocos2d have any actions, similar to CCFollow, but having custom speed (speed is not best word to use, but it’s difficult to find appropriate term for me)?
My background and “semi-background” images are tiled textures.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:50:00+00:00Added an answer on May 23, 2026 at 10:50 pm

    The term that describes what you’re looking for is “parallax scrolling”. There’s an entire chapter devoted to it in Steffan Itterheim‘s book.

    I found this tutorial in a quick Google search.
    (Dead link above. Wayback Machine led me to this video.)

    I hope that helps a little bit!
    Mike

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an underlying ruby game-engine code and I want to use the web
I have a pygame game and I want to use pygame.gfxdraw.aacricle(), but whenever I
I am developing a game in android,I want use the services to play and
I want to use OpenSteer for my game that I want to be compatible
I want to use a hardware cursor for a computer game I am making,
I m creating a game, in that i want to use some animation, but
I made a tic-tac-toe game in c++ want to learn how to use SDL
I want use this 1 for using Bar code or QR code scanner. I
I want use javascript setInterval function to achieve a box rotate animate effect, I
I've set up an ejabberd server that I want to use as a game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.