Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A thread 3

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 3
Page 10 of 16«<89101112>»
Forum Login
Message << Older Topic   Newer Topic >>
6/6/2007 20:44:36   
SirSchmoopy
Banned Multi


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

< Message edited by SirSchmoopy -- 6/6/2007 20:46:42 >


_____________________________

Sig deleted.
Post sig only once per page.
Post #: 226
6/6/2007 20:52:14   
EragonZZZZ
Member

Good call my friend, those books help intense amounts.

Excellent choice of gift :D
AQ  Post #: 227
6/7/2007 17:23:26   
SirSchmoopy
Banned Multi


o, and im also learning c++ woot i rock lol and so does AS

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 228
6/7/2007 17:50:43   
EragonZZZZ
Member

Thats good, and you're going to find MANY similarities between C++ and AS, as far as syntax goes at least.
AQ  Post #: 229
6/7/2007 18:18:00   
VampireHSS
Member

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?
AQ DF MQ  Post #: 230
6/8/2007 15:30:38   
flsg
Member

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
AQ  Post #: 231
6/12/2007 18:52:02   
SirSchmoopy
Banned Multi


its very quiet.......
Post #: 232
6/12/2007 19:17:25   
EragonZZZZ
Member

Cause flsg is being flsg, I'm busy writing a game framework for an RPG engine, and nobody wants help :D
AQ  Post #: 233
6/12/2007 19:56:56   
SirSchmoopy
Banned Multi


I'll help
Post #: 234
6/12/2007 22:26:00   
EragonZZZZ
Member

with what lol XD?
AQ  Post #: 235
6/13/2007 0:03:00   
ponycoltraine
Member

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.
AQ  Post #: 236
6/13/2007 1:11:51   
ponycoltraine
Member

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
AQ  Post #: 237
6/13/2007 17:17:36   
SirSchmoopy
Banned Multi



quote:

ORIGINAL: EragonZZZZ

with what lol XD?

With AS, even though i dont have the thing nemore doesnt mean i dont kno any AS

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 238
6/13/2007 18:05:09   
SirSchmoopy
Banned Multi


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

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 239
6/13/2007 18:08:47   
flsg
Member


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
AQ  Post #: 240
6/13/2007 19:06:38   
EragonZZZZ
Member

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

< Message edited by EragonZZZZ -- 6/13/2007 19:07:34 >
AQ  Post #: 241
6/13/2007 21:57:53   
SirSchmoopy
Banned Multi


kk

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 242
6/13/2007 22:02:10   
SirSchmoopy
Banned Multi



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

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 243
6/13/2007 23:34:12   
ponycoltraine
Member



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,?
AQ  Post #: 244
6/14/2007 19:48:04   
EragonZZZZ
Member

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
AQ  Post #: 245
6/14/2007 23:10:57   
ponycoltraine
Member

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
AQ  Post #: 246
6/15/2007 12:53:29   
SirSchmoopy
Banned Multi


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

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 247
6/15/2007 14:38:15   
SirSchmoopy
Banned Multi


how do i make the button thing in the turn based battle tut on here?
Post #: 248
6/15/2007 16:58:46   
SirSchmoopy
Banned Multi


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

< Message edited by SirSchmoopy -- 6/15/2007 16:59:07 >


_____________________________

Sig deleted.
Post sig only once per page.
Post #: 249
6/15/2007 17:38:43   
flsg
Member

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
AQ  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 3
Page 10 of 16«<89101112>»
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