Contest question and a mistake in the Shoot code (as3 version)

Subscribe to Contest question and a mistake in the Shoot code (as3 version) 3 posts

Sign in to reply


 
avatar for tonedog tonedog 1 post
Flag Post

I thought that the shootorials were quite a cool idea and even more so with the contest so I went ahead and downloaded the flash cs3 trial. Then I realized only the first 3 shootorials were out now. I also noticed tho that the full code for the Kong version is available for download in AS3 so I am looking at that trying to see what I can pick up from it.

Does the contest entry have to be in AS2 or can I do it in AS3 (assuming I can pick it up from the code)?

and as for the mistake I found in the full code, it is in the enemy ship class, initShootingInterval function:
//each enemy ship will shoot at a random interval between 2 to 4 seconds…
var interval:int = Math.floor(Math.random()*3) + 2000;

In order to match with the comment (and to have more than a .003 second variance) the *3 should be *2000

 
avatar for explodingferret explodingferret 1505 posts
Flag Post

I have what seems to be another bug… the source_assets/Sound/beepx3.wav file in the AS2 source zip doesn’t seem to make any sound. (The AS3 source zip doesn’t have the sound files at all, except embedded in the .fla)

(EDIT: well, I managed to pull the mp3s from the as3 swf file and find the beepx3 one. So, never mind)

 
avatar for Cervello Cervello 76 posts
Flag Post

I shouldn’t matter if your submission’s in AS2 or AS3 (just as it doesn’t for any other game you submit), and they have the full source for download in AS2 as well if you want.

Note the AS2 version had slightly less graphics than the AS3 version the last time I checked, but functionality should be about the same – the point is having an easy model of how to do key inputs, movement and all that other funs stuff.

Sign in to reply