Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A thread 2 ** checked everyday

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 7 of 24«<56789>»
Forum Login
Message << Older Topic   Newer Topic >>
3/26/2006 15:33:00   
Crimson dragon
Member

thx flsg, but ive already seen how to do random numbers on kiprua.
i just needed an coding idea for a turn based rpg battle system
if its hard to explain its ok, i can always try 2 find out by myself =)

< Message edited by Crimson dragon -- 3/26/2006 16:00:57 >
AQ  Post #: 151
3/26/2006 15:37:49   
lil boi blue
Member


quote:

ORIGINAL: lil boi blue

http://i5.photobucket.com/albums/y158/photo12/tutorialgame.swf here is a turn based system o yeah


use this, just run over the frames in the bottom to see what they do
AQ DF  Post #: 152
3/26/2006 16:00:07   
Crimson dragon
Member

Thank you very much, looking at frames helps me :D
AQ  Post #: 153
3/26/2006 16:25:24   
lil boi blue
Member

no problems, any post here gives me something to do

update, here is a mini clip of a series i was thinking of making but the voices suck, or at least the paper bag's voice sucks

http://forums2.battleon.com/f/tm.asp?m=1698563&mpage=11 2nd to last post that I MADE *hint* i directed you to my gallery instead of the direct link for a reason lol *hint*


hey, feel free to post works you have done

< Message edited by lil boi blue -- 3/26/2006 16:26:48 >
AQ DF  Post #: 154
3/26/2006 17:03:30   
somebody621
Member

flsg:for .. in loops are supposedly 30% faster.
crimson dragon:if the random number is <insert a number here>, do this. Otherwise do something else.
Mathus the second:Check out my function on page 6. The only thing you have to change is the money part. Instead of losing money, make the player go to a dying frame, and use removeMovieClip.
Post #: 155
3/26/2006 17:39:00   
mathus the seconth
Member

quote:

how do u make ur opponent die when he gets hit by a bullet in a shooting game?


zoltan, the shooting game is like the one you made last thread.

someone plz answer my question.

< Message edited by mathus the seconth -- 3/26/2006 17:40:55 >
AQ  Post #: 156
3/26/2006 18:34:36   
flsg
Member

somebody621: OMG how did you know that? do you have a site for this?
AQ  Post #: 157
3/26/2006 19:43:38   
somebody621
Member

flsg:There's a bunch of sites for code optimization. I just fit them to my needs.
Post #: 158
3/26/2006 20:56:43   
flsg
Member

could you show me one please?
AQ  Post #: 159
3/27/2006 7:26:48   
mathus the seconth
Member


quote:

ORIGINAL: mathus the seconth

quote:

how do u make ur opponent die when he gets hit by a bullet in a shooting game?


zoltan, the shooting game is like the one you made last thread.

someone plz answer my question.

ANYONE?!?!
AQ  Post #: 160
3/27/2006 10:16:22   
lil boi blue
Member

be patient, try to pm zoltan, he might tell you
AQ DF  Post #: 161
3/27/2006 10:20:43   
Crimson dragon
Member

lol you could make him dissappear as the bullet hits him
EDIT-yay i made my 1st rpg battle! and i killed a square lol
EDITEDIT-yay i made a gold counter! wen i touch gold the gold dissapears and the counter goes up to 1!!! its cool!
EDITEDITEDIT-why does it keep sayin my sig is too big?? it isnt i dont think

< Message edited by Crimson dragon -- 3/27/2006 13:36:20 >


_____________________________

Max height: 100 pixels
Max width: 500 pixels
Max file size: 50k
(This includes text)
AQ  Post #: 162
3/27/2006 13:40:59   
chrislongden3
Banned


Excuse me, i posted a question a few days ago and it hasnt been answered yet. Is there any reason why or did you just accidentely miss it?
AQ  Post #: 163
3/27/2006 13:43:25   
Crimson dragon
Member

what was the question i may be able to help :D
AQ  Post #: 164
3/27/2006 14:45:13   
chrislongden3
Banned



quote:

ORIGINAL: chrislongden3

ok, im looking for some info on actionscript based sound playing. I want to make a code which allows different sounds to play depending on the value of a variable, can anybody help me with this.

AQ  Post #: 165
3/27/2006 14:51:59   
Crimson dragon
Member

sound playing......soz evry game ive made doesnt hav sound- i wouldnt know =(

< Message edited by Crimson dragon -- 3/27/2006 15:25:48 >
AQ  Post #: 166
3/27/2006 16:41:24   
flsg
Member

chrislongden3: I can help
//delare a new sound instance
var mySound=new Sound
mySound.attachSound(libraryLinkageOfASound)
check if a variable has changed, then re-attach it every time
AQ  Post #: 167
3/27/2006 17:22:00   
chrislongden3
Banned


ok, would the library linkage thing be where you right click and go to linkage, then export for actionscript, then give it a name.

EDIT: thanks by the way
AQ  Post #: 168
3/27/2006 17:27:01   
flsg
Member

is that a question?
anyway, the answer is yes

< Message edited by flsg -- 3/27/2006 17:29:25 >
AQ  Post #: 169
3/27/2006 17:48:18   
mathus the seconth
Member

lil boi blue, can't u explain hit tests to me?
AQ  Post #: 170
3/27/2006 21:06:33   
lil boi blue
Member

quote:

Using a Hit Test to 'goto' Another Keyframe

1) In flash draw a image that you want to be your character and convert it to a MC (movie clip)

2) Name the character guy for now in the properties inspector and give it this script---->

onClipEvent (load) {
moveSpeed = 19;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown (Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown (Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown (Key.LEFT)) {
this._x -= moveSpeed;
}
}

3) Create the object that when it is hit by the 'guy' goes to another keyframe make it a MC and give it this script---->

onClipEvent (enterFrame) {
if (_parent.guy.hitTest (this)) {
_parent.gotoAndStop("inn");
}
}


for instance this hitest, a hit test is a way of saying "when my character touches this other character in any way i want him to:
go to another scene
change color
backflip off the moon
anything.....

this code specifically says:
this guy walks at a speed of 19, press the arrow keys to move him
 whenever he touches the door (Movie clip) i want him to go to the 
frame "inn" in order to get into the inn


< Message edited by lil boi blue -- 3/27/2006 21:07:29 >
AQ DF  Post #: 171
3/27/2006 21:32:38   
X_master_X1
Banned


Any program better than ms paint but not a huge download free forever and easy to work with?
AQ  Post #: 172
3/27/2006 21:35:25   
lil boi blue
Member

Gimp is completely free, www.gimp.org www.unfreez.com (or something like that, never heard of unfreez, just another drawing program). at first flash seems confusing but in two weeks i mastered all the hotkeys
AQ DF  Post #: 173
3/27/2006 23:07:03   
somebody621
Member

Lil Boi Blue: You still haven't changed the code. Unless you want bouncing boxes, use if(_root.guy.hitTest(this, true){
flsg:optimization tutorials. 1, 2, 3, 4.

< Message edited by somebody621 -- 3/27/2006 23:43:51 >
Post #: 174
3/28/2006 10:07:24   
Crimson dragon
Member

lol ive only just relised that LLB put the coding for the attack button on a different page lol. i coded it myself :D
AQ  Post #: 175
Page:   <<   < prev  5 6 [7] 8 9   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 7 of 24«<56789>»
Jump to:






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