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

We found 65 matches.


<< < > >>

Viewing 1-30 of 65 matches. 1 | 2 | 3

1.

Shouting

Topic: Restarting an Interval

Posted: 08/03/08 09:35 PM

Forum: Flash

I've never been good with intervals, so I could use some help with something I'm trying to do. When any of the arrow keys is pressed, I want an interval to start (1 sec). When the one second goes by, I want a variable named smoke_effect to become true. Every time I click a different key, I want the smoke_effect variable to become false but the same interval to restart and one second later make the smoke_effect variable true again.


2.

Sad

Topic: Has anyone else experienced this?

Posted: 07/22/08 04:29 PM

Forum: Audio

Sometimes when I work intensely on a song for about 1 or 2 hours and make a lot of progress on it, I leave my computer feeling like my song is near perfect as it is. Yet when I return, lets say, an hour later to hear it again, all the new additions I made sound extremely jumbled and confusing. This happens especially with sequences with more than five instruments or when a melody contains mostly 1/8th and 1/16th notes. I don't know why this happens, and unfortunately, I often lose the optimism I initially had with my song. Though after playing the song over and over, it does start to sound normal again. But yeah, its a strange phenomenon. Does this happen to anyone else?


3.

Questioning

Topic: Is actionscript easy or hard??

Posted: 04/28/08 08:33 PM

Forum: Programming

What I mean to say, and I couldn't fit it in the title, is whether actionscript is considered an easy or difficult language compared to other languages like C++, JavaScript or any other language, or is this question totally irrelevant because actionscript is so different?


4.

Questioning

Topic: Distance from object in MC to mouse

Posted: 02/09/08 01:40 PM

Forum: Flash

What I can do is find the x-distance and y-distance between the mouse and a moveiclip called "box", but in the situation of my game, I need to find the x-distance and y-distance between the mouse and a movieclip inside "box". Does anyone know how to do this properly???


5.

None

Topic: Rotating a Rectangle Problem!

Posted: 02/09/08 12:22 AM

Forum: Flash

whoops, under wrong account. That post right before this is just me in the wrong account


6.

Questioning

Topic: Rotating a Rectangle Problem!

Posted: 02/08/08 11:06 PM

Forum: Flash

In a game I'm working on, when someone drags the corner of an object, it rotates. This object can also transform to have different heights and lengths by dragging the sides of the object. So this means you can rotate any sort of rectangular shape, including a square. Now when I rotate it as a square, there is perfectly uniform motion. However, when I am rotating a rectangle, especially a thin rectangle, the movement is screwed up, with no uniform motion but instead jerks, and then periods of slow rotation. I'm trying to figure out why the rotation works for the square, but not for the rectangle shapes. If you have any idea what I'm talking about, can you please give me some advice, and a reason/ solution to the problem. Thanks!

HERE IS THE EXAMPLE FILE!!!


7.

Happy

Topic: Draw The Person Above You

Posted: 01/11/08 11:57 PM

Forum: Art

Alien crying

Draw The Person Above You


8.

Shouting

Topic: My song is nowhere to be found!!!

Posted: 01/01/08 05:20 PM

Forum: Audio

I submitted a new song called Sebby64 - Beware of the Bass about 5 hours ago. It is already off the audio submissions list. When I search for it in the audio search bar I can't find it. Also, it has a 4.52 as of now, but it is not on the industrial charts! The only way I can find my song is by typing sebby64.newgrounds.com in the html bar. It is there of course, but everywhere else I can't find it.

Has anyone else had this problem? How can I fix it?


9.

Questioning

Topic: Making 3 symbols have the same name

Posted: 12/09/07 10:54 PM

Forum: Flash

I have 3 distinct objects (ball1, 2, and 3) that should have the same actionscript properties but I don't want to repeat a line of code for each separate ball. So, for example, I don't want to say:

if (ball1 >= 550) {
gotoAndPlay (43);
}

if (ball2 >= 550) {
gotoAndPlay (43);
}

if (ball3 >= 550) {
gotoAndPlay (43);
}

What do i do to make one name only that applies to all 3 three balls?


10.

Happy

Topic: Awesome games that went unnoticed.

Posted: 11/26/07 06:44 PM

Forum: General

Grim Fandango was a great adventure game and got great reviews, but I've never met anyone who has played it besides me.


11.

Resigned

Topic: Move on Object on top of another?

Posted: 09/03/07 09:02 PM

Forum: Flash

Using action script, how can I make one object cover another.

Let me explain better:

You have two objects on one layer. Object 1 is below Object 2 . But if I press a key, Object 1 goes above Object 2. How can I do this with action script?


12.

None

Topic: hitTest - if u hit a wall, you stop

Posted: 08/21/07 08:02 PM

Forum: Flash

Its not really stealing if I give credit and its in the as:main to begin with...


