Be a Supporter!
Response to: Flash project Posted August 19th, 2008 in Game Development

Adobe?

Response to: The Flash 'Reg' Lounge Posted August 19th, 2008 in Game Development

New Game

I finally finished this game..
So check it out its pretty simple and isnt doing as well in the portal as I had hoped..

Response to: Egg Dropping [Collab] Remix Posted August 18th, 2008 in Game Development

At 8/18/08 04:11 PM, mwmike wrote: When he created it his BA was over 3.5

Well im sure using clock day to raise BA is against the rules anyways..

Response to: Umm nooby problem Posted August 18th, 2008 in Game Development

_currentFrame

Response to: Action Script For Beginners Help Posted August 17th, 2008 in Game Development

At 8/17/08 07:56 AM, RocketMan08 wrote: should the boundary be a graphic or movieclip?

Neither unless you are talking about hitTests instead of boundaries..

Response to: Action Script For Beginners Help Posted August 17th, 2008 in Game Development

At 8/17/08 07:45 AM, WhoknowsmeaUdiO wrote: Didn't see my post >:(
P

Not to be a dick but your code has a much bigger chance of glitching..
If the game for some reason lags and the movieclip skips over the exact amount of 550 pixels the code won't work any more thus my code stops that from happening..
Changing

if(this._x==550)

to

if(this._x>550)

will make your code less likely to glitch..

Its just smart programming really..
Response to: Action Script For Beginners Help Posted August 17th, 2008 in Game Development

Here you go for boundaries: (adjust the values based on your stage size)

onClipEvent(enterFrame)
{
if(this._x>550)
{
this._x=550;
}
if(this._x<0)
{
this._x=0;
}
if(this._y<0)
{
this._y=0;
}
if(this._y>400)
{
this._y=400;
}
}

Hope that helps(the values I used were for a default stage adjust them to how you see fit)

Response to: Commission work, Earn $50+ Posted August 16th, 2008 in Game Development

I'm sure a job like that is gonna cost a little more near the $500 range.

Nice try though..
Response to: The Ultra-platformer Tut Collab!! Posted August 16th, 2008 in Game Development

Your missing really important parts in a platformer for this collab..

These are more advanced but:
Dynamically created objects
Actionscripted objects

Response to: platformer help Posted August 16th, 2008 in Game Development

Fine..explanation:

var speed=10;
var gravity=7;

Declares the variables speed and gravity and gives them set amounts.

ball.onEnterFrame=function()
{

Runs the onEnterFrame function on the movieclip"ball" meaning it is the first function called before any other functions and all of the code it contains is constantly repeated.

this._y+=gravity

This code finds the current y value of the movieclip "ball" and the then constantly adds the variable gravity to it..causing the "ball" to fall.

if(this.hitTest(_root.ground))
{

If the movieclip "ball" x or y values hit the movieclip "ground" x or y values then the if statement is deemed true otherwise the if statement is skipped.

gravity=0;
}

Sets the variable gravity to 0 which stops the movieclip "ball" from falling once it hits the ground because this._y+=gravity is just adding 0 to the y value...basically doing nothing.

if(Key.isDown(Key.LEFT))
{

If the user presses down the left arrow key the if statement is deemed true otherwise it is skipped.

this._x-=speed;
}

Constantly subtracts the variable speed to the x value of the movieclip "ball" which causes its x value to go to the left.

if(Key.isDown(Key.RIGHT))
{

If the user presses down the right arrow key the if statement is deemed true otherwise it is skipped.

this._x+=speed;
}
}

Constantly adds the variable speed to the x value of the movieclip "ball" which causes its x value to go to the right.

Hopefully this helps clear it up..

I'm feeling that all that explanation might have been for a lost cause..
Response to: platformer help Posted August 16th, 2008 in Game Development

At 8/16/08 06:01 PM, Paranoia wrote: That post might have been helpful if you'd explained how the code actually worked >.<

In my opinion that code is pretty self-explanatory..

Response to: platformer help Posted August 16th, 2008 in Game Development

This is some of the code your asking for..
Give your character the instance name of ball.
Give your ground the instance name of ground.

