Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


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: 'ActionScripts'

We found 23 matches.


<< < > >>

Viewing 1-23 of 23 matches.

1.

None

Topic: artist wanted

Posted: 08/12/08 03:36 PM

Forum: Flash

ok so here's the deal:
I want to make an adventure game engine. My reason for needing an artist is that since adventure games are very art oriented it seems dumb to try and write an engine without using realistic clips.

Anyways if anyone is interested let me know, as this could always turn into a full game provided the right story came along...

There is no money involved as of right now but you never know.
I realize there's tons of these posts all the time, but hopefully someone mature is interested. Please provide some art example

mullet139@hotmail.com, or just post on this thread.

Thanks


2.

None

Topic: java vs. c++ vs. perl

Posted: 08/08/08 01:04 AM

Forum: Programming

just use assembly!


3.

None

Topic: Changing the fps

Posted: 08/08/08 01:00 AM

Forum: Flash

in AS3 just use this:

stage.frameRate = 20; //where 20 can be whatever


4.

None

Topic: Platforming!?

Posted: 08/08/08 12:50 AM

Forum: Flash

another way to improve efficiency is to use some polymorphism. This way you can reduce all those if statements to 1. The loop has to continuesly run through all these if statements which is very inefficient. Again let me know if you need info


5.

None

Topic: Platforming!?

Posted: 08/08/08 12:48 AM

Forum: Flash

one good way to make it a lot more efficient is by the use of linked lists. Set up a list of the possible things to hit. This way the loop only runs through the close by objects as opposed to every possible clip. I can post some code if you really care.


6.

None

Topic: serverside newgrounds

Posted: 06/03/08 06:36 PM

Forum: Programming

I've seen multiplayer games on NG. This means there is some kind of backend ability right?
I want to know for things like highscores and such.


7.

None

Topic: serverside newgrounds

Posted: 06/03/08 04:19 PM

Forum: Programming

hey I'm sure this has been covered before but I couldn't find much in the forums:
what serverside technology does NG allow? I realize we can't just call .php scripts, is there anything at all that can be used?
any info would be useful thanks


8.

None

Topic: tracking mousedown

Posted: 05/28/08 02:26 AM

Forum: Programming

thanks for the efforts but I don't see how that helps with anything?
you're just importing an external swf which is not what I'm having problems with.
Thanks anyways,
anyone know how this can be done?


9.

None

Topic: tracking mousedown

Posted: 05/28/08 02:09 AM

Forum: Programming

the problem with this method is that I need to be able to allow the movie to do whatever it wants to do:
Basically there will be a button in the movie that has some actions. Therefore the code you describe won't execute because the even is never fired, since the button actions are fired instead.

The movie gets loaded externally so I don't have access to the button's code.
Any other ideas?


10.

None

Topic: tracking mousedown

Posted: 05/28/08 01:19 AM

Forum: Programming

hello,
I am embedding an swf onto a simple html page. I want to be able to track a mousedown event.
So I tried wrapping it with a div, but didn't work. I noticed I can track mouseover with div.
Does anyone know of an easy way to track when the mouse is clicked?

I would like to avoid the use of flash if at all possible.
Thanks a lot


11.

None

Topic: weird lag problem

Posted: 05/13/08 10:36 PM

Forum: Flash

I don't get how this would help since I'm using setInterval not onEnterFrame.
I tried doing this and it doesn't change anything


12.

None

Topic: weird lag problem

Posted: 05/13/08 09:53 PM

Forum: Flash

it's split up because it's designed to be very expandable. So a lot of stuff is spread out.
An update:

I originally had the physics calculations ever ms so setInterval(calc, 1);
I have changed it to setInterval(calc,30);

Now the difference between my local version and the one everyone sees is a lot closer.
Does anyone know why this would be?

I would much rater use 1ms because it makes collision detection a lot easier to do. Any ideas?


13.

None

Topic: weird lag problem

Posted: 05/13/08 09:40 PM

Forum: Flash

using 8 as files should have nothing to do with it since it all gets compiled into one .swf file. It's just a way to organize code. It's like having tons of commenting, the compiler doesn't care at all....


14.

None

Topic: weird lag problem

Posted: 05/13/08 09:35 PM

Forum: Flash

no see that's the whole thing. It doesn't lag but he moves waaaay too slow.
The odd thing is that in flash and only on my firefox it's fine. but on my IE or anyone else's computer it's all slow like you describe. Any idea why this happens?


15.

None

Topic: weird lag problem

Posted: 05/13/08 09:21 PM

Forum: Flash

