PDA

View Full Version : How is this for my first attempt at 3d character movement



ar
April 22nd, 2005, 08:22 PM
This is my first completed character, yoshi, that I have spent a long time trying to find out the right coding and scripts.

I can't post the thing here, because for some people it doesn't work on mozilla firefox and other stuff.

So here's the link

LINK (http://es.voetsjoeba.com/yoshi.swf)

And that's all there is to it.
Again, this is my first attempt at characters like this, and there are going to be many more.

Use the arrow keys to move around.

Note: This isn't exactly completely 3d, but just pixelated yoshi.






!GB! - PEACE -

realsurreal
April 22nd, 2005, 08:30 PM
nice job worked great on firefox for me, this maybe a stupid question but did you do it just using actionscript?

DDD
April 22nd, 2005, 08:57 PM
looks good, even moves diagonal.

ar
April 22nd, 2005, 09:01 PM
All actionscript

But the thing is, if I put it on kirupa itself into a post, the movement won't work.

Thanks

Is it fluent






!GB! - PEACE -

ar
April 22nd, 2005, 09:03 PM
width=500 height=400

This is it. But I don't know if it will work here.






!GB! - PEACE -

tucker
April 22nd, 2005, 09:12 PM
Not working in here for me in firefox, but looks fine on your site.

fasterthanlight™
April 22nd, 2005, 10:36 PM
Smooth, i like it. the one inside the forum works for me.. OS X Firefox.. strange. Oh well :)

ar
April 22nd, 2005, 10:40 PM
Now for the 3d worlds and jumping and hit tests.
*sighs*
It's going to be a lot of work.

Thanks






!GB! - PEACE -

DDD
April 22nd, 2005, 10:45 PM
motion works in ie but it makes my browser move as well.

ar
April 22nd, 2005, 10:51 PM
Yeah I know. Is there a way to fix that problem somehow. So that it wouldn't enterfere with anything.

Well, the problem is only in kirupa, so people could just post links to their stuff. Thanks for the comments.






!GB! - PEACE -

fasterthanlight™
April 25th, 2005, 12:33 AM
As far as i know, you have to click inside the swf to move the focus to the flash file, as opposed to the web browser.

also, i noticed that you gave it boundaries, the bottom one works, but the top one makes yoshi stop when it contacts his head. shouldnt it make yoshi stop when his feet are touching the line?

chriskalani
April 25th, 2005, 12:50 AM
nice. you can even walk diagonal... coool

.RobinK
April 26th, 2005, 10:07 AM
Pretty cool!
Is it just a tryout for yourself or did you really built it for a puspose? :)

thesparky007
April 26th, 2005, 08:00 PM
pretty cool
but blurs a lil

ar
April 26th, 2005, 08:43 PM
I made it so that I could learn different game making things, and so that I could just get that out of the way. And as for a little later, I'm going to start and development tea, to start on projects and stuff for different companies, like Sony and Nintendo (hint hint). I'm going to update the yoshi thing. I fixed the problem and it should work a little better now. Thanks for the comments. As for the bluring, it does that because of this:

speed1 = 4
speed1a = 0.7 * speed1

speed1 is my speed for the character, and speed1a is the speed for moving diagonaly to make the walking and the speeds look realistic. Since speed1a would have decimal frame numbers it tends to blur. But I want to keep everything like that, so there's nothing that I can do about it. Right now I'm going to be working on the jumping. Could someone help me out with the regular jumping code things, I don't really have enough time to look through the forums for it. Well, thanks!

:lol:






!GB! - PEACE -