Showing and moving small pictures with java

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Zomis
Forum Newbie
Posts: 7
Joined: Tue Mar 11, 2003 9:32 am
Location: Sweden
Contact:

Showing and moving small pictures with java

Post by Zomis »

I am working with a little online game about horses.
And in a horse race, I want to display 2-5 (depending on how many horses that are in the race) small pictures and move them some steps horizontally (to the right) each x milliseconds.

the number of steps should be calculated (which I can calculate using normal php code) depending on many factors.


But I do not know very much about java, I have used some javascripts on my page, but never with any pictures...

if anyone can help me, please reply.
lostboy
Forum Contributor
Posts: 329
Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada

Post by lostboy »

there is a really good book an using javscript to manipulate images in the browser, comes with code called;

Dynamic HTML Web Magic
ISBN: 1-56830-421-8
New Riders Press

probably the best book I have seen on using layers and images
Gleeb
Forum Commoner
Posts: 87
Joined: Tue May 13, 2003 7:01 am
Location: UK
Contact:

Post by Gleeb »

I think it's best that someone points out how java and javascript are nothing to do with each other.

If you're going to do it in java, it'll need quite a bit of knowledge about Java, or at least more than me (and I recently took a (bad) course in it).

If you're going to do it in Javascript, then I'd go buy the pook in the above post.
Post Reply