|
Post by montycarlo on Jul 19, 2007 8:03:09 GMT
I know its been a long time, but ive been caught up with a lot of other things, so now its time to tell you what ive been doing:
-almost absolutly nothing.
BUT i have been making way on how to shorten my code, and i have figued out a way to make my 40,000 line code into a 5,000 line code. This will save me a few weeks of time.
|
|
|
Post by montycarlo on Jul 29, 2007 5:58:46 GMT
Time for another update.
-Almost finished level 1.
Thats it xD
|
|
|
Post by montycarlo on Aug 5, 2007 8:51:23 GMT
NOOO!! WHY DID THIS HAVE TO HAPPEN? God dam. I have hit a Major problem. Because of all the different weapons, the hitTest scripts are unbelievably long. It slows down the whole game so much, it is unfit to play, due to the levels are timed-based. I cannot have more then 1 bullet from each weapon, so the game's weapon bullets will be sliced in half. Sorry to say this guys, but it's a big delay, so i have to get started right away. Ps: I've completely completed the first level exept for 19/20 of the weapon hittests.
|
|
|
Post by montycarlo on Aug 5, 2007 9:41:54 GMT
The Problem is worse then i originally thought. It slows down with even 2 front bullet's for all hittest's. But i think i have found a way around it. i'll fasten up the delay's, but make the way it shoots change for every bullet, if there are 2 or more. There might still be hope
|
|
|
Post by yuriks on Aug 5, 2007 17:45:53 GMT
Is it just me or you have some very shitty programming there? Or is it just Flash that sucks?
Instead of checking by special case each bullet, treat each bullet as just that, a bullet, not a pulse cannon bullet or watever, and test it against collisions.
|
|
|
Post by montycarlo on Aug 6, 2007 7:38:24 GMT
Is it just me or you have some very shitty programming there? Or is it just Flash that sucks? Instead of checking by special case each bullet, treat each bullet as just that, a bullet, not a pulse cannon bullet or watever, and test it against collisions. It is flash that is sucking, i have all the bullets that are named Bullet1 to Bullet 20, and then a few a's and b's if the weapon shoots too many bullets at once, but i've worked out a little way that will help a lot, and the game would run smoother then it did before also.
|
|
|
Post by dude42 on Aug 6, 2007 11:27:03 GMT
I think its more the technique you're using, try dynamically creating each bullet as you need them, rather than have all 20 already made. Same goes for enemies, have them dynamically added to the stage rather than timeline based.
The other main point is how often are you calling your hitTest algorithm, is it every frame or on a timer?
|
|
|
Post by montycarlo on Aug 6, 2007 12:10:05 GMT
I think its more the technique you're using, try dynamically creating each bullet as you need them, rather than have all 20 already made. Same goes for enemies, have them dynamically added to the stage rather than timeline based. The other main point is how often are you calling your hitTest algorithm, is it every frame or on a timer? 1. Spawning them when needed. 2. Spawning them when needed. 3. Loop'ed ( enemie1-12) And i have figured out a way to fix it, and it works, i have all the front weapons successfully working now, ;D I'll post a demo on my new site with the first level after i finish the other weapons.
|
|
|
Post by montycarlo on Sept 10, 2007 9:11:00 GMT
Working on Level 3! ;D
|
|
|
Post by death on Sept 10, 2007 22:28:22 GMT
the level design is different from the actual game right?
|
|
|
Post by montycarlo on Sept 11, 2007 3:03:44 GMT
Well these levels are loosly based off the original one's, But after i finish the game off i'll probably be making some more unique levels.
|
|
|
Post by death on Sept 11, 2007 22:55:42 GMT
ok.
|
|
|
Post by montycarlo on Sept 14, 2007 6:44:04 GMT
It'd be better if i got you guys to design a few levels, i think you'd enjoy them more and they'd be more interactive So, if you would like to design some levels for the game, just say so and send me a plan. You will be credited.
|
|
|
Post by montycarlo on Sept 16, 2007 3:44:09 GMT
:\ No one wants to design a level?
|
|
bb1
Member
Posts: 256
|
Post by bb1 on Sept 16, 2007 4:08:48 GMT
when you say level design do you mean with GUI or raw code?
|
|