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 regular
 
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 6502
 
Join Date: Mar 2012
If you're talking about the scrolling background in 2D platform games,
Google "2D tile engine".
__________________
Mac Mini, iPhone 4S, iPhone 5, iPad 3rd Gen, iPad mini.
xArtx is offline   0 Reply With Quote
Old Feb 24, 2013, 09:55 PM   #5
ArtOfWarfare
macrumors 68040
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
A common technique is Parallax Scrolling.
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Like it on Facebook!
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.
__________________
Sudoku Solver: Step by Step Explanations
Available for FREE on the app store.
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
best side scroller game... dpearman2007 Mac Applications and Mac App Store 5 Nov 19, 2011 12:57 PM
Rocket Boy 2D, side scroller shooter with 35 guns, leveling parallax scrolling & more TodVader iPhone and iPod touch Apps 5 Jul 26, 2010 10:16 PM
Rocket Boy - Fast paced action side scroller TodVader iPhone and iPod touch Apps 5 Nov 17, 2009 02:37 PM
How do you make a moving view for a side scroller like mario? MrPenguin9 iPhone/iPad Programming 3 Nov 23, 2008 04:11 PM
2D side scroller shooter - super cool Four20 Jailbreaks and iOS Hacks 1 Mar 20, 2008 08:32 AM


All times are GMT -5. The time now is 09:50 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC