Forum Topic: Look at this!!!!

(15,159 views • 1,050 replies)

This topic is 36 pages long. [ 11020 | 21 | 22 | 23 | 24 | 25 | 263136 ]

<< < > >>
None

titbread

Reply To Post Reply & Quote

Posted at: 1/31/03 08:38 PM

titbread LIGHT LEVEL 14

Sign-Up: 12/02/00

Posts: 2,285

At 1/31/03 08:25 PM, IamGod666 wrote: um, well. okay, the script does work, but i cant move down!

fucked up, u showed me this man. It's over complex


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 1/31/03 09:17 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 1/31/03 08:38 PM, titbread wrote:
At 1/31/03 08:25 PM, IamGod666 wrote: um, well. okay, the script does work, but i cant move down!
fucked up, u showed me this man. It's over complex

i am showing it to klasicious dude, i wanted to see if my van wasnt going down because of the script b4.


Happy

Rebelao

Reply To Post Reply & Quote

Posted at: 1/31/03 09:55 PM

Rebelao EVIL LEVEL 08

Sign-Up: 01/02/03

Posts: 43

Excelent Code! You are good at actionscript, it will help a lot!


None

Idoru

Reply To Post Reply & Quote

Posted at: 1/31/03 10:57 PM

Idoru EVIL LEVEL 02

Sign-Up: 01/11/02

Posts: 689

speed is constant. Friction will make it confusing for you so I'd rather not post it.

onClipEvent (load) {
yoffset = _root.land._height/2;
xoffset = _root.land._width/2;
speed = 3;
}
onClipEvent (enterFrame) {
if ((Key.isDown(key.up)) && (this._y>_root.land._y-yoffset)) {
this._y -= speed;
}
if ((Key.isDown(key.down)) && (this._y<_root.land._y+yoffset)) {
this._y += speed;
}
if ((Key.isDown(key.left)) && (this._x>_root.land._x-xoffset)) {
_root.van.gotoAndStop(3);
this._x -= speed;
}
if ((Key.isDown(key.right)) && (this._x<_root.land._x+xoffset)) {
_root.van.gotoAndStop(2);
this._x += speed;
}
}


None

hugh-jarse

Reply To Post Reply & Quote

Posted at: 2/1/03 03:54 AM

hugh-jarse NEUTRAL LEVEL 08

Sign-Up: 12/05/01

Posts: 5,484

Friction will make it confusing for you so I'd rather not post it.

You may as well post it, cause he will probably need it.


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/1/03 05:48 AM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/1/03 03:54 AM, hugh_jarse wrote:
Friction will make it confusing for you so I'd rather not post it.
You may as well post it, cause he will probably need it.

all the flash bbs belongs to u no more!


None

hugh-jarse

Reply To Post Reply & Quote

Posted at: 2/1/03 05:50 AM

hugh-jarse NEUTRAL LEVEL 08

Sign-Up: 12/05/01

Posts: 5,484

At 2/1/03 05:48 AM, IamGod666 wrote:
At 2/1/03 03:54 AM, hugh_jarse wrote:
Friction will make it confusing for you so I'd rather not post it.
You may as well post it, cause he will probably need it.
all the flash bbs belongs to u no more!

BOO!!


Happy

XwaynecoltX

Reply To Post Reply & Quote

Posted at: 2/1/03 06:34 AM

XwaynecoltX EVIL LEVEL 42

Sign-Up: 01/17/01

Posts: 17,407

Ok here is a simple one so maybe you can help me out with this one

Ok i know how to make a button to go to that certain frame but is there ascript to go to a random frame..

here is what i have how would i change it

on (release) {
gotoAndPlay ();
}

[Poxnora] <<You will love poxnora if you like games like MTG and WOW
[Request a Review] << Request a review and i will be glad to review it

BBS Signature

None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/1/03 01:53 PM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/1/03 06:34 AM, XwaynecoltX wrote: Ok here is a simple one so maybe you can help me out with this one

Ok i know how to make a button to go to that certain frame but is there ascript to go to a random frame..

here is what i have how would i change it

on (release) {
gotoAndPlay ();
}

On the certain frame, what do want it to do, stop or play? I play around with the random frame thingy.


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/1/03 01:54 PM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 1/31/03 07:53 PM, IamGod666 wrote:
for once, i must say that u klaupacius. that is the only code i have seen posted that looks right. i'll try it out. evilshark's just look completely wrong.

Hea, atleast I tried to help you out.


None

kode0001

Reply To Post Reply & Quote

Posted at: 2/1/03 08:21 PM

kode0001 LIGHT LEVEL 17

Sign-Up: 02/07/02

Posts: 202

umm ...
gotoAndStop(random(10)+1);


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/1/03 08:25 PM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/1/03 08:21 PM, kode0001 wrote: umm ...
gotoAndStop(random(10)+1);

Oh thats easy, I was thinkin something else. Nevermind, my mind doesn't work to good sometimes.


Shouting

dexter-x740

Reply To Post Reply & Quote

Posted at: 2/1/03 08:34 PM

dexter-x740 NEUTRAL LEVEL 03

Sign-Up: 01/31/03

Posts: 47

code for a loading bar:

make a movie clip named "loader" or whatever you want
and at the frame where you want to load write the following:

stop();
total=_root.getBytesTotal();
loaded=_root.getBytesLoaded():
if(loaded==total){
play();{
else{
setproperty("loader",_xscale,(loaded/total*100))
}
}


Happy

XwaynecoltX

Reply To Post Reply & Quote

Posted at: 2/1/03 09:24 PM

XwaynecoltX EVIL LEVEL 42

Sign-Up: 01/17/01

Posts: 17,407

At 2/1/03 08:25 PM, evilshark27 wrote:
At 2/1/03 08:21 PM, kode0001 wrote: umm ...
gotoAndStop(random(10)+1);
Oh thats easy, I was thinkin something else. Nevermind, my mind doesn't work to good sometimes.

Ok thx for the help you two......but now i may ask somthing stupid,

When working with a few layers of random does thr random pick just from that one layer of frames, or does it pick from all layers, cayse i would like to start a scend random layer for a different button, and i dont want layer 1 and layer 2 to mix...

~X~

[Poxnora] <<You will love poxnora if you like games like MTG and WOW
[Request a Review] << Request a review and i will be glad to review it

BBS Signature

None

SketchMichaels

Reply To Post Reply & Quote

Posted at: 2/2/03 02:07 AM

SketchMichaels NEUTRAL LEVEL 18

Sign-Up: 01/16/02

Posts: 445

I believe it goes to the specified layer; don't think it has the capabilities of going to multiple layers simultaneously unless you duplicate the code to accomodate both layers.


None

XwaynecoltX

Reply To Post Reply & Quote

Posted at: 2/2/03 05:58 AM

XwaynecoltX EVIL LEVEL 42

Sign-Up: 01/17/01

Posts: 17,407

At 2/2/03 02:07 AM, The_Behemoth wrote: I believe it goes to the specified layer; don't think it has the capabilities of going to multiple layers simultaneously unless you duplicate the code to accomodate both layers.

Well i hope so cause thats what i want, i need a differnt thing for the other layers anyways thx...

[Poxnora] <<You will love poxnora if you like games like MTG and WOW
[Request a Review] << Request a review and i will be glad to review it

BBS Signature

Questioning

EviLudy

Reply To Post Reply & Quote

Posted at: 2/2/03 10:06 AM

EviLudy LIGHT LEVEL 39

Sign-Up: 08/17/02

Posts: 4,525

I've tried to make somthing with tell Target but it aint workin. Wat i want to make is that when a button is pressed, another movieclip goes to another frame. So i made some codes like:
on (release) {
tellTarget ("---TARGET---") {
gotoAndPlay(2);
}
}

Could someone help me with this, cuz my codes don't work.

Swing a Little more!
.. ROCK OUT!

BBS Signature

Angry

Fargate

Reply To Post Reply & Quote

Posted at: 2/2/03 08:11 PM

Fargate LIGHT LEVEL 09

Sign-Up: 10/30/02

Posts: 229

This topic was on the very bottom of the page!!!! ARG!!!


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/2/03 10:17 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

sorry i havent been helpin out much lately. i went through a period of helping out a shit load, and i just cant take any more. so to anyone that asks the most n00b question ever...

Look at this!!!!


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/3/03 12:01 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/2/03 10:06 AM, eviLudy wrote: on (release) {
tellTarget ("---TARGET---") {
gotoAndPlay(2);
}
}

use _root.mc and that should do it.


None

Microminds

Reply To Post Reply & Quote

Posted at: 2/3/03 09:59 AM

Microminds NEUTRAL LEVEL 02

Sign-Up: 01/26/03

Posts: 8

I need a script for a platform game like mansions bubble blast. Were you can shoot bullets with a limit.


Happy

XwaynecoltX

Reply To Post Reply & Quote

Posted at: 2/3/03 01:04 PM

XwaynecoltX EVIL LEVEL 42

Sign-Up: 01/17/01

Posts: 17,407

Well even though 666 doesnt wanna help anymore, others should help us noobs and keep thistopic going, alls i know it has helped me tons and am very thankfull for the help that i did get...

~X~

[Poxnora] <<You will love poxnora if you like games like MTG and WOW
[Request a Review] << Request a review and i will be glad to review it

BBS Signature

None

Psychedelic-Groove

Reply To Post Reply & Quote

Posted at: 2/3/03 11:25 PM

Psychedelic-Groove LIGHT LEVEL 08

Sign-Up: 11/24/02

Posts: 447

hey.. I tried the jumpin script that someone posted, and I altered it so that I would be able to jump on the ground, and 3 other platforms.. it's basically..
____________________
| plat2 |
| |
|plat1 plat3 | This is my map... ground-
| |and platforms..
|groundgroundground |
---------------------

I can jump onto the platforms, but How do I code it so that the mc falls back to the ground when I walk off of the platform? it just floats there


None

Psychedelic-Groove

Reply To Post Reply & Quote

Posted at: 2/3/03 11:26 PM

Psychedelic-Groove LIGHT LEVEL 08

Sign-Up: 11/24/02

Posts: 447

gah... my text map screwed up.. =)


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/4/03 12:12 AM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/3/03 11:25 PM, Crosstowntraffic wrote: hey.. I tried the jumpin script that someone posted, and I altered it so that I would be able to jump on the ground, and 3 other platforms.. it's basically..
____________________
| plat2 |
| |
|plat1 plat3 | This is my map... ground-
| |and platforms..
|groundgroundground |
---------------------

