A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Wanna make some waves?

  1. #1
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139

    Wanna make some waves?

    hello people

    just wondering if any of you guys around here wanted to design some waves for the ironMan game I'm working on using my xml wave system thingy

    Its not exactly user friendly though and requires some knowledge of xml.

    anyway, I've attached a pdf, a test swf and a test xml file if you want to create something. The only downside so far is limited functions and no multiple spawning at one time, so you cant create 4 enemies at once. This is something I want to add in, but its too late now.

    Also, this system is only 2 days old, so it could be improved on a lot. If there's something you guys want to do but cant, just let me know. If there's something you don't understand in the read me just ask as well.

    http://soap.com.au/chris/ironMan/ironMan.zip

    thanks

    EDIT - Squize, I never did contact you about how Polarity did it, probably should have
    Last edited by mr_malee; 03-18-2008 at 09:08 PM.
    lather yourself up with soap - soap arcade

  2. #2
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149
    Code:
    <config>
    
    	<!-- STAGE WIDTH: 700, STAGE HEIGHT: 355 -->
    	<!-- STAGE WIDTH OUTSIDE: 750, STAGE HEIGHT OUTSIDE: 405 -->
    	<!-- HALF STAGE WIDTH: 350, HALF STAGE HEIGHT: 177 -->
    
    	<game startWave="0">
    	
    		<!-- WAVE 1 -->
    
    		<wave repeat="1">
    
    			<interval type="EnemySpike" repeat="10" time="20">
    
    				<onStart>
    
    					<x>00</x>
    					<y>100</y>
    					<angleSpeed>2</angleSpeed>
    					<radSpeed>10</radSpeed>
    					<maxSpeed>10</maxSpeed>
    					<radius>200</radius>
    					<ease>5</ease>
    					
    				</onStart>
    				
    				<onRepeat>
    				
    					<y method="percentRepeat">100</y>
    					
    				</onRepeat>
    
    			</interval>
    
    		</wave>
    
    	</game>
    
    </config>
    spinning saw blades of death

    cool engine me like
    Regards Mark Fennell - Flash Kit Founder, general loiterer
    -------------------------------
    I Hate Zombies - iPhone Game | markfennell.com

  3. #3
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149
    Code:
    <config>
    
    	<!-- STAGE WIDTH: 700, STAGE HEIGHT: 355 -->
    	<!-- STAGE WIDTH OUTSIDE: 750, STAGE HEIGHT OUTSIDE: 405 -->
    	<!-- HALF STAGE WIDTH: 350, HALF STAGE HEIGHT: 177 -->
    
    	<game startWave="0">
    	
    		<!-- WAVE 1 -->
    
    		<wave repeat="1">
    
    			<interval type="EnemySnake" repeat="2" time="20">
    
    				<onStart>
    					<x>00</x>
    					<y>50</y>
    					<speedX>5</speedX>
    					<speedY>2</speedY>
    					<angleSpeed>0.1</angleSpeed>
    					<angleSize>100</angleSize>
    					<tail>10</tail>
    					<life>100</life>
    					<tailLife>80</tailLife>
    					
    				</onStart>
    				
    				<onRepeat>
    				
    					<y method="percentRepeat">1</y>
    					
    				</onRepeat>
    
    			</interval>
    
    		</wave>
    
    	</game>
    
    </config>
    snakes on a plane
    Regards Mark Fennell - Flash Kit Founder, general loiterer
    -------------------------------
    I Hate Zombies - iPhone Game | markfennell.com

  4. #4
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    nice one

    zip file just got an update for those that have downloaded it already, just an addition to percentRepeat, it now has a init attribute which is added to the final number.

    also, doc was updated a little, had some errors.
    lather yourself up with soap - soap arcade

  5. #5
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,471
    is the .swf file meant to do that frame jump "you can't click anywhere" thing?
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  6. #6
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    huh?
    lather yourself up with soap - soap arcade

  7. #7
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    just a quick update, added the distance function in, useful for giving something a speed relative to its starting position
    lather yourself up with soap - soap arcade

  8. #8
    Who needs pants? hooligan2001's Avatar
    Join Date
    Apr 2001
    Location
    Somewhere
    Posts
    1,976
    tidenburg it's written with AS3 so if your using flash 8 or earlier it will do that, when opening it through the .swf file. Try opening it in your browser if it has the most recent version of the flash player.

    mr_malee long time no speak, good to see your still pumping out these sexy games. I'll have a fool around with this and see what I can come up with

    Now to go back into hiding.

  9. #9
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    ladies and gentlemen, mr hooligan2001

    *insert burke backarack jazz track

    has been a long time. There's been some small updates to the file, same link if anyone's trying to make a wave.
    lather yourself up with soap - soap arcade

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