Making Packages?
- Jawnduss
-
Jawnduss
- Member since: Jul. 18, 2012
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
So, I recently invested a lot of time into a simple Space Invaders like game, I've gotten the movements, scrolling background and health bar all set up.
I decided that, before i go any further I should put everything into a package and separate the files (animations and code) because I've been told writing directly onto the frames can be problematic. If anyone could tell me the difference between writing in these two ways (on frame and externally) I would appreciate it.
I know it's set up differently, but i don't know how to approach the external version, if anyone knows any good tutorials or anything, or has any good advice or can simplify anything for me I would greatly appreciate it.
Everyone here has proven to be so helpful over these past few weeks that I decided to take a journey into action script and i really just hope i'm not being too much of a burden by asking these simple questions.
- bumblefish
-
bumblefish
- Member since: Feb. 26, 2013
- Offline.
-
- Forum Stats
- Member
- Level 05
- Game Developer
At 2/25/14 12:24 AM, Jawnduss wrote: So, I recently invested a lot of time into a simple Space Invaders like game, I've gotten the movements, scrolling background and health bar all set up.
I decided that, before i go any further I should put everything into a package and separate the files (animations and code) because I've been told writing directly onto the frames can be problematic. If anyone could tell me the difference between writing in these two ways (on frame and externally) I would appreciate it.
I know it's set up differently, but i don't know how to approach the external version, if anyone knows any good tutorials or anything, or has any good advice or can simplify anything for me I would greatly appreciate it.
Everyone here has proven to be so helpful over these past few weeks that I decided to take a journey into action script and i really just hope i'm not being too much of a burden by asking these simple questions.
If you wanna checkout some tutorials, I suggest you try here: http://www.emanueleferonato.com . As far as flashCS, I might not be much help, as I use Flashdevelop, and use the flash library. As far as the last post that I commented on, my suggestions were kinda taken out of context, as you do need to maintain a good structure for your games. I also work out of a library that just isn't suited for what all I want it to do, therefor I am constantly adding to it, and just didn't feel like going into full detail on where and when and why I need to use the static keyword, which mostly is to add to the library, or when I make a class that my gamestate needs information from. Another suggestion is to check out some stuff from Colin Mook.
If you wanna export your stuff from flash and write your code in a development environment, there are a few IDEs out there, but I prefer Flashdevelop, which is also free and open source.
- Jawnduss
-
Jawnduss
- Member since: Jul. 18, 2012
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
:there are a few IDEs out there, but I prefer Flashdevelop, which is also free and open source.
I just recently downloaded this but haven't actually used it yet, i'll check that tutorial probably later tomorrow though.
- milchreis
-
milchreis
- Member since: Jan. 11, 2008
- Offline.
-
- Forum Stats
- Member
- Level 26
- Programmer
At 2/25/14 12:24 AM, Jawnduss wrote: If anyone could tell me the difference between writing in these two ways (on frame and externally) I would appreciate it.
read this:
http://www.untoldentertainment.com/blog/2009/08/25/tutorial-understanding-classes-in-as3-part-1/
and the other 3 parts

