Be a Supporter!
Response to: Hit Test Help! Posted October 11th, 2010 in Game Development

At 10/11/10 07:09 PM, fishmonster wrote: var speed:Number = 0;

You need to set this to something higher than 0 if you want movement.

the walking animation is all in frame 2, i nested it inside a movie clip.

Not totally sure what the problem is here, are you sure there is no stop() in the nested movieclip?

Response to: Preloader Posted October 11th, 2010 in Game Development

You can just do it like this.

bar.gotoAndPlay(loadPercentage)
Response to: Hit Test Help! Posted October 11th, 2010 in Game Development

At 10/11/10 06:56 PM, fishmonster wrote: the character does turn left and right

Is speed still set to 0 like in the first code?

but he does not move and the walking animation in frame 2 does not play

While the key is down it is constantly sent to frame 2, is the rest of the walking animation on frame 3 onwards?

Response to: Hit Test Help! Posted October 11th, 2010 in Game Development

At 10/11/10 06:07 PM, fishmonster wrote: i forgot to put the code in,

You can just add half the height to the y value.

if (_root.ground.hitTest(_x, _y + _height/2, true)) {
Response to: So, a side scroller... Posted October 11th, 2010 in Game Development

We can't just give you the code for a whole game, if you have any particular problems with actionscript you can ask them here . You will have to learn actionscript or get a programmer.

Response to: Audio Bridge: Beta Posted October 11th, 2010 in General

At 10/11/10 08:47 AM, gumOnShoe wrote: And exactly how many of those let you filter by score, date, & genre?

Fair enough.

Also, how many are ugly?

Actually yours is pretty ugly.

Response to: Audio Bridge: Beta Posted October 11th, 2010 in General

It's not exactly an original idea, although well done for making your own.

Response to: Is there an "or" in AS2? Posted October 10th, 2010 in Game Development

You can use || for or

if(value1 == 10 || value2 == 10){
}
Response to: Cyber-punk Rpg Needs Programmer Posted October 10th, 2010 in Game Development

At 10/10/10 10:50 AM, Prometheus13 wrote: strange, i saw that ARMORGAMES too

They made a post on another forum to increase the amount of people that would see it. What exactly are you trying to say?

Response to: Transfering Flash to another com. Posted October 8th, 2010 in Game Development

You could try and find the CS3 trial and use your key with it.

Response to: Need menu for zombie shooter game Posted October 6th, 2010 in Game Development

Are we talking about the main menu? That seemed pretty good to me.

Response to: Need menu for zombie shooter game Posted October 6th, 2010 in Game Development

But it already has a menu.

Response to: Using i to replace repeating code Posted October 5th, 2010 in Game Development

Then as I said, put them in an array.

var biteys:Array = new Array(bitey1,bitey2,bitey3,bitey4)

var mouseListener:Object = new Object();

mouseListener.onMouseDown = function() {
for(var i = 0;i < biteys.length;i++){
if(biteys[i].hitTest(_root._xmouse,_root.ymouse,true){
biteys[i].startDrag();
}
}
}
Response to: Need Help! Posted October 5th, 2010 in Where is / How to?

I think it's given to people that have their game sponsored by Newgrounds.

Response to: Using i to replace repeating code Posted October 4th, 2010 in Game Development

I'm not totally sure what you're trying to do. if all the mcs are on the stage why do you need code that works for any amount ?

Response to: Using i to replace repeating code Posted October 4th, 2010 in Game Development

That can be done with an array.

Have a function to create a "bitey". Then you can loop though and get each one.

var array:Array = new Array();
function createBitey(){
var bitey:MovieClip = new MovieClip()
array.push(bitey)
}
for(var i = 0;i<array.length;i++){
array[i].x = 10
}
Response to: Using i to replace repeating code Posted October 4th, 2010 in Game Development

Put all of them in an array, then you can loop though the array.

var array:Array = new Array(1,2,3,4,5,6);
for(var i = 0; i < array.length;i++){
trace(i);
}
Response to: As3 Context Menu Problem Posted October 4th, 2010 in Game Development

The ContextMenuItem has a caption property just change this when you toggle the sound or whatever.
http://www.adobe.com/livedocs/flash/9.0/
ActionScriptLangRefV3/flash/ui/ContextMe nuItem.html#caption

Response to: Firebox Gadgets! Posted October 4th, 2010 in General

At 10/4/10 09:59 AM, mysteryentry wrote: you arent funny, theres no reference to your joke. And what is Ed thats something that fat americans do in american isnt it when they learn to drive?

Ed is short for education, something you are clearly lacking.

Response to: Dynamic camera Posted October 2nd, 2010 in Game Development

At 10/2/10 08:41 PM, elementell wrote:
At 10/2/10 08:40 PM, Callum123456 wrote:
At 10/2/10 08:36 PM, elementell wrote: but then how would I do collision?
How are you doing your collision now?
Simple hit test objects, but I can't do that if everything is the object, then the bounding box is everywhere

Also, how could I control the character if he's in the movieclip, I can't script inside movieclips.

It's still simple.

if(container.player.hitTestObject(container.enemy)){
//code
}
Response to: Dynamic camera Posted October 2nd, 2010 in Game Development

At 10/2/10 08:36 PM, elementell wrote: but then how would I do collision?

How are you doing your collision now?

Response to: Dynamic camera Posted October 2nd, 2010 in Game Development

Put everything(including the player) in a container MovieClip. Then use the following code.
Source

container.x = -player.x + SCREEN_WIDTH/2;
container.y = -player.y + SCREEN_HEIGHT/2;
Response to: Tablet settings in Flash? Posted October 2nd, 2010 in Game Development

At 10/2/10 05:56 PM, Shrubs wrote: What smoothing would be the best?

It's probably best to mess around with it and find a value you like.

Response to: The 10 Kb Game Challenge [as3] Posted October 2nd, 2010 in Game Development

What are the rules on loading things from the web? for my game currently I am using a URLRequest to get the sounds, is this allowed? Or will I need to create the sounds using actionscript?

Response to: Tablet settings in Flash? Posted October 2nd, 2010 in Game Development

After selecting the brush tool open the properties panel and there should be a smoothing option.

Response to: Non-parameterized type error... Posted October 2nd, 2010 in Game Development

At 10/2/10 02:35 PM, Deadclever23 wrote:
At 10/2/10 10:09 AM, GustTheASGuy wrote: I was hoping one of you idiots had finally started using haXe.
Question though?

What IDE do you recommend for haXe?

I would say Flash develop but then I'm not Gust, he will probably have a better suggestion.

Response to: Help with a flash Posted October 2nd, 2010 in Game Development

At 10/2/10 02:24 PM, brandon31998 wrote: No. As in Macromedia Flash Professional 8. You need this program to make cartoons and games.

Flash 8 is like 5 years old. You should try and get a later version.

Response to: If one of the admins move next door Posted October 2nd, 2010 in General

Take it.

Response to: Help!!! Posted October 2nd, 2010 in Game Development

Select them all and press CTRL+B.