Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




AS3 Goes 3D, What Engine Do You Use



Well, this is slightly off topic, but would like to ask the community what 3d enginethey prefer: Away3D, Sandy3D or Papervision. I guess, Papervision is the most popular and has the largest core developer team.The documentation and availability for free Tutorials is comparatively bad. I seems that the developers rather want you to charge for visiting workshop where you could get really usefull informations. Away3D has a strong similarity with the Papervision also concerning the availability of usefull tutorials and documentations.( i mean, looking at 500 lines of code is not a tutorial for me) Sandy3D looks very promising, has a good source of tutorials. Sandy3D has the most advanced (say the most developed) shading and lighting, at my opinion. So what are you guys using (or want to use) ? I have no doubt that AS3(+ASX) and 3D is THE future of Flash (rather than for Flex). Keith



KirupaForum > Flash > ActionScript 3.0
Posted on: 01-17-2008, 09:15 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Engine Help
I made a car game a while ago, now im using the engine to make a new one, and im trying to improve the collision, but its not working

http://www.geocities.com/damakalaka2k/streetrace01-theory.html
[UPDATE: Fixed link!]
As you can see (in training mode, using the keys) the car can go into walls, and i dont want that.
Can anyone help me? the Fla is there and here is the car coding

onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
speed = speed + 1;
}
if (Key.isDown(Key.DOWN)) {
speed = speed - 1;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(Key.LEFT)) {
_rotation = (_rotation - 15);
}
if (Key.isDown(Key.RIGHT)) {
_rotation = (_rotation + 15);
}
speed = speed * 0.98;
x = Math.sin(_rotation * Math.PI/180) * speed;
y = (Math.cos(_rotation * Math.PI/180) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.6;
}
}

AS2 Xml Engine
I am a bit of trouble finding a good working example of: extracting xml data using an AS2 class. I'm trying to figure out how this new way of doing things works. Could somebody point me in the right direction? Thanks in advance.

How To Use As3 3d Engine
Hi , i need some know about 3d engine and usage this , thanks

AS2 3D Engine
Does anyone know where i can get my hands on a AS2 3d engine? Or a very good tut with lots of code?

Trying to recreate the xmen 2 menu for a client.

Any help is appreciated.

Sean

Rpg Engine Please...
hey guys. i was jsut wondering if anyone has a fla that they could send or an rpg engine with, friction, realistic turning, carbraking, skids(optional), and the annoying Precision hitTests...

i have mAde one up myself but the hit tests are screwy and glitchy.
the character stops suddenly(friction start works).
only 8pt turning.
cant get real car physics.
cant do skids...

any help very greatly appreciated..

Any One With With A 3D Engine
is there any one here who can give me simple sample/tute on 3d mapping engines?
am new to flash and am not very familiar with the math function

HELP - As3 Engine
Hello to all.
This is an outstanding website, thank you all for the help...

Right now i have a trouble.

I need to do a work for the university but i really dont know how to !!

I will try to explain:

I need to do a Football (soccer) Field with all the 11 players on it.
I will use Drag-and-Drop to put them on the field.
Then i need to save the tactics that i made with the players, all the 11 coordinates from the players must be save, because i need to do several tactics and save them all.
Next step is when i want i can load them again.
How can i do this ?????

My teacher gives me no indications at all, and says that my research is the most important thing.
He also says that i need like an engine to do this...
The only thing he told me is to look in XML...
I also feel like a clown at him right now because i have got nothing to say to him.
You must HELP me guys you're my only HELP

GREATINGS FROM PORTUGAL

AS2 3D Engine
Does anyone know where i can get my hands on a AS2 3d engine? Or a very good tut with lots of code?

Trying to recreate the xmen 2 menu for a client.

Any help is appreciated.

Sean

3d Engine Help
anybody who has read my other threads will probably be able to deduce the project I'm working on after a while, but this is another obstacle I have to tackle so here goes:

I'm am a little slow at picking up the whole multi-deminsional array bit. But anyhow, I'm trudging along. I read the application aritcle at macromedia.com about constructing a 3d engine, and don't get me wrong its sweet. Here's the deal.

