How to draw scrolling background?

Let’s learn how to draw scrolling background. The most accurate or helpful solution is served by Game Development.

There are ten answers to this question.

Best solution

How do I draw a scrolling background?

How can I draw background tile in my 2D side-scrolling game? Is that loop logical for OpenGL es? My tile 2400x480. Also I want to use parallax scrolling for my game. batcher.beginBatch(Assets.background); for(int i=0; i<100; i++) batcher.drawSprite(0+2400*i, 240, 2400, 480, Assets.backgroundRegion); batcher.endBatch(); UPDATE And thats my onDrawFrame.I'm sending deltaTime for fps control. public void onDrawFrame(GL10 gl) { GLGameState state = null; synchronized(stateChanged) { state = this...

Answer:

In this code, you are drawing the background 100 times in 100 different places in 1 frame. Learn how...

Read more

droidmachine at Game Development Mark as irrelevant Undo

Other solutions

How should I adjust the background-position on my website with Parallax Scrolling to look good on iPad?

Mobile Parallax with Stellar.js On Firefox the background-images are displayed in the correct way (at least on my pc's here) when I use background-size:100% auto; On my iPad I can see only the first picure and the others are hidden. They are visible...

Answer:

I hate quickly writing an answer without being able to put much thought into it, but I am very busy...

Read more

Jeremy Buff at Quora Mark as irrelevant Undo

What should I draw in the background?

I drew a turtle/dinosaur thingy and I cant decide what to put in the background of the picture xD Its underwater and Im trying to think of something funny to put in the background of it, Im into anime and Homestuck so i was trying to think of something...

Answer:

A squid/shark/swarm of jellyfish? Atlantis/sunken city/mer-people city? Sunken rowboat/shipwreck/submarine...

Read more

Kiley at Yahoo! Answers Mark as irrelevant Undo

Can someone please give me ideas on what to draw in the background of my twilight drawing?

I've been working on this drawing for a very long time and i am stuck on what to draw as the background. With the original photo i used as reference, they are laying in grass but it is really really intricate and im not sure i can pull it off. any suggestions...

Answer:

To be honest, I wouldn't draw anything in the background; it looks perfect as is. You don't want the...

Read more

Aria at Yahoo! Answers Mark as irrelevant Undo

What background should i draw...help!?

I have to place this old picture of a man and a woman.. in a background.. it can be funny.. anything. like a bar.. beach.. what would be good?!?! and what would be easy to draw?! i was thinking like in space..? explain your answer plz...thanks!! 10pts...

Answer:

in the desert with cactuses and hills and tumbelweeds :)

Read more

summer! at Yahoo! Answers Mark as irrelevant Undo

How to get an idea on what background to draw?

how to get an idea on what background to draw

Answer:

I think of places I like in nature. Then kind of "mold" them in my mind to make the unique...

Read more

YO6XWTLD3QK4QUIQJZP4CLCZ3Y at Yahoo! Answers Mark as irrelevant Undo

How do I make a scrolling background in Flash 8 that follows an object controlled by the mouse?

If you don't get what I mean, I'm talking about something like the background in this game; http://www.kongregate.com/games/Pacthesi… (To find what I'm talking about, click "skip intro" at the beginning of the game, then click "...

Answer:

What's happening here is that the background's X position is being dynamically controlled based on the...

Read more

Ahil at Yahoo! Answers Mark as irrelevant Undo

How can I make a background image of a web page blur out gradually when scrolling down the page?

Note the background image is simply one picture, not a link! I'm a beginner programmer. Not sure what language I should use in this circumstance. I've just learned basic html, css, php and a small portion of java script. It'd be very helpful if you can...

Answer:

Ask you question on Stackoverflow.com

Read more

Caspar Wrede at Quora Mark as irrelevant Undo

YOUTUBE QUESTION: How can I draw my own background, and upload it to youtube?

I want to be creative, and let my artistic side shine. How can I draw my own design on pen and paper and upload it?

Answer:

Draw it, scan it in a scanner, save the image then upload as your background. Easy enough.

Read more

iPikapik... at Yahoo! Answers Mark as irrelevant Undo

What should I put in the background of this drawing (and how to draw it)??

http://i161.photobucket.com/albums/t219/… My character. xD In case it's not obvious, she's a mermaid, so I'd like some suggestions of things ocean or beach-related, and some advice on how to draw them (I'm horrible at drawing backgrounds ^^;;...

Answer:

Nice picture :) How about a little underwater world: other mermaids in the distance, A castle made out...

Read more

~MiiShii... at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.