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!
At 7/19/09 08:28 AM, liless480 wrote:
i think they would be funny if someone wants to lend an ear all i want is a bit of credit for the idea if u happen to use my ideas pm me if your interested :)
Oh yeah, I'm going to use your idea and I'm not going to give any credit. Ha.
Most 3D animations tend to be pretty big, which is why they may not be very common. And most good 3D animators would be publishing their work in a bigger medium. So if you manage to make a good animation, and make it less than 10 mb, I don't see why it wouldn't hit the front page and way more.
At 7/8/09 08:37 AM, Verocious wrote:
It depends on how experienced you are.. My honest opinion is emcees
That's just the easier method for noobs. Coding on MC's is a bad habit and is very messy. All your code should be on frames, as AS3 forces you to do. There is no advantage whatsoever to coding on MC's. So there.
At 7/5/09 06:30 AM, n-nnnn wrote:
im am currently doing a movie, NINJA NAN!
and im shite at drawing backgrounds, if your interested il add you on msn and talk from there as i dont want to give anythingawa much.
here is something i whipped up quickly.
LINk
It looks pretty good. I can't wait to see this finished. But I think you should practice your own backgrounds for now.
You're a fucking idiot. Whenever they see a thread about them they piss themselves from happiness and do 10 more spam flashes. Ignore them, they're just attention whores.
So the problem is that he gets stuck in the walls right? That's what I understood from the code. You're telling him that once he touches the walls, he just can't move.
What I do is to have the player move at a constant speed. And once he touches the left wall for example, he is pushed the same speed he is moving to the right.
Wow thanks, this was just what I needed. Who would've known scrolling would need this much...focus.
If I run into anything else I'll be sure to post it here.
I'm afraid I got lost in your code. Basically what you do is that you get the current position of the object, then every time it moves you get that movement...then you tell the player to....what?
So I have my platformer good and nice and all, I want to add slopes. I did by having a while loop push the player up when he is touching the ground. This works. However I want the player to remain in the center of the screen and for the ground to move. When I put ground++ instead of player-- the ground is pushed down until the bounding box of it, which is pretty high up....
So is there a better way of doing slopes or a better way of scrolling the camera?
At 6/28/09 06:18 AM, CHINESEMANZOMG wrote:
How do I round a number to the nearest hundred. So that if I get 413, it will round to 400. If it's 90 it will round to 100 and so on.
How would I do this?
var Value:Number = 475;//initial value
var nValue:Number = Value/100;//the value divided by 100(as you want it to the nearest 100)
var rValue:Number = Math.round(nValue);//round this divided value
var newVal:Number = 100*rValue;//multiply it by 100 again
trace(newVal)//here is your rounded value to the nearest 100
if you want to change it to round to the nearest 10 or 50 or 1000 just change every 100 to the corresponding value
Well I found this code to be much simpler:
var X:Number = 492;
X = Math.round(X/100);
X *= 100
trace(X);
Normally when I make a platformer I make the ground move instead of the player. However I decided to add slopes. I did that by having a while loop that pushes the player upward whenever he is touching the ground. This works. However now I want the player to remain in the center of the screen. Is there way to do this? Vcam makes it look really bad and choppy.
At 6/22/09 10:24 AM, jotendo wrote:
if (_y>=y_start) {
_y = y_start;
There's your problem right there. You told him that once jumping is over, he goes back to his original Y position. And that original y position is set at the very beginning and doesn't change.