Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 23, 2010, 01:25 PM   #1
tony3d
macrumors 6502
 
Join Date: Apr 2006
Side scrollers

I was just wondering how the graphics are made for side scrolling video games? How would you go about setting up a scene to make those long side scrolling games? I may need to do this soon. Any input would be great. Thanks.
tony3d is offline   0 Reply With Quote
Old Jul 23, 2010, 03:13 PM   #2
bweberapps
macrumors member
 
Join Date: Jun 2010
Quote:
Originally Posted by tony3d View Post
I was just wondering how the graphics are made for side scrolling video games? How would you go about setting up a scene to make those long side scrolling games? I may need to do this soon. Any input would be great. Thanks.
It depends on what you want the game to do, but one way doesn't require a huge scene. You can have one background image that doesn't actually change, but it created the illusion that you are moving because as time goes on more object are spawned off-screen and move constantly sideways until the go off the other end of the screen or are killed, then they are removed from the game. I'm sure you can find some basic game theory books or sites to help with this. Check our Cocos2D for the iPhone if you want to work on the iPhone. They also have a forum on their site too.
__________________
Check out Marble Marathon on the App Store. It puts a whole new twist on the typical Labyrinth type game! http://bweberapps.wordpress.com
bweberapps is offline   0 Reply With Quote
Old Jul 23, 2010, 03:21 PM   #3
lloyddean
macrumors 6502a
 
Join Date: May 2009
Location: Des Moines, WA
Perhaps giving us an example of what you're trying to do using an existing game as a point of reference might get you a better response.
lloyddean is offline   0 Reply With Quote
Old Feb 24, 2013, 09:19 PM   #4
xArtx
macrumors 6502a
 
Join Date: Mar 2012
If you're talking about the scrolling background in 2D platform games,
Google "2D tile engine".
xArtx is offline   0 Reply With Quote
Old Feb 24, 2013, 09:55 PM   #5
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
A common technique is Parallax Scrolling.
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is offline   0 Reply With Quote
Old Feb 25, 2013, 06:41 PM   #6
Ides
macrumors member
 
Join Date: Mar 2012
Quote:
Originally Posted by ArtOfWarfare View Post
A common technique is Parallax Scrolling.
Going off of what ArtOfWarfare said, this is a very common but simple technique used in many side scrollers (Jetpack Joyride, Funrun, etc). Basically you might have 2-3 "layers", the frontmost being the important game objects that the player can actually interact with, enemies, power ups, items, and such. The middle layer can be objects in the near background, like trees, rocks, buildings or whatever. And the last layer will usually be the setting of the game, like mountains, forest, cave, etc. And to make it all come together you simply make it so that the lower layers move slower than the top layers. It gives the illusion of traveling.
Ides is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Anyone use a micro ATX gaming rig and their mbp side by side dma550 MacBook Pro 3 Feb 27, 2013 12:21 PM
Quick question How do you put windows side buy side YellowScream OS X 2 Sep 5, 2012 04:19 PM
2 ultimate 13 air side by side, interesting BLUE TINT discovery! BigB82 MacBook Air 1 Aug 18, 2012 07:56 AM
rMBP: lower left side of trackpad less flush than right side? 73CortinaV8 MacBook Pro 2 Aug 18, 2012 01:00 AM
Side by side comparison of Google & Apple Maps at Kings Cross, London b24pgg iOS 6 73 Jun 14, 2012 04:01 AM

Forum Jump

All times are GMT -5. The time now is 05:13 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC