Recent posts by MilkingTheCowMOO on Kongregate

Flag Post

Topic: Game Programming / Movieclip within another movieclip

For anyone that might encounter the same problem. Working with multiple frames in a movieclip is absolutely horrible. I’ve reduced the movieclip to 1 frame and just pasted the screens of the deleted frames next to the other screens. Now I go to another background by changing the x and y values of the movieclip.

The next project I’ll use classes though.

 
Flag Post

Topic: Game Programming / Movieclip within another movieclip

I actually use 1 frame on the main timeline but My movieclips contain multiple frames. And I use AS3.

 
Flag Post

Topic: Game Programming / Movieclip within another movieclip

Yeah sorry I meant 4 frames.

But I figured it out now. My error was caused because I have a click redirecting to another frame of B, mouse_over and and mouse_out on my movieclip A. when I click on it my mouse_out will error on me probably because movieclip A isnt there anymore to process the action so I still have to add and invisible A on frame 3 I guess.
Am I the only that finds movieclips annoying to work with or is it just my lack of experience?

 
Flag Post

Topic: Game Programming / Movieclip within another movieclip

Ok thanks for your help all. I got it working now. But does this also mean that when I have eventlisteners on A and I have 4 layers on B that A has to be on the stage on all 4 frames, be it visible or invisible?. Im quite new to all this and all this movieclip inception is by far the most confusing thing for me.

 
Flag Post

Topic: Game Programming / Movieclip within another movieclip

Yes I have. So this error occurs when it cant find the name? Movieclip A isnt on the first frame in movieclip B, could that be causing the problem?

 
Flag Post

Topic: Game Programming / Movieclip within another movieclip

Lets say I have movieclip movieA within movieclip movieB. a has multiple frames so I want to stop it from playing. So I use this from my main timeline.

movieB.movieA.stop();

The compiler then complains that the term is undefined and has no properties. How can I prevent this from happening? Of course I could just avoid putting movieclips inside other movieclips and use workarounds like the visible property but there must be a simple way to work around this problem.

 
Flag Post

Topic: Game Programming / Flash art forum

Thanks for your response. I know about these sections you mentioned but they aren’t really the thing im looking for as there isnt really talked about how to make things look good in Flash. Right now im looking a lot at other flash projects to see how others make their games look attractive which is helpful but I would like to see the opinions of people on how to create good looking flash art.

 
Flag Post

Topic: Game Programming / Flash art forum

I was wondering weather there are forums that emphasize more on the visual/art side of making games with flash/actionscript. Yes I know there’s a section on Kong but it isnt really that interesting. Google didnt help me much either.

 
Flag Post

Topic: Game Programming / My first game

Thanks a lot for your help!

 
Flag Post

Topic: Game Programming / My first game

I use AS3. I dont really know how to do solve this with a custom class. I’ve used them twice while following a tutorial but I’m not very good at it yet.

Im currently not at home so I cant provide any code but my repetitive code is similar to this:

cow1.addEventListener(MouseEvent.CLICK, cow1Listener);
cow2.addEventListener(MouseEvent.CLICK, cow2Listener);

function cow1Listener(MouseEvent):void
{
    mcCow1.gotoAndStop("Cut");
}
function cow2Listener(MouseEvent):void
{
    mcCow1.gotoAndStop("Cut");
}

If you would like to see more I’ll upload my code tomorrow.

 
Flag Post

Topic: Game Programming / My first game

Hey all, I just finished my first game and as it’s mostly meant to improve my skills I was wondering what the people here think of it. I realize the gameplay isn’t that great.

http://www.kongregate.com/games/MilkingTheCowMOO/when-cow-moo

I also have a specific question. In this game I have a lot of repetitive code because every cow requires its own code. As a result I have way too much code that’s nearly identical. How can I prevent this?