Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: tenniskid493 on January 01, 2006, 09:25:00 am

Title: Javascript Help
Post by: tenniskid493 on January 01, 2006, 09:25:00 am
I'm trying to learn more in-depth javascript and I came across sprites and I can't figure out how to do them.  I can't find a single tutorial that tells how to use sprites in javascript.  Any help will be greatly appreciated.
Title: Javascript Help
Post by: DJ Omnimaga on January 01, 2006, 09:26:00 am
you can use sprites in javascript? O_Oshocked2.gif sry js hates me I cant help much :(sad.gif
Title: Javascript Help
Post by: tenniskid493 on January 01, 2006, 04:41:00 pm
Umm I think so.  If not, can you in CSS or XHTML or DHTML?
Title: Javascript Help
Post by: BCTurk on January 01, 2006, 04:43:00 pm
When you say sprites, do you mean clipped sprites?  I don't think you can do that, but I'm pretty sure you can access images, right?
Title: Javascript Help
Post by: tenniskid493 on January 01, 2006, 04:50:00 pm
accesing images and putting them at a variable spot on the screen.  They don't need to be clipped, just be able to put them anywhere on the screen, not just left, center, or right aligned.
Title: Javascript Help
Post by: BCTurk on January 01, 2006, 05:08:00 pm
Well, if you can put images at a varible spot on the screen, just store the sprites as images, no?
Title: Javascript Help
Post by: necro on January 01, 2006, 05:25:00 pm
Actualy, you can "clip" sprites, but it is quite complicated...
Title: Javascript Help
Post by: tenniskid493 on January 01, 2006, 05:53:00 pm
@BCTurk:  I need to know how to put them at a variable spot on the screen.  Thats what I'm asking how to do.