Friday, January 8, 2010

How To Make 3D Flash Games/ actionscript?

Hey! I recently picked up a book on beginning flash game programming and it stuck with 2D games





so just curious, how do you make 3D games in flash?


and What are some good books and/or online tutorials relating to making 3D Flash games?





Thank you! I appreciate all the advice!How To Make 3D Flash Games/ actionscript?
Well, you could use perspective to give the appearance of 3D in your 2D animationsHow To Make 3D Flash Games/ actionscript?
Flash is a tricky thing to master when it comes to 3D animation, it's hard to make an actual 3D environment but it is easy to trick the user into believing the game is 3D. Simple tricks for 3D are the use of layers and scale of course. If you make a box in the center of the screen then join it to the sides of the flash movie you make a depth perception, this is the first step to 3D, next changing the scale will change the depth, smaller = further away, bigger = closer. It's not hard to fake 3D, just don't go making complex games that you can't comprehend, for example i have made a simple target range with targets that move closer to the screen, failure to shoot the target before it get's to you means you lose life. Simple when you think about it.





Hope this helps Astano
There are several open source projects that provide the guts you'd need for 3D in Flash -





Papervision 3D http://blog.papervision3d.org


Away 3D http://away3d.com


Sandy 3D http://www.flashsandy.org/blog/





And there are some others out there -


http://www.google.com/search?hl=en%26amp;safe=鈥?/a>





I use papervision, but you can just check out the blogs on the sites above to see what you might want to use. These tools are too new to have books, but there's some great tutorials out there. You can preorder the papervision book (see below).





Also, try searching for FLARToolkit to see some really cool browser-based stuff!
Probably playing with perspective would be your best bet. That or using objects 3D created in Photoshop CS4 might work as well.

No comments:

Post a Comment