-
Screen moves but sprite doesnt
is there a code where the sprite is in the middle of the screen and when I hold down any of these it looks like the character is moving, but actually the screen is?
W
ASD
I have every slide for movements.
and I tried working with Sprites.zip to work with it but couldnt seem to get it to work =P
Ce-Bro Productions, an online game making a web comic community
Ce-Bro.com
-
Game Master
you mean something like this? http://www.armthewolves.com/sprites.swf
its kinda hard to explain in text so I'm actually working on a video tutorial for it again. Dont count on it soon though lol. But for making it look like the screen is moving just make a var called everythingspeedx and everythingspeedy, then make a keyboad element saying on left everything speed=-50 or something. Then make a script run every frame saying:
box1.velocity.x=everythingspeedx
etc
-
yes thats excactly what I was looking foromg. lol, ok thanks
Last edited by Eponefive; 02-08-2006 at 08:41 PM.
Ce-Bro Productions, an online game making a web comic community
Ce-Bro.com
-
A Senior Newbie - How Odd
Hey,
That's a nice example Conn Nice little sprite you've got there
EponeFive : The other place you might want to look is one of 2 of the 'community projects' that are listed on the forum somewhere. One was a version of 'boulderdash' that had some really good script for quick scrolling like this.
M.
-
ok thanks , I will look for it=)
Ce-Bro Productions, an online game making a web comic community
Ce-Bro.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|