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

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



Message


SirSchmoopy -> RE: Flash Q&A thread 3 (6/6/2007 20:44:36)

no, it's not that, its just my b-day in june so i got lots of AS books...[:D]
and, seeing that i wont have computer for a while, i have plenty o time to read[:D]




EragonZZZZ -> RE: Flash Q&A thread 3 (6/6/2007 20:52:14)

Good call my friend, those books help intense amounts.

Excellent choice of gift :D




SirSchmoopy -> RE: Flash Q&A thread 3 (6/7/2007 17:23:26)

o, and im also learning c++[:D] woot i rock lol and so does AS




EragonZZZZ -> RE: Flash Q&A thread 3 (6/7/2007 17:50:43)

Thats good, and you're going to find MANY similarities between C++ and AS, as far as syntax goes at least.




VampireHSS -> RE: Flash Q&A thread 3 (6/7/2007 18:18:00)

quote:

ORIGINAL: flsg


quote:

ORIGINAL: VampireHSS

Do you know any good tutorial that covers from starters to in-depth actionscript?

http://www.kirupa.com/developer/flash/index.htm
also, there's a book called "ActionScript for Flash MX: The Definitive Guide"(AS2.0, so don't care about flash MX or MX 2004 or 8 or 9 lol)
http://www.amazon.com/ActionScript-Flash-MX-Definitive-Second/dp/059600396X/ref=pd_bbs_sr_1/002-2725972-5463259?ie=UTF8&s=books&qid=1180884930&sr=8-1


Kirupa is devided into tutorials. I am searching for one guide that walks through actionscript from zero to advanced coding.
About the book... I won't buy it unless I see some good comments about it. Have you tried it?




flsg -> RE: Flash Q&A thread 3 (6/8/2007 15:30:38)

VampireHSS: of cours I tried it! It's one of the bestsellers in flash AS, you won't regret it, ever collin moock is one of the best flasher




SirSchmoopy -> RE: Flash Q&A thread 3 (6/12/2007 18:52:02)

its very quiet.......




EragonZZZZ -> RE: Flash Q&A thread 3 (6/12/2007 19:17:25)

Cause flsg is being flsg, I'm busy writing a game framework for an RPG engine, and nobody wants help :D




SirSchmoopy -> RE: Flash Q&A thread 3 (6/12/2007 19:56:56)

I'll help[:D]




EragonZZZZ -> RE: Flash Q&A thread 3 (6/12/2007 22:26:00)

with what lol XD?




ponycoltraine -> RE: Flash Q&A thread 3 (6/13/2007 0:03:00)

i want help :D, well anyways im having a leveling problem.... c the thing is that, well ive never been the BEST coder, but anyways i have a battle system and after you "win" you get enough XP ATM too level up, well after you do u have too go back too town and when you do you have the option of "Battle Now" and when you do it sends you back too the frame where you first battled and well you lose your level, XP, stats, Etc. well anyways i bet its a simple fix but i just dont know :P anyways this is the AS on the frame, try too ignore some of the functions and other things that could be better :P

stop();
if (_root.hp>100) {
_root.hp == 100;
updatehealthbar();
}
hp = 100;
hpMax = 100;
function updatehealthbar() {
var percentage = hp;
hpBar._xscale = percentage;
}
mana = 100;
manaMax = 100;
function updatemanabar() {
var percentage2 = mana;
manabar._xscale = percentage2;
}
lochhealth2 = 100;
function updatelochbar() {
var percentage3 = lochhealth2;
lochhealth._xscale = percentage3;
}
hppot = 3;
if (_root.lochhealth<0) {
_root.gotoAndStop(3);
}
_root.xp = 0;
function updatexp() {
var percentage4 = xp;
}
_root.xpMax = 100;
function xpmaxupdate() {
var maxxpinc = xpMax;
}
money = 0;
function updatemoney() {
var munny = money;
}
strstat = 5;
magestat = 5;
function updatemage() {
var mage1 = magestat;
}
focusstat = 1;
level = 1;
manapot = 3;
focus = 0;
_root.moneyplus = 0;
_root.xpplus = 0;

hope that helps i can supply more of the script from the game if needed.




ponycoltraine -> RE: Flash Q&A thread 3 (6/13/2007 1:11:51)

i made a head tutorial right quick and i kind half ***ed it but it still works ill probably go back and add more later hope it helps someone

http://i81.photobucket.com/albums/j231/chubbs153/Flash/afrotut.swf




SirSchmoopy -> RE: Flash Q&A thread 3 (6/13/2007 17:17:36)


