Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Gaming and Game Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-17-2012, 06:31 PM   #1
lickmysheep
Registered User
 
Join Date: Jun 2012
Posts: 1
Default [AS3] scrolling game help

Hi there guys,
i'am working on a casual game, where the player is on a mission, to fly his rocket out in space. On his way out in space, he will face different objects that he must evade to keep alive. My question here is, how will i make the scene scrolling? Since the level is kinda big, i can't just use 1 movieclip and scroll it because flash does'nt support images that large. What kind of technique should i use to make this work? I have been reading up on "tile-based" scrolling, but i cant really find any good tutorial - and i dont even know if this would be the best way to do it.
Help is appreciated
lickmysheep is offline   Reply With Quote
Old 06-18-2012, 12:48 AM   #2
iamgotenks
Super Saiyan
 
iamgotenks's Avatar
 
Join Date: Nov 2011
Location: New Zealand
Posts: 305
Default

There are a couple of ways to do this, probably the easiest way is to do it with multiple movieclips or 'tiles'. Is it just a left/right sidescroller? or is it more like a top-down scroller that lets you explore all directions? Is it just 1 screen that's repeated, or are they all unique? If it is just a side-scroller, then there are tutorials out there, and most basic game tutorials will include this.
iamgotenks is offline   Reply With Quote
Old 06-18-2012, 01:15 AM   #3
[afz]snickelfitz
Senior Member
 
[afz]snickelfitz's Avatar
 
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,898
Default

I made an experimental side-scroller using greensock blitmask, bitmapData (for the hitTest) and 10 movieclips stitched together in code.
The blitmask has a "wrap" property that creates an infinite scrolling bitmap.
http://www.swfcabin.com/open/1330916644
[afz]snickelfitz is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT. The time now is 03:48 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.