yes that's exactly what I mean. IT's not lag since the animations are fine.
I just don't get why it is so much faster on my comp and not on anyone else's/ IE

There's a lot of code. It's using 8 AS files...


16.

None

Topic: weird lag problem

Posted: 05/13/08 08:40 PM

Forum: Flash

hi,
I'm making a game. Everything runs fine in the authoring tool, and also on my computer. However when I view it in either IE, or any other computer the game runs much slower.
game herecheck it out

The weird thing is that I've set up an FPS counter and it never goes under 20. Also the animations are still smooth, and you can see that when the guy is falling it's smooth, so it's almost like some variables are changed, it doesn't even feel like lag.

Anyone have any ideas?

(move with arrows jump with space)

Please reply this is driving me insane


17.

None

Topic: Switching Layers

Posted: 05/13/08 01:23 AM

Forum: Flash

what you can do is have the 3 layers. infront house behind and you would have the man running clip on behind. Then at the frame where the switch is made have the clip on the infront layer and no longer on the behind layer like this:

infront ------------
behind ----------------------------------

now just give the clip on infront an instance name and on the frame where the switch is made use this code:

clipName.gotoAndPlay(whateverInternalFrame); //where internalFrame is replaced by the number it should be at

hope this helps


18.

None

Topic: another socket issue

Posted: 05/12/08 03:29 AM

Forum: Flash

if you could get the answer that would be great thanks


19.

None

Topic: another socket issue

Posted: 05/12/08 03:02 AM

Forum: Flash

hey,
so I'm running a simple java socket server. I am able to connect to the server with flash and recieve a message from the server, however when I try to write back nothing happens. Once I quit the app the message appears on the server. I have tried this on a web-browser aswell and it does the same thing, it's only sending the message after I stop running flash.

package{
import flash.events.*;
import flash.net.*;
import flash.display.MovieClip;
import flash.text.*;
import flash.events.ErrorEvent;
import flash.system.Security;

public class Connection extends MovieClip{
trace(Security.sandboxType);
private var socket:Socket;
public function Connection(){

socket = new Socket();
socket.connect("xx.xxx.xxx.xxx", 1988);
socket.addEventListener(Event.CONNECT, con);
socket.addEventListener(ProgressEvent.SOCKET_DATA, read);
this.addEventListener(MouseEvent.MOUSE_DOWN, Send);
}
private function read(o:ProgressEvent){
trace("got data");
pub.text = socket.readUTFBytes(socket.bytesAvailable);
//socket.writeBoolean(true);
socket.writeUTFBytes("hey");
socket.flush();

}
private function con(o:Event){
trace("connected");
}
}
}

thanks very much


20.

None

Topic: flash socket

Posted: 05/11/08 04:58 PM

Forum: Flash

hey guys that fixed it thanks


21.

None

Topic: flash socket

Posted: 05/11/08 02:47 AM

Forum: Flash

hey I don't have my .fla with me so I can't test it but I could see that being the reason. Thanks I'll try as soon as I can, any ideas why this is happening? Is this just a bug? I mean there is still a reference to the socket so memory management shouldn't be deleting it. Thanks again


22.

None

Topic: flash socket

Posted: 05/10/08 07:11 PM

Forum: Flash

hello,
this isn't one of those posts where I have no idea what servers are etc... this is a specific problem I'm having:

I've set up a simple java server to handle the sockets. Right now I have a simple hello! string sent to any client uppon connection. This works 100% of the time when using telnet, but when using flash I usually have to run it 2-3 times. My server is on a different domain from the flash file, but a cross-domain file is in place, and the connection does work it's just not 100%

Does anyone have any ideas on why this might be happening?

here's my as code: (very simple)

package{
import flash.events.*;
import flash.net.*;
import flash.display.MovieClip;
import flash.text.*;


public class Connection extends MovieClip{
public function Connection(){

var socket:Socket = new Socket();
socket.connect("xx.xxx.xx.xxx", 1988);
socket.addEventListener(Event.CONNECT, con);
socket.addEventListener(ProgressEvent.SOCKET_DATA, read);
}
private function read(o:ProgressEvent){
var socket:Socket = Socket(o.target);
trace("got data");
trace(socket.readUTFBytes(socket.bytesAvailable));

}
private function con(o:Event){
trace("connected");
}
}
}

help would be very apreciated this is urgent


23.

None

Topic: Character movement

Posted: 12/24/04 02:12 AM

Forum: Flash


All times are Eastern Daylight Time (GMT -4) | Current Time: 11:34 AM

<< < > >>

Viewing 1-23 of 23 matches.