var speed=10;
var gravity=7;
ball.onEnterFrame=function()
{
this._y+=gravity
if(this.hitTest(_root.ground))
{
gravity=0;
}
if(Key.isDown(Key.LEFT))
{
this._x-=speed;
}
if(Key.isDown(Key.RIGHT))
{
this._x+=speed;
}
}
Response to: Need an artist fora paying position Posted August 16th, 2008 in Game Development

I hope you know that you just drove a good artist away..

Response to: random object spawning Posted August 14th, 2008 in Game Development

The closest I could get is if the mouse touches a button but you can build on this code.
Make the linkage "button" for this to work.

function buttonfalling()
{
var fall=this.attachMovie("button","button"+a,this.getNextHighestDepth(),{x:Math.random()*550,y:-50});
fall.onEnterFrame=function()
{
this._y+=10;
if(this._y>400)
{
removeMovieClip(this);
}
if(this.hitTest(_xmouse,_ymouse,true))
{
removeMovieClip(this);
score=score+10;
}
}
a++;
}
function onEnterFrame()
{
setInterval("buttonFalling",Math.random()*2000);
}

Hope this helps

Response to: im wondering how... Posted August 14th, 2008 in Game Development

Not to be a dick but if you can't do anything as simple as a hittest..even after being told how to do it exactly..

Response to: Before you ask a dumb question. Posted August 13th, 2008 in Game Development

Umm...

ok i'll ask it..

Who are you again?

Response to: starting collab want to join? Posted August 11th, 2008 in Game Development

You can still host a collab at ngcollabs

Response to: The Flash 'Reg' Lounge Posted August 11th, 2008 in Game Development

Well this is sorta related to beer..

So me and a few friends tonight went and got 1/8 of bud then we met up with this drinking party in the park..so an hour later i'm hitting on a decent looking chick and things are going well and we saw this car drive up..
we are at the park and the car is driving on the grass to get to us so we thought cops(were all underaged)
One of friends yells dip so me and friends dip..
now we were all pretty high/drunk so we didnt notice anyone at the party follow us..so after running like a mile we get a call from at the party saying that the car was one of there friends who was driving over more beer to the party..

Thus, I'm now very blown..

Response to: (Hentai)I can't take it anymore... Posted August 9th, 2008 in Game Development

Can't this thread just die..

Seriously, who cares..

Response to: What's the penalty for shop-lifting Posted August 8th, 2008 in General

Ignore my previous statement...

I'll just facepalm myself before anyone else does.

Response to: What's the penalty for shop-lifting Posted August 8th, 2008 in General

At 8/8/08 12:37 AM, runpoochrun wrote: What's the penalty for shop-lifting where you live? Specifically first-time offenders. In my country I had to go to juvenile hall for a week. I tried to steal a microwave. What I did was bring a big box that said "I am a hobo" on it. I was pretending to be a hobo who lived in that box, and I had put on raggy clothes and wiped mud across my skin, along with some marker coloring (brown and green, mainly) to complete the effect. I would have used the box as a container for the microwave and sneak it out.

That is one of the worst attempts at shoplifting I have ever heard..

Whatever happened to ripping of the barcodes and stuffing it in your pants?

Response to: animator or coder? Posted August 6th, 2008 in Game Development

Animating is very open..while some take classes to learn how to draw and such most people(here atleast) don't.

While programming does require patient to an extent..generally programming would take less time then animating an equal amount of work(less time doesn't mean easier).

Response to: animator or coder? Posted August 6th, 2008 in Game Development

They are equally difficult..just different.

Coding requires alot of memorization and research.

Animaters need to be unique and patient.

Response to: action script help Posted August 6th, 2008 in Game Development

This will help you on specifics other then that I suggest you press F1 in flash and read everything in there.

Response to: im confused Posted August 4th, 2008 in Game Development

You need to add your movement code to that code though.

Response to: im confused Posted August 4th, 2008 in Game Development

Ugh this isnt that complicated
Put this code in your "player" movieclip.
Give your walls the instance name of "wall".

onClipEvent(load)
{
speed=10;
}
onClipEvent(enterFrame)
{
if(this.hitTest(_root.wall))
{
speed=0;
}
}
Response to: The Flash 'Reg' Lounge Posted August 4th, 2008 in Game Development

So basically just a plug your own work day?

Response to: Audio in Flash Question Posted August 3rd, 2008 in Game Development

Make sure when you export the flash that the bitrate is set high for better audio quality.