I can jump onto the platforms, but How do I code it so that the mc falls back to the ground when I walk off of the platform? it just floats there

someting close to this. or u could try a hittest = false, but i wouldnt know the exact script for that cuz i do not know a bunch about hittests.

if (mc._y<200) {
mc._y += 10


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/4/03 12:14 AM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/3/03 01:04 PM, XwaynecoltX wrote: Well even though 666 doesnt wanna help anymore, others should help us noobs and keep thistopic going, alls i know it has helped me tons and am very thankfull for the help that i did get...

~X~

i still help on easier questions, but i dont usually help on big things or stuff that is very geveral, although i just cant help doing it sometimes...


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/4/03 06:16 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

now how did this topic get at the bottom of the page?!


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/4/03 08:58 PM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/4/03 06:16 PM, IamGod666 wrote: now how did this topic get at the bottom of the page?!

noobs have gotten even lasier, not even looking at other topics, like this one.


None

InzaneClock

Reply To Post Reply & Quote

Posted at: 2/5/03 06:20 AM

InzaneClock NEUTRAL LEVEL 25

Sign-Up: 10/02/01

Posts: 140

I wonder if there is a page with helluva lot of codes like this... If not someone should make it, or Newgrounds could make a section in Lit or something.


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/5/03 08:46 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/5/03 06:20 AM, _Black_Dragon wrote: I wonder if there is a page with helluva lot of codes like this... If not someone should make it, or Newgrounds could make a section in Lit or something.

hmmmmmmmmmm, have u looked at this topic?!


All times are Eastern Standard Time (GMT -5) | Current Time: 11:55 AM

<< Back

This topic is 36 pages long. [ 11020 | 21 | 22 | 23 | 24 | 25 | 263136 ]

<< < > >>
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!