PDA

View Full Version : Rts???



cheesy_x
May 25th, 2004, 09:55 AM
I was just wondering how you could acheive a scrolling screen for a real-time stratgegy game that i have been working on lately. I would also want to know how to have characters create objects if certain variables are true... (objects on the map.... structures)

Blackspirit
May 25th, 2004, 10:06 AM
Ok, you might have everything in a master movieclip, a couple of if statements that say wether the mouse pointer in on the edge of your screen, it so move the movie clip in the opposite direction.

If(_xmouse>500){
master_mc._x-=5;
}

youd need some ifs to determine if the movie clip has come to the border of the map as well.

new objects, use the duplicatemovieclip function, in a if statement
if(variables are true){
duplicatemovieclip;
}

cheesy_x
May 25th, 2004, 06:14 PM
hmmm, i was also wondering about creating a blast radius.... (thanks for the aboe info!)

signifer123
May 25th, 2004, 06:21 PM
so make a mask kinda thing and use hitest

ohh ya if my current project really bombs could i help

cheesy_x
May 25th, 2004, 06:42 PM
hmmm hittest for a mask.... (oooh, i can make a layered mask !)

Lol, i need all the help i can get really. I'm just doing this for a fun thing which i might put up on a site like newgrounds.com to see if anyone likes the idea. You're free to help and you will be credited for it :)

signifer123
May 25th, 2004, 07:11 PM
what kind of RTS is it and what do you want specifically and i'll try some stuf ffor ya

cheesy_x
May 25th, 2004, 07:23 PM
starcraftesque.... although i dont want blizzard knocking on my door so its going to need to be a whole new concept..... I need to be able to build things, manage stockpiles of goods, and have things kill eachother.... Unfortunately im using flash MX and i dont own photoshop, so graphics are going to be difficult.......

any help with a graphical interface is always appreciated.... If anyone wants to either commit themselves and join the project or just add a little bit of advice, it is always welcome as i am new to flash and this is my first game (working on the engine)........

cheesy_x
May 25th, 2004, 08:39 PM
awww CRAP! this whole engine thing is bugging me big time! Anyone know how to have a preloader as maybe a movie clip that i can call upon in my engine?

signifer123
May 25th, 2004, 09:10 PM
huh could you restate that from that i get you want a preloader to a movie

cheesy_x
May 25th, 2004, 09:42 PM
i want the preloader to PREload separate things as they are called upon.....

Robman1
May 26th, 2004, 09:24 AM
Well sorry I don't know about the preloader but i have a question for you. Could I "join the team?" I'm a new actionscripter and I need a teacher. If you decline than please atleast show me the script when you're done. If anybody would like to share script that might help me out. I understand if you dont want to though. It is your work.

cheesy_x
May 26th, 2004, 12:08 PM
Sure, although i am new at actionscript myself..... I will be making a project website soon, you could learn a lot of actionscript from the forum tutorials in the meanwhile.... I might be able to give you the site .FLA's after it is complete, if you wanted to examine the code.... You are also welcome to help with the engine and graphics.

Robman1
May 27th, 2004, 10:02 PM
alrighty cool. well pm me when you wanna talk about it. ill give u my aim or msn if u need it.

cheesy_x
May 27th, 2004, 10:48 PM
alright..... Havn;t been able to get much work done though...... Also wondering about creating an arcade style game reminiscent of metal slug.... HMMM

Robman1
May 27th, 2004, 11:00 PM
i think that i might actually be able to help a bit there, but i dont like metal slug. (if we are both talking of the same one) im talking about the one made on newgrounds.

cheesy_x
May 28th, 2004, 07:53 AM
no, not that hunk o junk.... im talking like metal slug 3.... I dont like the ww2 theme though

signifer123
May 28th, 2004, 04:04 PM
never played it
played age of empires saga and empire earth though

cheesy_x
May 28th, 2004, 05:17 PM
never played???? what? Metal slug isnt a RTS

signifer123
May 28th, 2004, 05:32 PM
ohhhhh, what is it

cheesy_x
May 28th, 2004, 05:34 PM
just got re-released for xbox too.... Side-scroller

signifer123
May 28th, 2004, 05:35 PM
like mario or more like duke nukem

cheesy_x
May 28th, 2004, 05:59 PM
much more like duke, just better

Robman1
May 29th, 2004, 03:08 AM
well i havent played but ill be willing to help out ne way i can

Blackspirit
May 29th, 2004, 03:46 AM
For the preloader thing, couldn't you just do it like a normal preloader eg...

bytesLoaded=(_root.getBytesLoaded());
bla bla bla.....

except change "_root" to whatever your movieclip is called? So...

bytesLoaded=(zergling.getBytesLoaded());

Robman1
May 30th, 2004, 01:38 AM
i have found the first RTS made in flash! if u need the link pm me. i dont want to give it away because signifier and i are going into it. u too cheesy if u want.

cheesy_x
May 30th, 2004, 10:48 AM
thanks for that one blackspirit!

Robman1
May 31st, 2004, 12:33 AM
i found some others with no source code. http://necromanthus.com/main.html

cheesy_x
June 9th, 2004, 12:44 PM
hmmm, buggy stuff though

Robman1
June 11th, 2004, 10:44 PM
yea it is a bit buggy but that only shows u that it is possible and it should make u wanna do better