A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: [F8] [AS2/OOP] Loading individual levels and items

Hybrid View

  1. #1
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,377
    As far as loading the rooms goes, the initial pause should only be during the first room loading. Then, once the player starts going keep loading the levels (if they are static levels hardcoded in the fla, even better) using frame loading .
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  2. #2
    bibuti. nolen's Avatar
    Join Date
    Sep 2002
    Location
    az.
    Posts
    191
    Alright so it's possible to use a separate xml file for each level and not have loading times for each one?


    Here is something I put together really quick. Would this be sufficient?

    Code:
    <levels>
    	
    	
    	
    	<level name="sidewalk">
    	
    		<items>
    		
    			<item x="50" y="200" name="blob" description="looks like some sort of blob i guess..."/>
    		
    		</items>
    	
    	</level>
    	
    	
    	
    	
    	<level name="hotel">
    		
    		<items>
    			
    			<item x="75" y="26" name="window" description="you can see a fire escape next to the balcony"/>
    		
    		</items>
    		
    	</level>
    	
    </levels>
    i'm obsessed with video games.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center