RE: Flash Q&A thread 3 (Full Version)

All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy



Message


petermaxo -> RE: Flash Q&A thread 3 (8/1/2007 22:10:37)


quote:

ORIGINAL: flsg

petermaxo: lol, there's at least 10 ways(I think)
just name the monsters with the same name of the frame label:
_root.monstersMC.gotoAndStop(monsterName)
or, set a number in the variable name:
_root.monstersMC.gotoAndStop("monster"+monsterIDNumber)
or, the best way(the one AQ and DF uses and my bubble's adventure uses) is to load the external swf movie into the main movie(get the monster's name in the database, then check for the same name of swf)



first, your first option is basically the same as mine, except it taakes longer as you need to rename all the frames. second, for your last option, I do not currently have a working server that I know how to code, so I can't work with it. third, I am not sure I really understand your second optioin. can you explain it a bit more?




flsg -> RE: Flash Q&A thread 3 (8/1/2007 22:47:50)

petermaxo: NO.WAY, my first operation doesn't need any conditionals, so how is that longer?
second, you DON'T need a server for swf-swf things, third, I'll explain later(don't have time)




EragonZZZZ -> RE: Flash Q&A thread 3 (8/2/2007 0:04:29)

Wait...if you host something on, say, imageshack, it can't load things that are stored on your computer because it cannot find the directory.

You need some sort of host.




swenn -> RE: Flash Q&A thread 3 (8/2/2007 3:55:33)


quote:

ORIGINAL: flsg

swenn:after fireing once, Bulletshot become true, and in your if statement, you command it to shoot only if Bulletshot is false...
plus, did you check that you have a MC with the linkage name "bullet"?
plus, EVEN if you correct what I tell you, your bullet always uses the same depth 8, and since one depth can only have one thing, you previous bullet will dissapear if you shoot again(which attach the movie and assign it the depth 8 and erase the previous bullet)

Yes, but I think I want to have that.. thats why I made that variable.. I only need it to define if the bullet is out of the creen and then remove it.The linkage name is the problem I guess.But is there a way to solve the depth?(cause there are more weapons, and some with multi fire)




flsg -> RE: Flash Q&A thread 3 (8/2/2007 9:59:27)

EragonZZZZ: does refering to a URL swf work? like loadMovie("imageshack/blabla139.swf",_root)
swenn: use _root.getNextHighestDepth() instead of 8




petermaxo -> RE: Flash Q&A thread 3 (8/2/2007 10:39:24)

flsg: Oh, I understand your first option now. Thanks.




flsg -> RE: Flash Q&A thread 3 (8/2/2007 10:46:44)

petermaxo: np
I know this isn't probably the right place for it, but could anyone look at my gallery and tell me which effect is cooler: big 100k mouse follow or flashy lines 2?
http://forums2.battleon.com/f/tm.asp?m=10507412




SirSchmoopy -> RE: Flash Q&A thread 3 (8/2/2007 16:51:20)

can sum1 pl help me with a kinda maplestoryish kinda game??? my friend is obsessed with that game and says he will pay me $100 i make him 1!!! then i can afford to buy flash basic!!! w00t!!! finally!!! BUT I NEED HELP......:(




SirSchmoopy -> RE: Flash Q&A thread 3 (8/2/2007 18:42:45)

flsg: o and probably100k thingy :)
nice gallery!!!(u rock!)!!!! m favorite is the mini shooting thingy XD




dominic_r_monroe -> RE: Flash Q&A thread 3 (8/2/2007 18:57:17)

Anyone Gonna be a good teacher just needing Flash Basics Teacher Eragon(illummiator?) flsg .. anyone




petermaxo -> RE: Flash Q&A thread 3 (8/2/2007 21:22:13)

usually 100k, but in some cases the flashy 2.




EragonZZZZ -> RE: Flash Q&A thread 3 (8/2/2007 22:22:53)


quote:

ORIGINAL: SirSchmoopy

can sum1 pl help me with a kinda maplestoryish kinda game??? my friend is obsessed with that game and says he will pay me $100 i make him 1!!! then i can afford to buy flash basic!!! w00t!!! finally!!! BUT I NEED HELP......:(


okay, excuse me for a second.

LOL! OMG LOL! LOL! LAWLS!

Sorry.
So, number one. You do realize how long that will take, right? Lets just say by the time you finish, you'll have made more money doing chores and random mowing of lawns.
Number two, I doubt he'll actually pay you to make him one when there are so many things like that online already that cost a lot less.

However, I would be glad to help out both you and dominic.
Both of you tell me just how much experience with AS you have.

flsg, feel free to help. :P




dominic_r_monroe -> RE: Flash Q&A thread 3 (8/3/2007 3:16:44)

I have none XD made ssome (rubbish) flash




swenn -> RE: Flash Q&A thread 3 (8/3/2007 3:53:03)

Alrihg thanks.. But how can I make that the bullet flys toward the direction that the MC is facing?THis just keeps it circling around.And also, how does the hittest code work?Do I need to use linkage names?




dominic_r_monroe -> RE: Flash Q&A thread 3 (8/3/2007 7:09:23)

quote:

onClipEvent(mouseDown){if(hitTest(_root._xmouse,_root._ymouse,true)){goforit="yes";}}
onClipEvent(enterFrame){if(goforit == "yes"){_x -= (_x-_root._xmouse)/6;_y-=(_y-_root._ymouse)/6;}}
|
|


I do have some stuff to make the magnifying glass wid the mask thingamg trick



Thats my current code for a magnyfying glass but i want it on click to activate

Then i can show my tags better haha .. good idea dominic.. I also Need to be able to skip to other images from an open up tab on the right mouse over




Nicky -> RE: Flash Q&A thread 3 (8/3/2007 7:10:53)

quote:

Nicky: to use the action panel, go to window-action XD lol
and put a stop() function at the third frame. When you press to button, use gotoAndPlay(startingframe)
the startingframe is 1 in your case


Thanks flsg, ^.^.

Yeah, thats right, it's Window -> Action... I knew that.. Really, I did.
I was just testing you ><

Ahkay, that sounds about right.
Thanks again mate :)




EragonZZZZ -> RE: Flash Q&A thread 3 (8/3/2007 7:38:06)

@ flsg..yeah, i've tested that, and it works.

Imageshack can host all your .swf files, actually, with the only downside being the possibility of broken links and unchangeable files.




SirSchmoopy -> RE: Flash Q&A thread 3 (8/3/2007 8:03:02)

quote:

ORIGINAL: EragonZZZZ


quote:

ORIGINAL: SirSchmoopy

can sum1 pl help me with a kinda maplestoryish kinda game??? my friend is obsessed with that game and says he will pay me $100 i make him 1!!! then i can afford to buy flash basic!!! w00t!!! finally!!! BUT I NEED HELP......:(


okay, excuse me for a second.

LOL! OMG LOL! LOL! LAWLS!

Sorry.
So, number one. You do realize how long that will take, right? Lets just say by the time you finish, you'll have made more money doing chores and random mowing of lawns.
Number two, I doubt he'll actually pay you to make him one when there are so many things like that online already that cost a lot less.

However, I would be glad to help out both you and dominic.
Both of you tell me just how much experience with AS you have.

flsg, feel free to help. :P

not EXCACTLY like MS....
just a single plyer version, thats not even close to advance, also, im trying to make it so it makes sense, so, unlike MS, its not retarted. Also, i dont get allowence or anything, and i cant get jobs or anything, like mowing lawns. i get it frum my birthday, and as u all kno, that was 2 months go :(.




petermaxo -> RE: Flash Q&A thread 3 (8/3/2007 14:42:52)

for some reason, this code won't work.

if (random(_global.block) <= random(_global.ebonus)){ //test for hit
_global.eattack = (_global.emin + random(_global.ebonus) - _global.defense) //set damage
disp_txt.text = _global.eattack //display damage
_global.ehealth -= _global.eattack //reduce health
}else{
disp_txt.text = "miss" //display miss
}

the damage is set, but health isn't reduced and I have suspisions that damage refuses to equal anything but 3.




EragonZZZZ -> RE: Flash Q&A thread 3 (8/3/2007 16:24:46)

*coughs*

any game along that line is close to if not entirely advanced.
Or, at least, the way I make 'em is.

First you gotta get ideas for what you want to achieve. Specific ones, to a point.
Then you figure out how you can achieve that with AS
Then (I do this, not everyone does) you create a bunch of test game engines (some OOP, some not) that do what you wanted to achieve in step 1
You debug and attempt to optimize them all
And THEN you meld them (this takes a while) into a single, smooth main game engine thing.
NOW we do graphics and animation.
And then we go back and optimize.
and then we continue.




flsg -> RE: Flash Q&A thread 3 (8/3/2007 18:17:30)

petermaxo: what is ehealth. unless you used watch() on this variable, how can you show that the variable has decreased on the screen?

eragon: it's nice to see someone who really cares about good programming lol, check my method:
think for about one month on what I'm going to do, the structure of the code, etc XD
write it on paper, set the structure
do every part, test 9999 times, debug, optimize a little
put everything together
lauch the beta version of my work
correct 9999 times

lol XD





SirSchmoopy -> RE: Flash Q&A thread 3 (8/4/2007 8:26:56)

I dont need help THAT much i just need to figure out battle system and then im good to go, ialredy made 75 levels (as in places to jump around randomly :) ) so once i figure tht out, im redy
o and heres a lil animation i made, it took me an hour and a half so u bettr like it!!! lol
http://img92.imageshack.us/my.php?image=firevsicetq8.swf




petermaxo -> RE: Flash Q&A thread 3 (8/4/2007 13:39:04)

I'd better explain the whole thing. for my battle system, I have 3 scenes- attack, defend, and battle. In battle, the enemy and you are just sitting there and all the buttons, health bar, etc. are shown. When you press the attack button, you go to the attack scene, and the health and buttons etc. vanish, leaving only you showing your attack animation and the enemie's 'hit' animation. Also, a dynamic text box displays the amount of damage done (_global.attack for your attacks, _global.eattack for enemy attacks.) when you get back to the battle scene, the health bar should show that health has been lost, but it hasn't shown that in any of my tests, and _global.attack and _global.eattack are always equal to three, and attacks always hit (although they are not supposed to).

Also, can someone explain how to include variables in the loadMovie function?




SirSchmoopy -> RE: Flash Q&A thread 3 (8/5/2007 8:01:57)


quote:

ORIGINAL: petermaxo

Also, can someone explain how to include variables in the loadMovie function?

I kno lots about varibles, but culd u say the question gain in diff way cu i dont understand...




petermaxo -> RE: Flash Q&A thread 3 (8/5/2007 10:08:15)

for the 'loadMovie' function, you can load a movie with variables. The syntax is supposed to be:

......... loadMovie("name", target, level [, variables]), but I don't think I am doing it right.




Page: <<   < prev  12 13 14 [15] 16   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375