Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul
Page 10 of 18«<89101112>»
Forum Login
Message << Older Topic   Newer Topic >>
8/9/2008 10:16:16   
flsg
Member

shattered I don't think I fully understand what you're talking about here, but the group stays the same group, and if you modify it, everytime that group appears, it will be changed to the newest state

_____________________________

My flash gallery
my game thread

flsg, proud old member of AQ(still playing :O)
AQ  Post #: 226
8/11/2008 9:23:50   
Davosaur
Member
 

[i can help but dont know if im allowed]

since my sister are into recording stuff and making CD's [which greatly annoys me cause i have to get out and leave the comp :(] you can buy some cheap ones that actually are pretty cheap as for one i have a skype mic from logitech, you can record stuff if you have a good program AND its decent not alot a static and is pretty good[$1-$10] in my case i got it for $0.99 which is cheap for the quality i got [X] < pic

then if you know where to buy, you can get some REALLY good ones for $10-$40

i have this one, its perfect for everything, picks up tons of noise [unwanted things like floor creaks and the computer] so you'll need a filter, a sturdy stand and a little recording thing such as this
or you can get a MD recorder which is WAYY cheaper but harder to fin disks if your smart you will know where to shop :P

also you need a good editing software like Adobe audition v1-3

and if you tell me where you live not exact just state/province i can most likely fin a liquidation store

a parrot mic ...Ahahahahahahahahahah XD

< Message edited by Davyo -- 8/11/2008 9:24:21 >
Post #: 227
8/11/2008 10:34:32   
Davosaur
Member
 

Adobe audition v 3.0

i dont know everything.. just want to know ... everything >.>

lol

if you have a smaller program you might not have some options like reduce hiss and clean the record to get optimal sound, but that can work too [you might want to edit things cause sometimes .. thing happen XD]

< Message edited by Davyo -- 8/11/2008 10:37:34 >
Post #: 228
8/11/2008 11:50:19   
Davosaur
Member
 

most likely im pretty sure its there
Post #: 229
8/14/2008 19:01:22   
Mo
Member

I turned a head of a sprite into a graphic symbol, and now I can't use any colors over it. is it because it is a symbol? If so, how do I keep it without it being a symbol?
AQ MQ  Post #: 230
8/14/2008 19:05:21   
Davosaur
Member
 

double click on the symbol it will take you innto the symbol cut[ctrl+X] the sprite from there then double click on the stage to get out
Post #: 231
8/14/2008 19:50:40   
Mo
Member

Thanks Davyo
AQ MQ  Post #: 232
8/24/2008 23:01:54   
Taerzik
Member

Hi all. Just checking in. Really wish this was back in the top section

It was pretty much taken down because of the mass clutter of Q&A threads that were up there. Of course, if we re-sticky this one then all the other programs should get the same treatment, leading to clutter :P. There's already links to the Q&A threads in the stickies- and people should be reading them anyway :p. ~Nicky

< Message edited by Nicky -- 8/26/2008 4:54:17 >
Post #: 233
8/25/2008 22:40:06   
flsg
Member

^ agreed lol
anyone still alive here?
AQ  Post #: 234
8/26/2008 10:12:50   
SirSchmoopy
Banned Multi


I am now :D
Post #: 235
8/26/2008 10:16:06   
Davosaur
Member
 

yup im alive , though not kicking..... do i have to be alive n kickin? .... maybe i do *kicks computer* NOOOO MYYY GAAAMMMMEEEE
Post #: 236
8/26/2008 10:48:29   
iEnd
Member

Ok here's a coding question.
I have made a movement system like df but when I test the movie the character appear in the sky.
onClipEvent(load) {
	_x = 0
	_y = 0
	speed = 5
}
onClipEvent(mouseDown) {
	endX = _root._xmouse
	endY = _root._ymouse
	xspeed -= speed;
	xspeed += speed;
	yspeed -= speed;
	yspeed += speed;
}
onClipEvent(enterFrame) {
	_y += (endY - _y)/speed
	_x += (endX - _x)/speed
}

that's the code on the movieclip
Post #: 237
8/26/2008 10:52:42   
biG frend
Member

quote:

onClipEvent(load) {
_x = 0
_y = 0
speed = 5
}


