SirSchmoopy -> RE: Flash Q&A thread 3 (5/18/2007 7:23:29)
|
today only 1 day :) and also i like drawing the best, i rock at drawing in real life, and its a fun practice. quote:
ORIGINAL: Jergal If you want to end up making a real game you will have to concentrate on the programming part in priority. Flash is nice because you can make decent little games with a few gotoAndPlay and eventually some hitTest, but you will not get very far without focusing on programming. Unless you just plain enjoy drawing and do not care much about the rest (which is utterly respectable, artists are the cool). A few things that will help in the kind of game that you want to make: - Dynamic Z-sorting (depth management, the player can walk around an object and appear on top of or behind it depending on the relative Y coordinates) - Collision detection (be careful with hitTests, they use a lot of memory. When you have to test many objects it is better to switch to your own methods. And a very important part of collision detection is "what to do if objectA and objectB do collide ?") - Grouping your code (OOP may be a bit hard if you just started. Another way to have your code neat and organized is to group it in one or few places. Having your code organized is extremely helpful for any program that consists of more than the few gotoAndPlay and hitTest I mentionned above. Use instance names to target your objects, and only one main onEnterFrame that will group all the tasks that you did with onClipEvent(enterFrame). There are better ways, but the problem with programming is that when you start, there is so much to learn that you have to aim low at first.) - Forget about chats for now >> The hardest part in programming is to actually think up how the hell you want your objects to behave in a very detailed way. Once you have what you want in mind, you just translate it in computer language. If you start to write your code without knowing exactly where you are going, hoping to get ideas on the heap...you end up with something sucky that you will most likely have to re-code from scratch if you want to build up further. Yah, programming requires mind discipline, like it or not... >> But then again with Flash you can do decent little games without bothering much about programming, so do as you wish, now at least you know what to expect and where to dig. Edit: Damn, I wrote all this stuff when you have 2 days left on your Flash trial ? >>
|
|
|
|