PDA

View Full Version : Flash RPG Help!!!



u_avi_15
January 7th, 2006, 01:36 AM
I'm trying to create a RPG game like this one:
www.battleon.com (http://www.battleon.com) and need some help..
Its basically a battlegame and U have go around killing monsters and u can buy stuff like weapons, shields,armour,pets etc my first basic question s that how do u put random opponents and backgrounds?????????and how do U save the preference of each player?
I know its very complicated and i promise to add ur namez to the credits :pope:
Help!

hybrid101
January 7th, 2006, 02:15 AM
i could only help in saving...
make a database using php and mysql
or use shared objects

u_avi_15
January 7th, 2006, 03:09 AM
how abt flash cookies?
I know its local but then is it ok?
:hr:
var savefile = SharedObject.getLocal("yourgamename");

save button:
on (press){
savefile.data.score=_root.score;
savefile.data.whatever=_root.whatever;
savefile.flush();
}

load button:
on (press){
if(savefile.data.score==undefined){
_root.score=0;
}else{
_root.score=savefile.data.score;
}
}

hybrid101
January 7th, 2006, 03:40 AM
yeah, but to access the file, the user must use the computer he played with first

u_avi_15
January 7th, 2006, 07:48 AM
true isnt there any other way???:diss:

u_avi_15
January 10th, 2006, 07:11 AM
how do u do change ur look when u equip a new thing frum ur inventory?

KIERIOSHIMOTO
January 10th, 2006, 07:17 AM
how do u do change ur look when u equip a new thing frum ur inventory?

if you wanted to equip say, guns you would have to have a frame on you hero characters movieclip for each gun, with an image of your hero holding the gun

Deril
January 10th, 2006, 11:11 AM
u_avi_15.. first of all..
do you have a written concept of your future game?
with more or less details about the stuff you are targeting to make..

another advice... find some books on how to make games with flash.. or just games.. or just how to flash...

because it now sounds like... "Hey.. I want to make a game like DIABLO. What should I do?"...

u_avi_15
January 11th, 2006, 01:58 AM
true it did sound stupid well i amnt trying toi make something as great i am just trying top learn flash i read a few books but they dont mention anything :ear:

firehawkdc
January 11th, 2006, 07:45 AM
I think most of us here (Who love RPGs) have gone through that stage before. Flash is hard... damn hard to make an RPG due to lots of limitations and additional programming language knowledge for database integration. (Storyboarding, Graphics, etc..., not in the equation yet)

I think most of us would recommend that you start small first. REALLY small. Like...Tic Tac Toe. Or a game concept on a single screen...or build an application that links to a database (mysql, access, mssql) or XML on PHP,JSP or ASP.

Once you've got your code base and fundamentals right, it'll be a little easier to achieve what you want to do then.

(Note: Flash is damn slow...so speed optimization is a major consideration...and I feel that you have to grasp the concepts of the codes really well before you can do anything about that.)

Have fun!


true it did sound stupid well i amnt trying toi make something as great i am just trying top learn flash i read a few books but they dont mention anything :ear:

knightleaf
November 22nd, 2007, 06:35 PM
i have the begging's of a code
movement

and i think i can get it to talk when you walk into things

but really i need help to i already posted about me needing help

what you should do first is learn about

hit tests

if statements

and variables

that'll help you loads

i can send you the code if you want it

just mail me back or something

Mr beef
November 23rd, 2007, 03:05 PM
Just thinking about the shared objects part. Could you have a username and password which the user will chose, click create, then use that username and password to log in from that computer. So ,for a new character you could set the sharded object variables for stats to starting levels and then latter you could save the current levels. Could that use a username and password acessing the shared object you just created checking to see if the variables for username and password match the input text field and then save the player stats during the game.

Sorry, it's just I'm making a RPG too and I was kinda considering that idea. Just wanted to know if it was possible. :P