You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'BleeBlap'

We found 944 matches.


<< < > >>

Viewing 1-30 of 944 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92032

1.

None

Topic: Shooting objects =[

Posted: 10/06/08 11:21 PM

Forum: Flash

Try:

At 10/6/08 09:21 PM, Spiff wrote: if (Key.isDown(Key.SPACE)) {
this.attachMovie("missle", "missle"+i, i);
_root.missle.xv = 10;

_root.missle.onEnterFrame = function () {

_root.missle._x += missle.xv;

}


2.

None

Topic: Programming Wiz or Social King

Posted: 06/20/08 02:07 AM

Forum: Programming

At 6/19/08 06:19 PM, xXDathDalerXx wrote: i've never seen programming communities or something like that where people get together & discuss programming...

So what exactly are you doing now then? And there do exist all sorts of places where you can meet other programmers in person too. For example, PyOhio is having a free event tomorrow. Or consider events like major companies developer conferences (Apple, Microsoft, Amazon, Ebay, Paypal ... ) where you pay to attend presentations from the people who wrote the software we all use. There are several different clubs at my university (open source, linux, etc ... ) that are focused around computer nerd stuff. It is easy to stereotype programmers as the kids who don't get any sun and stay up all night at their keyboards (kinda like I'm doing right now), but when you look around a little and try to get involved you will see that it is as much community as any other hobby / career.


3.

None

Topic: flash & PHP

Posted: 06/03/08 09:44 PM

Forum: Flash

Yes. Check out LoadVars.


4.

None

Topic: c++ question?

Posted: 05/27/08 02:29 AM

Forum: Programming

The answer is in the title to the youtube entry. OpenGL is a library that makes it easier to use a bunch of different devices and use device specific graphics acceleration through the same API. I would guess that they have a bitmap and use OpenGL to do the rotations. For more about what OpenGL is and how it use it with any of several different programming languages check out wikipedia or google.


5.

None

Topic: Action Script trouble - Collisions

Posted: 05/20/08 02:37 AM

Forum: Flash

Blah syntax errors in my code and post:

with (_root["enemy"+i])
{
//set properties for each enemy
}

6.

None

Topic: Action Script trouble - Collisions

Posted: 05/20/08 02:35 AM

Forum: Flash

You need to do the same thing for enemies as you do for bullets. You have the i variable that you use for the instance name but you need to use it when you are setting the properties and onEnterFrame stuff for each enemy. That is use something like:

[code]with (_root["enemy"]+i]
{
...
}[/code]


7.

None

Topic: Nosey AS

Posted: 05/12/08 03:59 PM

Forum: Flash

If you are hosting it on your own site you can pass anything that PHP can read into Flash. Check out the $_SERVER super global for a list of things that PHP could use.


8.

None

Topic: Quiz Question

Posted: 05/12/08 03:55 PM

Forum: Flash

You will want to create a variable that stores the number of lives. You can set that to three initially and then every time they click the wrong button you can subtract one. For detailed information about how to use variables check out AS: Variables.


9.

None

Topic: Flash help

Posted: 05/11/08 09:59 PM

Forum: Flash

Pay for the full version and then enter the serial number they give you?


10.

None

Topic: HELP pls.. simple c program

Posted: 04/29/08 10:26 PM

Forum: Programming

At 4/29/08 06:51 AM, jhex21 wrote: i know the code is not complete. all i know is if(x^n/n! == 0) that's when the time to stop.. pls help//

It's time to stop what? Are you trying to do it recursively?

Anyway I would break up the equation into three different variables:

sign = 1
numerator = X
denominator = 1

Then each iteration through the Taylor Approximation each value changes like:

sign *= -1
numerator *= X
denominator *= iteration (starting at 1 to N where N is sufficiently high to get a good approximation(ie use a for loop with a constant in the stop conditioin))

And then if you have the correct value at each step the sin would be evaulated like

sin += sign * numerator / denominator;


11.

None

Topic: Someone help me!

Posted: 04/21/08 01:03 AM

Forum: Programming

Check out the PayPal Sandbox. It will let you set up a few accounts with different permissions and process different types of payments. Once you have it all working all you have to do is change the URL you send requests to and it will function the same way but with real money.


12.

None

Topic: Someone help me!

Posted: 04/20/08 11:08 PM

Forum: Programming

If you were more specific about what you are trying to do with paypal I would know weather or not I could help you without having to make the effort of going on AIM and would thus be more likely to help you. I've done some basic integration with IPN (Instant payment notification) but not the more advanced PDT (payment data transfer) or sophisticated shopping carts.


13.

None

Topic: PHP Question

Posted: 04/02/08 12:14 PM

Forum: Programming

At 4/2/08 12:03 PM, FallingTears wrote: When using PHP to write HTML ... how would I make the following work (becuase it doesn't work when I place it within echo '')

For stuff like that that isn't dynamically generated I usually don't echo it through php because it just adds strain to the server. So, my code would look like:

<!DOCTYPE ...
<html .. >
<head> ... </head>
<body>
<?php
echo 'dynamic stuff';
?>
</body>
</html>

If you really want to echo it through php you should be able to enclose it all within 'single quotes'. If you need to echo both single and double quotes you'll have to escape whichever one you enclose your string with with a backslash (\' or \").


14.

None

Topic: Cant get server to work!!

Posted: 02/17/08 11:14 PM

Forum: Programming

At 2/17/08 10:47 PM, hypnotoadtrance wrote: I use two computers one is the server and the other is a test to see if i can connect to the server.

This would probably mean you are using a router (unless you have two modems and pay for internet twice). Your problem is probably due to the router not knowing what to do with requests it receives on port 4000. If you have admin access to your router, go to http://portforward.com/routers.htm and look up instructions for forwarding port 4000 to the machine you have the server running on.


15.

None

Topic: omg programmers look at this!!!

Posted: 02/11/08 01:56 AM

Forum: Programming

There are a few interesting problems, but some are a mundane as calculate the gpa based on an obnoxious amount of command line input. In order to function as a social networking site it needs a lot more user to user interaction. Message boards hardly count as social networking anymore. And as far as the number and scope of problems go, it reminds me of a startup version of project euler (http://projecteuler.net/). It has potential, but I'm not ready to jump on the bandwagon yet.


16.

None

Topic: Is it possible...

Posted: 01/12/08 03:06 PM

Forum: Flash

At 1/12/08 02:29 PM, Celtrum wrote: I am trying to make it so that whe nmy character hitTests a movieClip with teh partia linstance name of ledge, it will stop gravity effect. But I will have many ledges! So many instance names!

If you follow a naming convention like ledge1 ledge2 ... then you can just use a loop:

for (x=0; x<MAX_LEDGES; x++)
{
if (_root["ledge"+x].hitTest(this))
{
//do stuff
}
}

Make sure you name all of the ledges in order and you replace MAX_LEDGES with a number (or define max_ledges to be what you mean).


17.

None

Topic: Is it possible...

Posted: 01/12/08 02:20 PM

Forum: Flash

I don't think you understand what exactly indexof does. Indexof is to find where a character appears inside a string, and doesn 't make sense in the context you used it. What exactly are you trying to do?

IndexOf Reference


18.

None

Topic: Best chi for programming

Posted: 12/10/07 10:36 PM

Forum: Programming

I work best when I lose my internet connection.


19.

None

Topic: visual or dev?

Posted: 12/08/07 04:51 PM

Forum: Programming

At 12/8/07 02:42 PM, xXDathDalerXx wrote: the only thing i like about it over DevC is the collapsible code blocks

VS08 implemented that feature too, or at least its in the beta. I'll admit I've only used Dev C++ a little, but I work with VS daily and I think it's one of the best products Microsoft makes.


20.

None

Topic: Connecting to a Game Server?

Posted: 12/01/07 09:28 PM

Forum: Programming

I'd use CURL.

Quick example (mostly from link above):

<?php
// create a new cURL resource
$ch = curl_init();

// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);

// grab URL and pass it to the browser
$content = curl_exec($ch);

echo $content;

// close cURL resource, and free up system resources
curl_close($ch);
?>

21.

None

Topic: actionscript help

Posted: 11/29/07 10:29 PM

Forum: Flash

That didn't go well, lets try again:

onClipEvent (enterFrame)
{
if (this.hitTest(_root._xmouse, _root._ymouse, true))
_root.gotoAndStop(2);
}
}
How long have there been code tags and how do I use them?

22.

None

Topic: actionscript help

Posted: 11/29/07 10:28 PM

Forum: Flash

For spinners I would leave them as movieclips and then on them I would put:

[code]onClipEvent (enterFrame)
{
if (this.hitTest(_root._xmouse, _root._ymouse, true))
_root.gotoAndStop(2);
}
}
[/code]


23.

None

Topic: Will pay someone for program

Posted: 11/29/07 09:35 PM

Forum: Programming

At 11/29/07 06:42 PM, RaptorIV wrote: I need a really simple program:

I need someone to make a program that can measure to 5/32 of an inch and be able to print, and be accurate. I'm willing to pay, but I don't expect it would be much mroe than $10. If you could tell me when i could expect it, and give me a quote that would be great. If you were wondering what its for I need it for building plans, like blue prints. Thanks.

What's wrong with a good old fashion ruler?

Will you pay me $10 to just draw two tick marks in paint that are 5/32 of an inch apart? You can open it and print it? Maybe I'm misunderstanding what you mean.


24.

None

Topic: actionscript help

Posted: 11/29/07 09:30 PM

Forum: Flash

I just created a test project in the following way:

I created a blank mc on the first frame. On the frame I put:

stop();

On the actions for the mc I put:

onClipEvent(enterFrame)
{
this._x -=5;
}

Inside the blank mc I created a black button. On the button I put the following code:

on(rollOver)
{
_root.gotoAndStop(2);
}

On the second frame I added a gameover message.

On testing the project I see the black button move to the left until it touches my mouse and then the movie goes to the game over message.

This isn't exactly the most efficient way to do it, but it's how I thought you were approaching it. If you did it this way and it still doesn't work double check. If you did it some other way you need to better explain how you laid it out and the other codes you are using.


25.

None

Topic: Copying Scenes

Posted: 11/29/07 09:15 PM

Forum: Flash

I don't know if you can copy scenes, but you can copy frames. Just select everything in the timeline and do Edit->Timeline->CopyFrames. Then select the other project and do Edit->Timeline->PasteFrames.


26.

None

Topic: actionscript help

Posted: 11/29/07 09:10 PM

Forum: Flash

Try:
_root.gotoAndStop(2);


27.

None

Topic: Halloween Game Collab 07

Posted: 10/02/07 11:46 PM

Forum: Flash

These don't perfectly fit the requirements, but I made them for the halloween mini game collab that never happened last year so I thought I'd offer them up anyway:

Candy Launcher
Candy Catcher
Eat candy until you vomit
Juggle Candy

I like candy

If the graphics don't look like they were drawn by a preschooler, I didn't draw them.


28.

None

Topic: Multiple attachMovie snag...

Posted: 06/05/07 03:00 AM

Forum: Flash

At 6/5/07 02:39 AM, Deejay-Suffer wrote: if(Key.isDown(Key.END)){
_root.attachMovie("laserL", "laserL" + i, i, {_x:xp,_y:yp});
_root.attachMovie("laserR", "laserR" + x, x, {_x:rp,_y:yp});
i++;
x++;

You are attaching laserL and laserR to the same depth. Flash will only let one thing be attached at each depth so it attaches the left laser and then immediatly overwrites it with the right laser. You can either use a seperate counter for depth or use the _root.getNextHighestDepth() function.


29.

None

Topic: artificial intelligence

Posted: 06/02/07 08:57 PM

Forum: Flash

Basically it uses the distance formula to calculate the distance between whatever movieclip you put it on and a movieclip with instance named that. If that distance is less than someNumber it tests which direction the player should move in. I assumed you were doing a sidescroller type game. If you are doing some sort of overhead game you'll need to replace the this._x +/-= speed with some trig to calculate the angle and x,y components.

For more info on the if/else stuff check out: AS: Loops and Conditions.
For more info on the trig check out: AS: Trigonometry.


30.

None

Topic: artificial intelligence

Posted: 06/02/07 08:30 PM

Forum: Flash

psuedoCode:

onClipEvent(enterFrame) {
distance = squareRoot((this._x - that._x)^2 + (this._y - that._y)^2);
if (distance < someNumber) {
if (this._x > that._x) {
this._x += speed;
} else {
this._x -= speed;
} else {
//stand still
}

You'll probably wanna use Math.sqrt and Math.pow.
}


All times are Eastern Standard Time (GMT -5) | Current Time: 01:06 AM

<< < > >>

Viewing 1-30 of 944 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92032