13.

Resigned

Topic: hitTest - if u hit a wall, you stop

Posted: 08/21/07 07:46 PM

Forum: Flash

My person can walk and hit a rectangular wall realistically, but when I make the wall circular or odd-shaped, the character hits the empty space of the symbol. Here's an example file: http://i219.photobucket.com/albums/cc37/
sebby_man/Testfilecollisions.swf

The code on the character is:

onClipEvent(enterFrame){
function move(xmove,ymove){
_x+=xmove;
_y+=ymove;
if(hitTest(_root.wall)){

if(xmove>0){
_x-=getBounds(_root).xMax-_root.wall.get Bounds(_root).xMin+0.1;
}
if(xmove<0){
_x-=getBounds(_root).xMin-_root.wall.get Bounds(_root).xMax-0.1;
}
if(ymove>0){
_y-=getBounds(_root).yMax-_root.wall.get Bounds(_root).yMin+0.1;
}
if(ymove<0){
_y-=getBounds(_root).yMin-_root.wall.get Bounds(_root).yMax-0.1;
}
};

if(hitTest(_root.circle)){
if(xmove>0){
_x-=getBounds(_root).xMax-_root.circle.g etBounds(_root).xMin+0.1;
}
if(xmove<0){
_x-=getBounds(_root).xMin-_root.circle.g etBounds(_root).xMax-0.1;
}
if(ymove>0){
_y-=getBounds(_root).yMax-_root.circle.g etBounds(_root).yMin+0.1;
}
if(ymove<0){
_y-=getBounds(_root).yMin-_root.circle.g etBounds(_root).yMax-0.1;
}
}

}
if(Key.isDown(Key.LEFT)){
move(-5,0);
}
if(Key.isDown(Key.RIGHT)){
move(5,0);
}
if(Key.isDown(Key.UP)){
move(0,-5);
}
if(Key.isDown(Key.DOWN)){
move(0,5);
}

}

Note, this code is based off of Tela_Ferrum in his Collisions - Move to Contact post.

But I need this code to register when pixels are touching and not only when the rectangles around the movieclips are touching.

So how can I format my code so that the collision detection is more accurate, enough to allow the character to touch the circle or odd-shape itself and not just the empty space?


14.

Resigned

Topic: Convert Code From Mc To Frame?

Posted: 08/21/07 05:20 PM

Forum: Flash

This code is from this tutorial by TelaFerrum. It is a move to contact code, and if you scroll down the page of that link you can see an example file.

onClipEvent(enterFrame){
function move(xmove,ymove){
_x+=xmove;
_y+=ymove;
//See comment 1 for above code
if(hitTest(_root.wall)){
if(xmove>0){
_x-=getBounds(_root).xMax-_root.wall.get Bounds(_root).xMin+0.1;
}
if(xmove<0){
_x-=getBounds(_root).xMin-_root.wall.get Bounds(_root).xMax-0.1;
}
if(ymove>0){
_y-=getBounds(_root).yMax-_root.wall.get Bounds(_root).yMin+0.1;
}
if(ymove<0){
_y-=getBounds(_root).yMin-_root.wall.get Bounds(_root).yMax-0.1;
}
}
//See comment 2 for code in between the last comment and this
}
if(Key.isDown(Key.LEFT)){
move(-5,0);
}
if(Key.isDown(Key.RIGHT)){
move(5,0);
}
if(Key.isDown(Key.UP)){
move(0,-5);
}
if(Key.isDown(Key.DOWN)){
move(0,5);
}
//See comment 3 for code in between the last comment and this
}

I've been learning to write actionscript in the frame, not the MC or Button, so I tried to change the code so that it would work in the frame actions:

_root.onEnterFrame = function () {
move (guy2);
}

function move (guy2) (xmove,ymove){
_x+=xmove;
_y+=ymove;
//See comment 1 for above code
if(hitTest(_root.wall)){
if(xmove>0){
_x-=getBounds(_root).xMax-_root.wall.get Bounds(_root).xMin+0.1;
}
if(xmove<0){
_x-=getBounds(_root).xMin-_root.wall.get Bounds(_root).xMax-0.1;
}
if(ymove>0){
_y-=getBounds(_root).yMax-_root.wall.get Bounds(_root).yMin+0.1;
}
if(ymove<0){
_y-=getBounds(_root).yMin-_root.wall.get Bounds(_root).yMax-0.1;
}
}
//See comment 2 for code in between the last comment and this
}
if(Key.isDown(Key.LEFT)){
move(-5,0);
}
if(Key.isDown(Key.RIGHT)){
move(5,0);
}
if(Key.isDown(Key.UP)){
move(0,-5);
}
if(Key.isDown(Key.DOWN)){
move(0,5);
}
//See comment 3 for code in between the last comment and this
}