Using the dynamic drawing functions of Flash MX, how is it possible to draw simple 3D primitives. (I wasn't the greatest at math) I need a twenty sided polygon, a twelve side polygon, as well as a ten and eight sided polygon. Also, I need to draw a cube and a pyramid. Any and all feedback is appreciated.

3D Engine Tutorials.
Can anyone point at to a tutorial on how to create a 3D engine. I saw the tutorial here at Flashkit but it is a very bad tutorial with messed by Flash 4 code, and no explanations.

I know of a few .fla`s but they arent as easy to learn from as tutorials. Anyone able to help me?

Cheers.

Type Engine
I'd really like to build myself a simple engine for creating text effects like those on 'flashtyper'. Can any of you kind souls point me in the right direction for a tutorial on the subject or some source files to deconstruct?

Thanks

Search Engine
I putting in a section where I need alot of links to be grouped together by the person imputing a word. I was if flash can be set up so it can be a mini search engine.
I hope you understand the question.

Triangle Engine
wonder if anyone can find the bug in the rotation? To test, make a movieclip with a right triangle 100x100 downward slope (like baseline). thanks! (function call: mTriangle(name, x1,y1,x2,y2,x3,y3)

function len(ax,ay,bx,by)
{
res = Math.sqrt( (ax-bx)*(ax-bx) + (ay-by)*(ay-by) )
return res;
}

function ang (c, a, b)
{
res = (c*c) - (a*a) - (b*b);
res /= (2 * a * b * (-1) );
res = Math.acos(res);
return res;
}

function drawBigT(name)
{

_root[name].attachMovie("rightTriangle","1",_root.depth++);
_root[name].attachMovie("rightTriangle","2",_root.depth++);

h = _root[name].c * Math.sin(_root[name].aB)

_root[name]["1"]._yscale = h;
_root[name]["2"]._yscale = h;
p = _root[name].c * Math.sin( (Math.PI / 2) - _root[name].aB);
q = _root[name].a - p;
_root[name]["1"]._xscale = -p;
_root[name]["2"]._xscale = q;

_root[name].h = h;
_root[name].q = q;
_root[name].p = p;


}
function mTriangle(name, ax,ay, bx, by, cx, cy)
{
_root.attachMovie("buffer",name,_root.depth++);
_root[name]._x = 0;
_root[name]._y = 0;

a = len(bx,by,cx,cy);
b = len(ax,ay,cx,cy);
c = len(ax,ay,bx,by);
if (a >= b && a >= c)
{
max = ax; may = ay;
if (b >= c)
{mbx = bx; mby = by; mcx = cx; mcy = cy;}
else {mbx = cx; mby = cy; mcx = bx, mcy = by;}
}
else if (b >= c)
{
max = bx; may = by;
if (a >= c)
{mbx = ax; mby = ay; mcx = cx; mcy = cy;}
else {mbx = cx; mby = cy; mcx = ax; mcy = ay;}
}
else
{
max = cx; may = cy;
if (a >= b)
{mbx = ax; mby = ay; mcx = bx; mcy = by;}
else {mbx = bx; mby = by; mcx = ax; mcy = ay;}
}

_root[name].a = len(mbx,mby,mcx,mcy);
_root[name].b = len(max,may,mcx,mcy);
_root[name].c = len(max,may,mbx,mby);
_root[name].aA = ang(a, b, c);
_root[name].aB = ang(b, c, a);
_root[name].aC = ang(c, a, b);


drawBigT(name);
_root[name]["1"]._x = max;
_root[name]["2"]._x = max;
_root[name]["1"]._y = may;
_root[name]["2"]._y = may;

// ERROR in rotation calculation alg here
dist = len(mbx, mby, max + _root[name].q, may + _root[name].h);
rot = ang(dist, _root[name].b, _root[name].b) * 180 / Math.PI;
_root[name]["1"]._rotation = rot;
_root[name]["2"]._rotation = rot;
trace("rotation angle: " + rot);
// END ERROR

}

Search Engine Help
I'm trying to get my flash site picked up by a search engine.
I'm aware that I have to make <meta tags with keywords in them for search engines to pick up the site in notepad html. I'm just wondering whether it's the same for flash. Do I just add the tags and keywords into the published html file? Could someone please advise me. Many thanks in advance.

Search Engine
Dear Guys,
Can anyone help a novice on how to put search engine capabilities in Dreamweaver, or web page period, and does this cost money. Also, I would like to put a confirmation page that I want to come after a user enters information in a form. Does anyone know how to do this with Dreamweaver?
I'de appreciate all the help I can get?
sames

Search Engine
This is a very open ended question...I am lacking a search engine for my Flash-based web site. I need to be able to search for inventory on the site. Is there a way to incorporate a search engine in Flash and can someone steer me in a direction that would be where I would start from please.


Thanks to all of you.

Game Engine
Please can someone help with this..
I am trying to make a game engine, and one of the elements is to be able to dynamically place characters on the screen.
I need to have each type of character in the library, so I can simply attach it as a movieclip and position it on screen (I will need to do this dynamically, possibly from an external database request).

To do this I need to have all the code contained within the character, for example onkeypress etc to make it walk.
At the moment I have one main movieclip, and then inside this are 8 more movieclips, inside each of which are about 10 frames of the character walking in a certain direction.

I will need to create loads of characters, so I would like to just replace the walking frames for a new character or something, but at the moment I need to duplicate 8 movieclips and change all of the frames within each movie clip each time I want a new character.

I thought about having each character as an external .swf and loading it in, but I really want everything to be contained in one movie.. I'm really not sure what to do..

any help would be greatly appreciated

Search Engine
I am making a data CD using Flash 5.0 and Frontpage.
Is there anyway to creat a keyword search engine to search just the information in the CD.

Thanks.

Search Engine
I have a large image gallery that is simply organized in a folder structure in Win2k. Is it possible to create a search engine and Flash interface so that I can search for an image using keywords and have the thumbnails come up in in the interface. I guess the question I'm asking is-is it possible to create an image browser using flash?
Thanks
Andy

Saerch Engine
I am looking to add a completely all flash search engine into my stand alone project but I have not idea how. I want to be able to have a set/list of words / pharses and have the person using or looking at the movie to be able to type a word into a "search box" and depending on if the word is in the list of words to go to a certain keyframe where it will have the info on that word. Also if the word they type in does not exist in the list to go to a defualt "word not found" frame.


Is this at all possible to anyones knowledge? If so can ya help me out with it? I don't know a heck of a lot (if any) actionscript so please speak me like I am idiot on the matter.

Oh, this is for version 6 or MX of flash.

Is This A Possible Search-engine?
Hi all, need some thoughts on this one before I begin...

Let's say I have a flashmovie with 400 different brands, each brand has there own page (frame) in my flashmovie to show contactaddress etc.

That means a lot of frames and work ;-)

Now if that is finished and I'd labeled all frames with the corresponding brandname, can I make a simple search-engine for that? I am thinking about a inputfield where you could type a brandname, and then in actionscript a GotoAndPlay action that will use the variablename of the textfield to jump to the right frame?

Will it work? Or will it crash because of too many frames/labels?

I cannot find something similar, and don't have any experience with real database files etc.

Hope to get some tips about if it's a good (enough) way or maybe suggestions for a better one! Thanks.

Word 3d Engine
im searchig for a dinamic site with a central word linked with lines to other words by concept, the nearest words are like sinonims, the words are floating in the space and if you click in a some word it becames in a central word and show other words linked ...a very close aproximation like the logic knowlegment language links works . some day i find the site but i lose the link please helpme . tks.

this site are an example for a mainsite of a company that works wiht dinamic data base ...the domain includes the word pipe ...i think...i try pipeworks.com but not exist...and send me to pipeworks.net but this site is a game developer site.

tks to all

malex@myrealbox.com

3D Navigation Engine
greetings,

does any one have experience codeing an interactive 3D navigation engine in flash [v.5/MX]? we are trying to asses here, how feasible developing such an engine would be once we get hold of the math. maybe there is such code available somewhere...?

any tip much apprichiated.

/d.

Search Engine
hi evrybody,

I'm having problems with my search engine.

I created this search engine in Flash in the header of the site that comunicate with the "Html" site that seen beneath.

The site shows 2 languages: English & Hebrew.

When i'm searching a word in English it works perfect. The word i have written is found/notfound by the "Html" site.
The problem starts when i'm clicking the search word in Hebrew. In the search engine field the Hebrew letters are shown correctly. But after i click on the search button the "Html" site replays in jibrish letters! ( "The word &^%@(*& is not found").

this is the code i worte:

}
on (release, keyPress "<Enter>") {
getURL("http://www.wingate.org.il/site/he/wingate.asp", "", "GET");
}

Is it connected to "GET" or "POST"? Is the server type influence it?
Any help at evry direction will help me.

Thanks ahead

Serching Engine?
Hi

i want to do a serching engine in flash is it posible?

Search Engine
does any one knows how to set a search engine to search strings with in flash?

Search Engine, How Too?
im having problems getting my website to work on any search engine

im using Flash.5

Uploading using Microsoft Frontpage

i need my site to be advertised for free on any search engine??

do you know of a free search engine and how to make a flash website show up on the search???

Search Engine
Hi m8, me again...hard one now..

How can i make a basic search engine that looks inside the frames of a mc for the key word?

I have a movie clip with lots of frames, and inside those, i have static text fields... i wish that when the word is found, it duplicates the movie clip and direct it to the frame that has that word..is that possible?

Search Engine
Hi ... i designed a site using flash and i added a Search Engine text field , that i want it to make an External search (by google,msn... or any thing) NOT search inside the site.

So i only made up the design and makes the text field as Dynamic text ... and i dont know how to continue using action and stuff

need your help Guys .

Search Engine Help
Hi guys (and girls)

I kep hearing that flash is bad just because search engines are unable to list flash sites.

Is there any good tips of getting a flash site "listed" by search engines?

LEROY

Search Engine SDK
-whats the deal with this?
-who is currently using it?
-why isn't everyone using it?

EDIT:sorry i didn't see some older posts... in any case, if there is software why aren't people using it?

Lets Try This Again...D&D Engine
alright, I guess persistance is the key to getting answers.

As mentioned in a post a couple days ago, I'm working on a game engine for a D&D style rpg. Currently, I'm just focusing on the fight system. I think I've narrowed the problem down the a variable that mediates the turn. Basically, the system goes like so: turn 1--the player rolls hit dice, turn 2--player rolls damage dice, turn 3--the bad guy (computer ai) goes. So, I have this variable called turn. When player attacks, the resulting number needs to be higher than hit dice. If so, then the variable turn goes to 2 and player rolls for damage. if NOT, then turn goes to 3 and the bad guy goes.

instead of posting all this code, i'll attach the fla. Right now I have "turn" being mediated buy a function on the main timeline and referanced that way on the attack button.

Since I did that, my engine doesn't work at all. Before I was just having a problem with the damage button working all the time instead of only when turn==2.

maybe i'll get some help this time.

Search Engine Help
hi, i was just talking to someone who said that google etc search engines cant read flash! is this true? how can i have my full flash site on google then?

thanks.

Chat Engine
Hi Guys,
i dont know if this is the place where to post this or not
but i will try
IM looking for a someone who can give me a good price for developing a flash chat engine just like this one
http://www.contactsandpersonals.com/

i dont mind about the design, i will handle it but i need the same concept
if you are intrested to give me a good offer, plz do.

Help Needed With RPG Engine..
Im in the middle of trying to make an RPG engine,and I have most things working..but theres two things Im stumped on.

I have one button, which takes away 3pts of health from the enemy, tells target on your character, and makes him do the attack1 animation. Now, at the end of the attack1 animation, the enemy is then meant to play his attacked animation.. so I used

tellTarget (Knuckles) {
gotoAndPlay (4);
}

But instead of making the enemy play the animation, your character just keeps playing his attack animation over and over again... which is odd, because at the end of the attack animation, theres a goto and stop (1) .. So I decided to make the attacked animation play at the same time,and just delay the actual animation process. When I tried that, the movie itself went back to frame 4. Can anybody help me?

In the most basic of terms, In a movie scene, I want it to telltarget on knuckles which is in the main movie, and play from frame4 onwards.


Now, problem number 2..
When someone clicks an attack/magic button, I need it to disable the button, and allow the enemy to make one of 3 moves (jump to 1 of 3 frames), and then re-enable the button..

And finally, Problem number 3!
Is there any way to select a random number between say, 5 and 10?

Thanks
- Tell


Oh,and for the record, Im using Flash5

Search Engine
Someone told me that apart from Meta tags, there are other ways to appear higher up in the search engines. However this can't be done using Flash only HTML. Is this true?

Chat Engine
Okay, I have tried this several times, using ASP, and PHP. But I can't seem to get it to work in either case. Has anyone built a chat engine in Flash? I would be extremely curious to see how you went about this. If anyone can help I would greatly appreciate it.

Search Engine
pls help me....

i have a unicoded txt file:

row1 row2 row3 row4
1234653 hdgshs 12 cfhfdh56
9483634 eifned we fgd456
8373642 dfsddf sd dfdfdf
343434 dsddsd 56 454dsf
343434 sdsdsd df dsfsd4
3434343 sdsdds 65 56ffhh

how can make a search for this txt file, and run in flash. (like data base engine).
do i need a script for this or an external application that link to run the search engine in flash.

thanks

XML Search Engine
Hi I have seen an example of a xml based search engine here at flashkit, see: http://www.flashkit.com/movies/Scrip...2793/index.php

I would like to do a small configuration in this script but I can't seem to get it to work. When I run the search and if there are matches then I want the title to become a link.

Please follow the link above to see the xml document.

Hope someone can help. Thanks

3d Engine Opinion...
Hi everyone,

Ive got a 3d engine working (sort of).
http://members.aol.com/davllew/cube.html

I was originally going to code this to have a game running.
the problem is, im not sure how much the frame rate will handle (polygon wise).
the game im thinking of making would probably have at least 150 polygons being handled at any time.

do you reckon it would slow the frame rate to a hault?
anyone with 3d engine experience in flash with experience could help im sure

(can You Help?)jumpy Nav Engine
Hi everyone, I came across this nav engine and it looks wicked. If you click on the pages in turn you scroll smoothly forward and if you click on the first you scroll smoothly back. If your on the first page and you click on the fourth (or any other page other than the second) it jumps to that page. Can anyone add anything to the code to make it scroll smoothly both ways? Thanks
cj

Search Engine
i am a total noob i posted before for help on a search engine on that i found on this site, anyway no one seem to know how to do it so could anyone point me to a website that could tell me how to do one nothing fancy just to read a xml file like the one i had off this site but bring the results up in a link format.

i really need one so plz help me thx for your time

Search Engine
I have created a flash website and I was wondering is it possible for me to add a search engine to my site so people can search the web from my site? I have a very good search engine that I use on an html site, is there someway to use that same one on my flash site?

Thanks for any help...

Sinusoidal Engine
maybe this component is usefull for you:
http://www.flashkit.com/jump.php?ID=9815&type=movies
http://www.flashkit.com/jump.php?ID=9798&type=movies

or try:
http://www.work2survive.com/webdev/slider

3d Flash Engine
i want to be able to give each movie clip created through this script a unique instance name. my goal is make this 3d objects into buttons. the script i'm working with is based on the 3d engine posted in macromedia at.

http://www.macromedia.com/devnet/mx/.../flash_3d.html

i'm wiling to pay a reasonable fee for anyone who can help me with this.

Search Engine Help
the search is working however when i insert dictionary1.xml file it could't work.


dictionary1.xml

flash file working xml

Search Engine
i'm using flash 5 but getting mx soon

just want to know if it's possible to do a basic product type search engine for my site

and how easy is it to do

rat

Going For RPG Battle Engine Thats More Than 1 Vs 1...
I'm new to flash and kind of alien to action scripting.

==============pointless introduction================


By knowing a few little tricks in changing variables I've built an RPG battle engine that allows the user to change equipments,have different attacks(OMG ),HP,SP,and Status

Overall, I'm happy about it

However, the engine is limited to 1 on 1 battle

I want to go beyond that


==============actual question here===============

I'm attempting on a battle engine that is more than just 1vs1, I want to try 3vs3, 1vs3, or even 1vs1vs1 threeway.

I'm not sure how to say this... my old engine uses gotoandplay(and some other stuff) at the end of each attack so characters fight back and forth, but thats 1 on 1.

Now if theres more than 1 opponent I'll have to make another thread of layer with the same attack but to the other target, that would end up in a mess and probably complicated variables, maybe people could pull it off in 2vs1, but if theres more than 3 characters I think all the action scripting could be dangerous.

I've seen other people do 3vs3, and from what I heard theres an easier way than this.

so is there a better and easier way doing this? and since I haven't started I'm probably heading to more problems, are there something I should look out for?

Thank you for reading my post

Random Engine
Hmm i was trying to test Flash's random engine for its randomness but I am not sure if it is working correctly, i think there is something wrong with the "accuracy" part of the code (no pun intended )

Thanks for input

Copyright © 2005-08 www.BigResource.com, All rights reserved