quote:

ORIGINAL: EragonZZZZ

with what lol XD?

With AS, even though i dont have the thing nemore doesnt mean i dont kno any AS [:D]




SirSchmoopy -> RE: Flash Q&A thread 3 (6/13/2007 18:05:09)

[URL=http://imageshack.us][IMG]http://img478.imageshack.us/img478/9561/swordic2.png[/IMG][/URL]
heres a cool sword i made!




flsg -> RE: Flash Q&A thread 3 (6/13/2007 18:08:47)


quote:

ORIGINAL: chubbs123

i want help :D, well anyways im having a leveling problem.... c the thing is that, well ive never been the BEST coder, but anyways i have a battle system and after you "win" you get enough XP ATM too level up, well after you do u have too go back too town and when you do you have the option of "Battle Now" and when you do it sends you back too the frame where you first battled and well you lose your level, XP, stats, Etc. well anyways i bet its a simple fix but i just dont know :P anyways this is the AS on the frame, try too ignore some of the functions and other things that could be better :P


many people have this problem before, now I'll show you one of the ways to fix this:
in the battle frame, add this:
if(myEXP==underfined){
var myEXP:Number=0
}
if(myGold==....................//same thing here
this code check if you already defined the variables, if you did, then it does nothing, if you didn't,which means it's the first time, then it create the variable




EragonZZZZ -> RE: Flash Q&A thread 3 (6/13/2007 19:06:38)

yay for flsg and the code of saviorisim.
or you could use an "on ClipEvent: load" for that.

PS: Flsg, i'm gonna eventually send you my tileset loading engine/map editor for you to weed out bugs if you don't mind.
Not the .fla's, the .swf.

Cause being a coder, you think like i do and will probably attempt to blow up the engine by feeding it something it has no idea what to do with :P


EDIT: and sirschnoopy, thanks mucho for the offer, but i don't really need help right now :D
although if you really know OOP in action script i might come to you occasionally when flsg is busy XD




SirSchmoopy -> RE: Flash Q&A thread 3 (6/13/2007 21:57:53)

kk[:D]




SirSchmoopy -> RE: Flash Q&A thread 3 (6/13/2007 22:02:10)


quote:

ORIGINAL: EragonZZZZ

Cause flsg is being flsg, I'm busy writing a game framework for an RPG engine, and nobody wants help :D

o and this is wht i wanted to help wit[:D]




ponycoltraine -> RE: Flash Q&A thread 3 (6/13/2007 23:34:12)



quote:


many people have this problem before, now I'll show you one of the ways to fix this:
in the battle frame, add this:
if(myEXP==underfined){
var myEXP:Number=0
}
if(myGold==....................//same thing here
this code check if you already defined the variables, if you did, then it does nothing, if you didn't,which means it's the first time, then it create the variable


i guess im confused where too place it then, because i just tried it and well i dont know. so do i get rid of when i set the amount as xp = 0,?




EragonZZZZ -> RE: Flash Q&A thread 3 (6/14/2007 19:48:04)

hahaha thanks again, but i don't need it right now.
I don't know if you could understand how the whole thing works anyway, theres a lot of inter-class communication that even if you know how to do is confusing, specially if you didn't make it lol

couple important constants that can get confusing :P




ponycoltraine -> RE: Flash Q&A thread 3 (6/14/2007 23:10:57)

i added too that head tutorial

http://forums2.battleon.com/f/interceptor.asp?dest=http://i81.photobucket.com/albums/j231/chubbs153/Flash/afrotut-1.swf




SirSchmoopy -> RE: Flash Q&A thread 3 (6/15/2007 12:53:29)

i got my cpmputer back and i made a lil' short clip of a movin archer....it has a lot of bugs
http://img157.imageshack.us/my.php?image=spriteyw5.swf




SirSchmoopy -> RE: Flash Q&A thread 3 (6/15/2007 14:38:15)

how do i make the button thing in the turn based battle tut on here?




SirSchmoopy -> RE: Flash Q&A thread 3 (6/15/2007 16:58:46)

http://img528.imageshack.us/my.php?image=spriteor3.swf updated with still over 100000000 bugs [:D]




flsg -> RE: Flash Q&A thread 3 (6/15/2007 17:38:43)

chubbs123: replace the myEXP by your variable name
then add around it if(myEXP==underfined){}
underfined means that the variable doesn't exist, so if it doesn't exist, it must be the first time your enter in battle mode, or else there would already be an exp variable to store your previous exp




Page: <<   < prev  8 9 [10] 11 12   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375