RE: Flash Q&A thread 2 ** checked everyday (Full Version)

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



Message


Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 15:33:00)

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 =)




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 15:37:49)


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




Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 16:00:07)

Thank you very much, looking at frames helps me :D




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 16:25:24)

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




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 17:03:30)

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.




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 17:39:00)

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.




flsg -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 18:34:36)

somebody621: OMG how did you know that? do you have a site for this?




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 19:43:38)

flsg:There's a bunch of sites for code optimization. I just fit them to my needs.




flsg -> RE: Flash Q&A thread 2 ** checked everyday (3/26/2006 20:56:43)

could you show me one please?




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 7:26:48)


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?!?!




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 10:16:22)

be patient, try to pm zoltan, he might tell you




Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 10:20:43)

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




chrislongden3 -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 13:40:59)

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?




Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 13:43:25)

what was the question i may be able to help :D




chrislongden3 -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 14:45:13)


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.





Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 14:51:59)

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




flsg -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 16:41:24)

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




chrislongden3 -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 17:22:00)

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 [;)]




flsg -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 17:27:01)

is that a question?
anyway, the answer is yes




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 17:48:18)

lil boi blue, can't u explain hit tests to me?




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 21:06:33)

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




X_master_X1 -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 21:32:38)

Any program better than ms paint but not a huge download free forever and easy to work with?




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 21:35:25)

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




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (3/27/2006 23:07:03)

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.




Crimson dragon -> RE: Flash Q&A thread 2 ** checked everyday (3/28/2006 10:07:24)

lol ive only just relised that LLB put the coding for the attack button on a different page lol. i coded it myself :D




Page: <<   < prev  5 6 [7] 8 9   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375