The part in bold is what I changed from the original script. I think my problem is that I have two parentheses in a row: function move (guy2) (xmove,ymove). I'm not sure how I can write the code so that things will work.


15.

Expressionless

Topic: Does checkBoundaries exist?

Posted: 08/01/07 03:13 PM

Forum: Flash

I'm using a book to learn how to give boundaries to an object. The problem is, the line of code includes checkBoundaries which does not show up as blue in the actions panel and is not on Macromedia's actionscript dictionary. Is there a different name for checkBoundaries?

If anyone is interested, here is the code of the script:

ball.dx = 5;
ball.dy = 5

ball.onEnterFrame = function() {
ball.move();
ball.checkBoundaries();
}

ball.move = function (){
ball._x += ball.dx;
ball._y += ball.dy;
}

ball.checkBoundaries = function(){

}


16.

None

Topic: Best Flash Guide

Posted: 07/29/07 11:58 AM

Forum: Flash

im looking more for a book


17.

None

Topic: Best Flash Guide

Posted: 07/29/07 11:54 AM

Forum: Flash

I've made some games with flash but I've had a lot of trouble in the past simply because I don't have enough knowledge about certain flash concepts. What I need is a book that explains actionscript really well by giving examples/ pictures. Anyone know a great action script book that can help me?


18.

None

Topic: Icon for Game

Posted: 07/05/07 08:18 PM

Forum: Flash

I'll clarify what I said earlier. I made the icon in flash, in a 46x46 size document. I exported the image in GIF format. The picture quality of the GIF is poor. How can I make my GIF image have better quality?

I hope this helps


19.

None

Topic: Icon for Game

Posted: 07/05/07 08:13 PM

Forum: Flash

no, I made an entirely new picture for the icon


20.

None

Topic: Icon for Game

Posted: 07/05/07 08:06 PM

Forum: Flash

i already have it set at 46 x 46. Its bad quality though


21.

None

Topic: Icon for Game

Posted: 07/05/07 07:59 PM

Forum: Flash

I just exported the image for my game's icon, but it came out very low quality. It is in GIF format. PNG doesn't work for me, so I'm wondering if there is a way to make the icon export at a better quality in GIF format


22.

None

Topic: HitTest question

Posted: 07/03/07 11:48 AM

Forum: Flash

Great! Thanks!


23.

None

Topic: HitTest question

Posted: 07/03/07 10:57 AM

Forum: Flash

I know the script to put hitTest on an object in the main timeline:
onClipEvent (enterFrame) {
if (_root.object1.hitTest(_x, _y, true)) {_root.object2.gotoAndPlay (2);}
}

But when I put this script on something inside the movieclip, the hitTest doesn't register. I just need to know what proper script would be.


24.

Happy

Topic: Scoring Problem

Posted: 07/02/07 01:34 PM

Forum: Flash

I got it to work, and for a strange reason. When I changed the button on the frame before (which wasn't functioning properly), the frame after which I was having all the problems on miraculously worked. I can't explain why or how, but I'm just happy it works!


25.

None

Topic: Scoring Problem

Posted: 07/02/07 12:06 PM

Forum: Flash

Paranoia, do those scripts go on the frame or the MC?


26.

None

Topic: Scoring Problem

Posted: 07/02/07 11:57 AM

Forum: Flash

now ill try out your's paranoia


27.

None

Topic: Scoring Problem

Posted: 07/02/07 11:55 AM

Forum: Flash

Hmm, your script didnt fix the problem....


28.

None

Topic: Scoring Problem

Posted: 07/02/07 11:38 AM

Forum: Flash

Actions on a MC: on(keyPress "<Space>") {_root.totalmoney+=1}

Frame Actions: _root.totalmoney = 0;

Variable name for dynamic text box: totalmoney

If I press SPACEBAR, shouldn't the score go from one, to two, to three, etc...
I'm not sure why, but it goes: 1111111111111, adding a "1" for every time I hit SPACE BAR.

How can I change the script so that it adds. I want the first click to give me 1, and every time after that it adds 1 to the previous number.


29.

None

Topic: 12 fps to 50 fps

Posted: 07/01/07 10:19 PM

Forum: Flash

ive gotten the sound to work, but the keyframes (at 50 fps) stay in their original spots, and therefore dont synchronize with the music.

I'm kinda doubting this wont work.... ughhh


30.

None

Topic: 12 fps to 50 fps

Posted: 07/01/07 10:15 PM

Forum: Flash

In my animation I have two layers:

one with music and one with a bunch of blank keyframes
My document right now has a 12fps rate, but I want to convert it to 50 fps.

Is there any way to do this so that the blank keyframes still synchronize with the music at 50fps?


All times are Eastern Daylight Time (GMT -4) | Current Time: 06:25 PM

<< < > >>

Viewing 1-30 of 65 matches. 1 | 2 | 3