22 July 2011

Quick update

I realised while lying in bed last night that there is no reason to have the arrays keeping track of the x and y values of the bullets, because those values can be taken from the bullets on screen once they've been created. So I got rid of those arrays and changed all references to bullet_xs[] and bullet_ys[] to _root.['bullet_'+bullet_IDs[a]]]._x and ._y. Its always better to reduce the number of variables and arrays used in the program to conserve memory. I mean, this particular change will probably make very little difference to the memory usage of this game, but it's better practice, so I changed it.

Also, I'm not going to be doing any more work on the game until after the weekend, so it'll be a few days until the next post. I just wanted to say thanks for all the comments, I'm glad you guys are interested and enjoying the blog!

Have a good weekend everyone, and I'll still be checking everyone's blogs over the weekend even if I'm not posting.

Oh, one more thing, if you like the blog and you use stumbleupon you should thumb me up!

21 comments:

  1. certainly enjoying! can't wait for your updates

    ReplyDelete
  2. I don't have stumbleupon...

    But man, you ARE a find~! I've been thinking about getting back into programming, even a little bit, and tech posts like this are doing nothing but slaking my thirst for coding.

    Followin' ya, will check ya out further!

    ReplyDelete
  3. Thumbing you up once I make an account, because you put a lot of effort and its interesting stuff, dude.

    ReplyDelete
  4. ive been looking to become a programmer of a sort, im trying to learn javascript right now.

    ReplyDelete
  5. @That Bastard From Bellingham - I know what you mean, theres something about coding that just gets under my skin! I really enjoy the challenge and then when you get something to work properly, it's like "YEAH! I did that!". I dunno it's awesome.

    Thanks for commenting.

    ReplyDelete
  6. @Genetics Thanks for commenting, and thanks for the encouragement! I'm glad you enjoy it.

    @Jack Good luck with it, if you're like me you'll really enjoy it.

    ReplyDelete
  7. this is great!

    http://afdreview.blogspot.com/

    ReplyDelete
  8. interesting, im new to this blog but its very cool! im excited to see an end product

    ReplyDelete
  9. Nice to see a fellow game dev blogging about the technical stuff. I'll be following this one.

    ReplyDelete
  10. When I tried to make a game in flash I failed horribly. It looks like you're going great, don't give up!

    ReplyDelete
  11. I love amatuer programmers, we can related :D

    ReplyDelete
  12. Have a good weekend mate, will look forward to future posts and seeing the game developing!

    ReplyDelete
  13. thats nice, keep it up!
    +followed

    ReplyDelete
  14. I hope you make progress on your project. Good luck!

    ReplyDelete
  15. nice, looking forward to ya updates!

    ReplyDelete
  16. Have a good weekend yourself, mate! :)

    ReplyDelete
  17. Not what I normally keep up with, but I may learn something :D

    Following

    ReplyDelete
  18. hey ill thumbs up you, bro. good blog

    ReplyDelete
  19. Yeah, the best programmers are not the ones who can write a lot of scripting but the ones who can make big things by writting only a little!
    That's great man, and it's fun to see your progress through your website! Keep it up!

    ReplyDelete
  20. Yeah I definitely need to get better at writing efficient code I think!

    ReplyDelete
  21. dude this is so useful. so glad I followed:)

    ReplyDelete