ActionScript 3.0 :: Writing 3D Engine From Scratch?
Aug 5, 2009
I would like to write a very simple 3d engine just to learn it. I have some knowledge about 3d in as3 and perspective concept but I would like to see some tutorial about where to start to build it.
View 3 Replies
Similar Posts:
Apr 21, 2009
I googled this online, and almost all of them start with dragging the scrollpane from the component toolbar.
I don't like the way this scrollpane looks. How to change the color, shapes, etc. Can I do this through altering the code, or do I need to start from scratch?
View 5 Replies
May 4, 2009
I need help building a site entirely on Flash from scratch. I am a beginner at the software, I know what most tools do, I know how to create basic tweens and stuff, but well, all in all, I'm a beginner. I know absolutely nothing on Action Script (be it 2 or 3), and I want very much to learn Flash now. To do so, I want to put online a portfolio site for me. I already know Photoshop, Illustrator and After Effects quite well, so I think now's the time to give it a shoot. On to business:
1. So, first, what size should it be? I wanted it to be something around 1024 x 768 maybe? Is it possible to set an adapative resolution for the site? (I don't know if that's the correct term, what I meant is that the site changes resolution according to the users who are accessing it.)
2. I heard that if you don't use ActionScript to animate things, the site gets mega heavy. Is that true? What should I use ActionScript for when building this website?
3. Is it possible to organize the loading priorities? As in, the order in which things load, so that the site gets a bit more dynamic allocating the user's connection?
4. Are there global standards for Flash-based websites?
For now, I guess this is it. I'm starting this project today, so I'm still not quite sure what other doubts may pop up.
View 1 Replies
Oct 12, 2009
Is it possible to make a Tilecomponent from scratch only wiith AS3 ?I want to make a xml driven dynamic video playlist with thumbs and text description but without a premade flash componenent.The thing I can't understand is how-to to manage the "cellrenderer" from scratch
View 2 Replies
Mar 24, 2006
The following code doesn't work on a mac but works fine on a pc. Anyone know how revise it so it works on both platforms?
stop();
startDrag("/coin", true);
MovieClip.prototype.startScratch = function(width){
[Code].....
View 2 Replies
Jun 28, 2009
I was wondering what would be the most optimal way of coding something that work this way: There's 10 buttons, you click button 5 (for example) which causes button 5 to gotoAndStop(2) while at the same time it tells all the buttons which aren't button 5 to gotoAndStop(1)
View 1 Replies
Jan 16, 2007
i have a little scratch and win game that's working perfectly, except i am being asked to make a custom cursor (a coin). now, i can easily make a custom cursor for the whole thing, but i think it looks trashy (especially with it going on a website with ads and the like, how would anyone know to click the ad when theres a freakin' coin over it?
anyways, what i want, is to make the coin only show up when the coin is like... over a "scratchable" box..
View 3 Replies
Mar 18, 2008
Does anyone have any tips for how to approach building a two level accordion menu from scratch? ...or better yet a tutorial? I haven't been able to find anything online other than references to the accordion component which I do not want to use.
Right now I got as far as loading in all the 1st level menu items and their child items from an XML file, when you click one of the 1st level items a function is called which moves all of the 1st level items below the one you click on down far enough so that all of that item's sub items have space, they then attach to that item.
I'm using a for loop within a for loop, is there a better way?
View 7 Replies
Mar 3, 2009
Does anyone know of any good tutorials that will walk me through building an as3 player from the ground up including: clickable seek/progress bar, volume control, and fullscreen support?
Lee Brimelow has a great series of tutorials at gotoandlearn.com, but they are for actionscript 2. He has one new tutorial for as3 video basics but he hasn't gone further yet.
I'm not so good at backwards engineering existing players so I think I'd rather just walk though it. I'd also really like to avoid components and pre-cooked stuff.
View 1 Replies
Jul 8, 2011
Im trying to do a "Pano" 360 flash app from scratch. Using Away3D I should apply an stereographic image very well, everything is working well.But looking in some apps on web (like Panorama), they load only 6 images and somehow they "merge" this 6 images and, I suppose, apply this merge into the sphere 3D. Or it doesnt use a sphere and make kinda illusion of sphere?Could you help me find out how can I merge the images and "apply" those flat, separate images, in my Sphere primitive or, if this isnt the right way, how can I "emulate" those panorama?
View 4 Replies
Nov 16, 2011
I need to create a webcam chat which i intend to use in my website. It will allow two or more persons to video chat through their webcams.I want to develop the webcam chat from the scratch. I have no idea which software to use. I did a thorough search for this topic and alli got is adobe flash with some actionscript is required to build it.
View 1 Replies
Mar 14, 2011
I have started learning about flash about 3 years ago, I had a shot at making a small application for my boss' website and that went down well... but since this first feeling of flash, this technology has evolved rather quickly. I used to write my scripts in AS 2.0, now AS 3.0 has come with a bunch of new stuff like event listeners and such. I have tried to catch up for the past two weeks but I kind of lack some training on all the new stuff added to or changed in AS 3.0.
So to come to the problem, I have tried to make a pretty simple menu from scratch, I wanted it dynamic so I took advantage of reading data in an xml file. I have created buttons but figured that movie clips were actually more flexible so I went down this way and it kind of works except that when i click one of my buttons, the button_down state works once but not twice, it stays as the button_over state even if i click repeatedly. My script is quite ugly as I could not figure out how to loop the creation of my menu buttons from a single set of movie clips (one for the up state, one for the over state and one for the down/clicked state).
View 0 Replies
Mar 19, 2011
I want to create an online q-bank with questions pertaining to a specific medical board examination. This is similar to the way kaplan and other companies creates Q-banks for standardized exams. The reason: No banks exist for these board examinations
what tools would you use to create a Question bank that has the ability to sort questions by user settings, implement timers, keep track of overall performace, display explanations for each questions, and have the options for video explanations. Is ActionScript up to this task?
View 2 Replies
Sep 11, 2003
does any1 know or have done any 'scratch and win' type of game in flash?
View 4 Replies
Feb 16, 2011
I would like to know if any awesome dude knows if there are any AS3 Flex tutorials on the net or in books that explains how to build apps and games from scratch - step by step via Flex
View 4 Replies
Jan 19, 2010
Are there any tutorials available that will show me how to create a multiple class program from scratch? I have 2 classes working with a fla and when I add a 3rd class every object I create comes up as an error.1120: Access of undefined property.I'm very frustrated cause I can't figure what the problem is. I have just migrated to OOP so I'm relatively new at this.
View 2 Replies
Aug 2, 2002
does anyone know where I can get a tut on making a scrolling thumbnail viewer from scratch? I tried to recreate the one in the tutorial here but for some reason I cannot get it to work. I need from scratch step by step (I learn better that way).
View 3 Replies
Nov 5, 2009
I'm trying to make an scratch lottery ticket in as3 by using the bitmapData class. The scratch function is working fine, but I want to add an function that is challenging. When 75% of the lottery ticket surface is scratched of I want to trigger an event.
My ActionScript Code:
var toolsize = skraper_mc.width;
var tooloffset = toolsize/2;
var basepoint = new flash.geom.Point(0,0);
var bitmap:Bitmap=new Bitmap();
[Code] .....
View 4 Replies
Apr 8, 2003
Code:
Scratch = function() {
this.previousClip = null;
this.startScratch = function(clipName) {[code].....
I'm trying to set the previousClip variable (which belongs to the Scratch-class) in the onMouseUp function. I know I'm not doing it the right way, but can someone tell me how to set a the previousClip variable properly?
View 6 Replies
Feb 14, 2011
I'm looking for resources on making an interactive charting component in Adobe Flash without use of Flex (or, minimal use). That is, starting "from scratch" with Flash and ActionScript 3.0. Is there recommended reading? Perhaps a good recent book on the subject, or a detailed blog article, or an open source project to look at? I'm interested in the development process, and specific design patterns (for example, extending Sprite as the logical base class for your component).
View 1 Replies
Apr 7, 2003
I'm working on a project right now, where I need to simulate a "scratch-effect" with Flash, however, the setMask method just doesn't seem to work for me. examine my code and tell me what the *beep* I'm doing wrong?
SWF-file: scratchtest.swf (click)
Source-file: scratchtest.fla (rightclick and save)
View 8 Replies
Jul 30, 2011
figure out why the movie i just made is off stage. I just I don't want to start from scratch or move every object that is off stage onto stage. What did i do to get it here to begin with???
View 1 Replies
May 17, 2010
I have plans for a 3D project but not sure which way to go.
View 5 Replies
Nov 16, 2009
Is there a simple scene management/rendering 2D engine for Actionscript 3 there? All I need is simple engine, wich I don't have time to write on my own for. I googled and found pushbutton, but it seems to be too big for my needs. I need simple scene and rendering.
View 1 Replies
May 23, 2010
I'm thinking about learning a flash 3d engine. I need some advice on which one to use. There's quite a few out there. Which is the best? I'm also considering whether there're a good bunch of tutorials on the web, that can make the learning easy.
View 9 Replies
Nov 28, 2011
My new project consists in setting a CD containing a structured data sheet (CVS, XML or Excel) and a serach engine. The idea is to allow the user (even not connected) to make searches live on the CD. There will also be a up-to-date version of the data on internet so if the user is connected, the application will prioritary load the online data.I was thinking at using ACTIONSCRIPT and XML.My questions are:1- Is ActionScript + XML a good choice?2- Is it possible to think at PHP + XML (so how to embed PHP on a CD without a sever?)
View 1 Replies
Mar 9, 2011
I am in need for some 2D physics seen from "above and straight down". Basicly I can sum it up with a "throwing balls into walls" kinda physics.
There seem to be quite a few physic engines for as3 out there, but I wonder if anyone have anyone special to recommend regarding my particular need as well as performance of the engines.
View 9 Replies
Sep 19, 2009
I recently benchmarked the four most popular 3D engines (Papervision3D, Away3D, Sandy, and Alternativa3D). The latest versions of each. Default settings, no mip mapping or any advanced features turned on.My main reason for doing this was to see how my 3D engine compared, performance wise. But I thought I would post the benchmarks, as I'm sure some of you might find them interesting, or useful, if you use Flash 3D engines.First I'll explain the benchmark and why I did this particular test. It's 1000 texture mapped planes, 100 by 100 pixels, each comprising of 2 polygons. So that's 2000 polygons and 4000 vertices being rendered per frame.Now my reason for doing textured mapping is because the vast majority of people are going to use texture mapping in their 3D work, as opposed to wireframe or vector filled polygons, so obviously the texture mapping performance is important.And I decided to do 1000 small planes, rather than just one huge 2000 polygon plane because this test has a significantly larger amount of vertices than 1 big plane, thus being more of a test for the 3D transformations.Also being that there are 1000 planes, it tests how quickly the engines traverse the list of models, do the transformations, and add them to the renderer each frame. Again, this is more of a task than having just 1 model.Now as for the results, funnily enough, they are pretty much ranked in terms of popularity Papervision being the clear winner, then Away3D, then Sandy, then Alternativa.I get 19fps for Papervision, about 11fps for Away3D, 7.5fps for Sandy, and a shocking 2.5fps for Alternativa.It's given me a new found respect for Papervision. It has very respectable performance, much faster than the rest in terms of raw poly pushing power. I previously thought PV was overrated, and it's success mainly due to great marketing etc, but no. From the demos etc, I thought away3D would be faster, but actually PV is almost twice as fast.It's impressive that they've created a very easy to use, versatile and user friendly engine, with pretty good performance to boot. I think underrated PV before, because I'd seen fairly simple things like a 3D menu, or some 3D images run at like 10 frames a second and use 75% of the CPU. In hindsight, this was obviously just some horrible programming, by people who didn't know what they were doing.
I thought I would stick up for Alternativa though. It might lose badly in terms of raw polygon pushing, but it's a very advanced engine, and goes about things in a different way. The reason it can handle those big scenes in the demos on their site is because of some fairly advanced clipping and dynamic triangulation, minimising the amount of polys being rendered at any one time. Particularly the dynamic triangulation. Objects that are further away have their polygons reduced dramatically, then more polygons are added when viewing up close, particularly at an angle.Kind of surprised about Sandy. Having a skim through the classes, it seems pretty well written and fairly lightweight and streamlined. Papervision seems a bit bloated in comparison. But PV's code is clearly far more efficient.I'd also like to say this doesn't mean you shouldn't use Away3D, Sandy, or Alternativa. Obviously I explained A3D above, and I know Away 3D has a lot of features that people like, and things generally look quite good in Away3D.
View 7 Replies
Nov 12, 2010
just uploaded my first flash website..and I'm having difficulty working out how to get google to 'see' it.
I've registered the site with google and have a very specific phrase in the <title> tag of the html code but the more I investigate, the more complicated it seems..Can anyone point me towards a step by step tutorial or something to get my site in the top 10 results?
View 5 Replies
Jun 16, 2010
How the heck do you Kern in Flash CS5 while using the new TLF text engine?
There's no letter-spacing control and the keyboard shortcut doesn't work.
I'm not interested in auto-kerning. I'm looking to tighten up large text like headlines and logos and stuff.I'm starting to suspect it can't do it.
View 8 Replies