718 Forum Posts by "icarus"
@ dELtaluca
Thanks so much man, you're awesome!
At 6/10/10 03:12 AM, Nano256 wrote: Simply make one class that takes arguments for TextField object references and stuff.
I don't understand what you mean at all.
Let me elaborate a little more for others too:
I have 30 or so movielcips, which are checkboxes.
Now, when the user rolls over the checboxes I need to know some sort of ID or number for that checkbox so that I can grab a bunch of variables associated with that checkbox.
The only way I know how to do this is to have a seperate rollover function for each checkbox so that I know what checkbox it is and I can get the appropriate variables, which I why i was asking about creating a lot of functions dynamically.
If anyone can suggest a better way of doing this please let me know, but I can't really figure out how else to do it.
At 6/10/10 02:55 AM, Nano256 wrote: You can't do that... and you shouldn't need to. What are you trying to accomplish.
Thanks for the reply.
I've got around 30 checkboxes, each one has different information associated with it.
I need each one to point to different variables i.e.
check1function{
title=titleVar;
text=textvar;
}
check2function{
title=titleVar;
text=textvar;
}
........
I guess I should use a class right? But how would the class know what vars to use?
Hi,
I'm trying to dynamically create a bunch of functions in AS3 with a loop so that I don't have to write them all out, like so:
for(i=1;i<35;i++){
function this["checkboxMouseOver"+i](event:MouseE vent):void{
//do a bunch of stuff
}
}
For some reason flash doesn't like this at all. Do you guys know how i can dynamicaly create functions like this at run-time?
Cheers.
I'm looking for an artist to contract on a game concept that I have created.
What games have you made?
So first things first, some of my latest work:
Fling
Avoid
What is the game about?
For obvious reasons I can't disclose too much about the game, but it will be a simulation game much like Pandemic.
As a result, very little animation will be required, with the focus more on art and layout.
Who are you looking for?
I am looking for someone with strong art and design skills preferably with experience making art for games. It would also be highly preferred if you are 18 or over so that I know you will be reliable.
So is this a collab?
No. I am contracting you to work on this game and will pay you a flat fee that we agree on beforehand, it will be a few hundred dollars. Why? Because that means you get paid no matter what - even if the game is never finished you will be paid as long as you deliver what is required. If you don't like that idea or are used to getting paid alot more than that, then I'm sorry this isn't for you.
How do I apply?
If you are interested, you can either drop me a PM or reply in this thread with some examples of your past work. When I find someone I will let them know the full details of the game and what they will be required to do, and if all goes well we can work on more games together.
So I think thats it, if you have any questions feel free to ask.
I'm looking for an artist to contract on a game concept that I have created.
What games have you made?
So first things first, some of my latest work:
Fling
Avoid
What is the game about?
For obvious reasons I can't disclose too much about the game, but it will be a simulation game much like Pandemic.
As a result, very little animation will be required, with the focus more on art and layout.
Who are you looking for?
I am looking for someone with strong art and design skills preferably with experience making art for games. It would also be highly preferred if you are 18 or over so that I know you will be reliable.
So is this a collab?
No. I am contracting you to work on this game and will pay you a flat fee that we agree on beforehand, it will be a few hundred dollars. Why? Because that means you get paid no matter what - even if the game is never finished you will be paid as long as you deliver what is required. If you don't like that idea or are used to getting paid alot more than that, then I'm sorry this isn't for you.
How do I apply?
If you are interested, you can either drop me a PM or reply in this thread with some examples of your past work. When I find someone I will let them know the full details of the game and what they will be required to do, and if all goes well we can work on more games together.
So I think thats it, if you have any questions feel free to ask.
You're very good, any interest in animating for games?
Hi,
Just created an intro animation for my website to include in my games.
It's ok I guess, but I want some tips from you guys on how to make it look more professional, especially the background, I mean it's just a gradient but I'm not sure what else to use....
Any tips are appreciated.
Cheers.
p.s. Would doing it by making all those mc's get really laggy though?
At 7/2/08 01:49 AM, Coaly wrote:At 7/2/08 12:05 AM, zrb wrote: Here is how you can make your helicopter go up and down:Lol you are a terrible person. You didn't read his post, you just pasted code, and your code is maybe the lamest way to do it...
Anyway... the way I think he did it is every frame create two blocks a certain distance apart on the ceiling and floor, and have a direction for them to move, and every so many random frames change the direction. As the game progresses he just makes it switch more often and made the distance between ceiling and floor smaller, and of course moves the blocks to the left their width... And then every so many frames he creates an obstacle. If you give it some critical thinking and are familiar with attaching movieclips you should be able to figure it out more exactly.
Sounds logical and yeh I'm familiar with duping mc's so you're right, shouldn't be too hard to figure out. Thanks for the help, appreciate it.
oh...and thanks for actually reading my post lol!
I'm sure you've all played the helicopter game-
http://www.addictinggames.com/helicopter .html
Yeh, I know it's old but I played it today and got to thinking....how the hell did they make it?
I don't mean the gravity or hit tetsts or anything like that....but the way that the level goes on for such a long time....I assume it's being created dynamically?
I'd love to be able to do this?
Any ideas or can you point me to a website or tutorial?
Thanks.
At 6/12/08 10:28 AM, GustTheASGuy wrote: It's 'Class (whatever expression)' in any context.
I'm tryna use MovieClip(this.child).gotAndStop in a class but im getting errors doing that
At 6/12/08 10:24 AM, happymeat wrote:At 6/12/08 10:14 AM, icarus wrote:No,don't use a v-cam in a flash game,its incredibly stupid,just shift around the _root coordinates.At 6/12/08 10:10 AM, LuxGamer wrote: I know its some kind of virtual camera but what's it for???blah blah blah
I guess you could do that too lol
At 6/12/08 10:10 AM, LuxGamer wrote: I know its some kind of virtual camera but what's it for???
It's useful for both animating and making games. Say you wanted to scroll a landscape across the screen, instead of actually tweeing it from one side of the stage to the other you tween the camera where you want it to go...or even script it to follow your player, so it's like theres a camera moving around the flash stage...instead of you having to do all the hardwork of creating that illusion.
One more question....
What about movieclips inside another...is it movieClip(this.child)?
At 6/12/08 08:52 AM, GuyWithHisComp wrote: MovieClip(this.parent).gotoAndStop();
AWESOME!
Thanks for that man.
At 6/12/08 08:44 AM, GustTheASGuy wrote: gotoAndStop is defined in MovieClip, while DisplayObject.parent is of type DisplayObjectContainer. You need to cast it if you want to use it that way.
Sorry I'm a bit of a n00b ;( How would I go about doing that?
Hey,
I've got this code on a frame on a movieclip thats inside another one-
this.parent.gotoAndStop(1);
So basically I wan't to play frame 1 of the parent movieclip, but AS3 throws an error at me.....in AS2 it worked fine. The thing is, the object is created dynamically so i can't use instance names.
Any ideas?
Thanks!
God, now I realise why there are so few out there...that's a whole lot to try and program, sigh...
Hi,
I've allways wanted to make an rts like aoe or generals in flash and now i'm kind of looking into it.
I wanted to know..are there any decent flash rts games out there? I've been looking but I can't find any.
Drop me a link if you know of any.
Thanks!
I found something that solved my problem...if anyone else wants it-
http://www.kirupa.com/developer/actionsc ript/detecting_mouse_direction.htm
Anyone?
I can't figure this one out :(
At 12/5/07 08:10 AM, WolfAkela wrote: 1) setInterval'd function records the coordinates of the mouse.
2) Arctan the coordinates.
I get the first bit, but what exactly is arctan?
Sorry to be a noob, im guessing its some kind of function?
At 12/5/07 07:26 AM, GustTheASGuy wrote: Arctangent between previous and current position.
Care to expand?
I've got a bit of a problem.
I want an mc to show certain frames based on wether its moving left, right, up or down.
Normaly with key controlled movement this would be easy, but i'm using mouse controlled- the player just follows the mouse.
Is there a way I can detect which direction the mc is moving?
At 11/11/07 12:09 AM, squirevgcc wrote: so here i am on newgrounds looking for links on where i can possibly program a cardgame. it is a card game similar to magic but a bit different, and i would like to know about any websites that offer information on teaching me how to program a card game. post any links that might help me, please and thank you
I couldn't let you get no posts :)
Well if I was you I'd just try and learn AS in general, there are links to AS2 & 3 main in my sig with more tutorials than you can poke a stick at.
Programming a card game specifically isn't something you'll find alot of tuts for you'll just need to figure out for yourself...your probably going to need to use arrays for each suit to store them so arrays would be worth learning.
It's best to have a go and then post specific problems which people will help you with.
At 11/11/07 01:57 AM, DFox wrote: Hey,
I'm having a really annoying problem with ActionScript 3 and finding MovieClips......
I dont know AS3 but if its similar to as2 u just use instance names and scoping, so something like-
this._parent.character.gun._rotation += x
What about linux? Is that worth a go?
At 10/23/07 07:41 PM, videogame10freak1 wrote: Take it from a guy who has one and can only use that one!
NO!
Care to expand?
WOuld mac run fl studio u rekon?
And ragevi thanks for the input..you make some great points.