There is your problem. Change the X and Y to resemble where your character starts.



< Message edited by biG frend -- 8/26/2008 11:36:46 >
AQ DF MQ  Post #: 238
8/26/2008 11:02:08   
iEnd
Member

yay, thanks biG
Post #: 239
8/26/2008 11:40:17   
EragonZZZZ
Member

I'm back, yay. :3

Eragon's currently creating a package of utilities for AS2 which he might release if enough people are interested :P
Otherwise, they're certainly helping my game along

:D
AQ  Post #: 240
8/26/2008 11:46:01   
Davosaur
Member
 

and what does it do Eragon? [oh and endi.. you couldve asked me ... :P.. i was online you know] , i might be interested if it help me
Post #: 241
8/26/2008 12:00:59   
EragonZZZZ
Member

It'll contain several things that can speed up development...classes, etc.

I'm looking to include, at the very least:

  • Linked List class(es)
  • Tree classes
  • Searching (arrays, lists)
  • Custom Key-Input class (assign functions directly to a key press or a key hold)

    And whatever else I can think of.
  • AQ  Post #: 242
    8/26/2008 16:31:12   
    Taerzik
    Member

    Oh yeah! I forgot about the link!

    A question -
    My MMO project is getting a bit fat with code and I'm still in the earlier stages so...
    I saw a code snippet by EragonZZZZ over in ROFL's thread and it was SKINNY! Basically, he rewrote a 10-12 line code block into 5 lines and I suspect that running the format process won't change it too much (if any).
    What I want to know is, how can I change my code to make it smaller / what normal commands can I replace or change so that it takes up less lines?
    In E.Z.'s example he replaced a several "if () {};" with something that resembled a formula.
    Note: if it's going to slow down the code then never-mind - speed is more important.


    ^ I'd be interested in the key input for certain - would probably make my project alot easier to look at code-wise.

    < Message edited by Taerzik -- 8/26/2008 17:57:02 >
    Post #: 243
    8/26/2008 17:35:09   
    EragonZZZZ
    Member

    I have to see your code to compress it, unfortunately. If you want to zing the .fla and .as files along, I can do that for you.

    It won't slow it down at all, methinks. In fact, you'll probably make Flash do less thinking and therefore go faster.




    Anywho, here's the bare bones of the keyinput class. No more "function onKeyDown()".

    READ THIS FIRST:

    The code below is not commented and therefore you will have no idea how to use it if you don't read here first.

    1) Copy and paste the code into an .as file, save it as "InputReader.as", and put it in the folder with the .fla you want to use it with.

    2) On your .fla, create a new variable: var keyReader:InputReader = new InputReader();

    3) To assign a key to a function, you simply use the function "assignKeyFunction()." Here's how it works:

    keyCode = the Flash code of the key you want it to listen for...you can use Key.LEFT, Key.RIGHT, etc. if you want.
    func = the name of the function you want to run when the key is pressed. It is important to note that you must NOT include parenthesis. Only the name.
    runHold= set to "true" if you want the function to run repeatedly if the user holds the key, "false" if you want it to run only when they press the key.
    sendVal = Optional value. Use this if you'd like to pass a value to the function every time it runs. Useful if you have multiple keys attached to one function.

    4) Finally, create an onEnterFrame() event and put the function "keyListener.iterate()" in it. You're done.

    5) Right now, you can only set a function to be called on a keypress/keyhold, but it's still neater than using if(key.isDown()) sixty billion times. More functionality will come as I need it for my own projects ^___^



    class InputReader {
    	var keys:Array;
    	var stat:Array; 
    	var functions:Array;
    	
    	public function InputReader() {
    		keys = new Array();
    		stat = new Array();
    		functions = new Array();
    	}
    	
    	public function assignKey(keyCode:Number):Void {
    		keys.push(keyCode);
    		stat.push(0);
    	}
    	
    	public function assignKeyFunction(keyCode:Number, func:Function, runHold:Boolean, sendVal:Object) {
    		assignKey(keyCode);
    		functions.push(new Array(func,runHold,sendVal));
    	}
    	
    	public function iterate():Void {
    		for(var i in keys) {
    			if(Key.isDown(keys[i])){
    				switch(stat[i]){
    					case 0:
    					stat[i] = 1;
    					break;
    					case 1:
    					stat[i] = 2;
    					break;
    					case 2:
    					break;
    				}
    			}else{
    				stat[i] = 0;
    			}
    		}
    		
    		for(var i in functions) {
    			switch(stat[i]){
    				case 0:
    				break;
    				case 1:
    				if(functions[i][2] != undefined)
    					functions[i][0](functions[i][2]);
    				else
    					functions[i][0]();
    				break;
    				case 2:
    				if(functions[i][1])
    					if(functions[i][2] != undefined)
    						functions[i][0](functions[i][2]);
    					else
    						functions[i][0]();
    				break;
    			}
    		}
    	}
    }//While you, in using this code, are authorized to use it, modify it, build from it, or copy it in any way you please, you may not pass this off as your own work.
    AQ  Post #: 244
    8/30/2008 11:22:41   
    flsg
    Member

    hey eragon, still coding? I thought you were dead lol

    and yeah, you better use AS3 or I'll never talk to you again lol(jk)

    BTW, dont use switch, just use norml if() k? it's so hard to read with the different breaks x.x

    < Message edited by flsg -- 8/30/2008 11:24:02 >


    _____________________________

    My flash gallery
    my game thread

    flsg, proud old member of AQ(still playing :O)
    AQ  Post #: 245
    8/30/2008 16:39:19   
    EragonZZZZ
    Member

    I'm going for convenience here :P

    It was much easier, cleaner, (and neater in the AS window, perhaps not on the forum, haha) to use switch().

    My earlier lack of switching to AS3 was because I didn't have CS3.

    But FlashDevelop + Flex 3 SDK + FlashPlayer9Debugger = Free, legal, useful AS3. So I'm switching to it now.
    AQ  Post #: 246
    9/1/2008 1:48:24   
    Taerzik
    Member

    So... tell us a little bit about Flex? I've never tried it but I've encountered games made with it.
    Post #: 247
    9/1/2008 9:18:13   
    iEnd
    Member

    umm...
    guys I have been working on something and I have some problems.
    I want to load a character in a new frame using attachMovie()
    this is the code on the frame:
    stop();
    start.attachMovie("character", "newcharacter", 200)
    

    "start" is a movieclip on which I want my character to appear.
    My problem is that I want the character to move and play the animation while it moves. This is the code on "start":
    onClipEvent(load) {
    
    	speed = 5
    }
    onClipEvent(mouseDown) {
    	endX = _root._xmouse
    	endY = _root._ymouse
    
    }
    onClipEvent(enterFrame) {
    	_y += (endY - _y)/speed
    	_x += (endX - _x)/speed
    }
    

    what should I add to the code to make the character play the animation while walking?
    Post #: 248
    9/1/2008 12:33:42   
    tauguy
    Member

    so you want it to play a walking animation while it is walking?
    Well i think it would be

    onClipEvent(mouseDown){
    _root.characterthing.gotoAndPlay("walk animation");
    }

    onClipEvent(mouseUp){
    _root.characterthing.gotoAndStop("stand still frame");
    }
    AQ  Post #: 249
    9/1/2008 12:42:46   
    iEnd
    Member

    still doesn't work.
    Post #: 250
    Page:   <<   < prev  8 9 [10] 11 12   next >   >>
    All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul
    Page 10 of 18«<89101112>»
    Jump to:



    Advertisement




    Icon Legend
    New Messages No New Messages
    Hot Topic w/ New Messages Hot Topic w/o New Messages
    Locked w/ New Messages Locked w/o New Messages
     Post New Thread
     Reply to Message
     Post New Poll
     Submit Vote
     Delete My Own Post
     Delete My Own Thread
     Rate Posts




    Forum Content Copyright © 2018 Artix Entertainment, LLC.

    "AdventureQuest", "DragonFable", "MechQuest", "EpicDuel", "BattleOn.com", "AdventureQuest Worlds", "Artix Entertainment"
    and all game character names are either trademarks or registered trademarks of Artix Entertainment, LLC. All rights are reserved.
    PRIVACY POLICY


    Forum Software © ASPPlayground.NET Advanced Edition