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.
Showing and moving small pictures with java
Moderator: General Moderators
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.
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.