![]() |
Read This Cool Thing Its So Cool U Wont Believe Ur Eyes!
:D okay im makin a game where u control a ball that bounces around then when u start you have to touch a brown block with a color in the middle then ur ball changes to that color. then you have to touch a fully colored block thats the same color.
the only thing i wanna know is how to make stuff bounce leik hazards leik sumthin that keeps on bouncing left and right, or up and down.ok thanx its gonna be cool so dont think its gonna be ugly.oh yea only one of my friends can test if u ask leik esiah, u can try and ownerofbabylon, u can test it too and kamistu (r however u spell it) can test it. and liqidice (owner of unholy nation) and brady2 and stuff leik that blah..:megaeek: |
?
|
?111111111?1111111
DIEUYRDIDHYEKFNDSJNGFJSDNGJD G :WOMP: |
Why Wont THis Work?
Why Wont This WOrk?
NPC Code: and dont say flags suck and OH NOO I HATE FLAGSS! plz. thx. and post a script that works for this plz. |
flags
flags suck dude ...
|
...hmm....it works perfectly, it move itself up 1000 times if up is set
and moves itself down 1000 times when down is set or maybe you wanted it to have a sleep command in there somewhere? |
variables
i prefere the variable approach a lot better:
NPC Code: that may work .... |
if (playerenters||created) {
timeout = .5; } if (timeout) { timeout = .5; if (playery = 49) { playery--; this.dir=up; } if (this.dir==up) { playery--; } if (playery==11) { playery++; this.dir=down; } if (this.dir==down) { playery++; timeout = .2; } } you need the timeout to make it looped |
nun of those work
|
Quote:
|
Precisely!
|
Quote:
You're speaking alien to me, Kai. ;) |
they're where yer moving, not what direction you're facing ;) but i still don't know how to use 'em
|
velocities, am i wrong =(
|
hooray, i was right for once =)
|
well, i dont know exactly how to use velocities, and i dont know what/how to use vectors, do they have something to do with arrays?
|
didnt think so...
|
do they have to do with kaimetsu's !@#$?
|
lol
Im confused |
~AlphaFlame~
*plays around in boredom* if (playerenters){ timeout=.05; this.dir=2; this.velocity=.5; } if (timeout){ playery+=vecy(this.dir)*this.velocity; if (playery<11 && this.dir=0){this.dir=2;this.velocity-=.5;} if (playery>50 && this.dir=2){this.dir=0;this.velocity-=.5;} if (playery in |11,50| && this.velocity<2){this.velocity+=.01;} timeout=.05; } Hmm... *tilts head* y'know... I don't think I got what Kaimetsu meant by velocity either :D *shrug* Oh well, at least it bez bouncy and shortish... |
Well, you see
the velocity of the lips times the vector of his @$$ that they kiss equals how much time it takes to kiss Kais @$$ ! |
Quote:
graal.Kaimetsu=#s(laughing-at-idiot); graal.idiot=SSj_Link; } |
| All times are GMT +2. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.