Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
Sprite outside of a game
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sprite outside of a game (Read 2314 times)
dart_ace2ace
Member
Initiate
Posts: 1
Art student, hope to be a sequential artest
Sprite outside of a game
«
on:
October 10, 2007, 05:04:07 PM »
why cant I do this. I can do most else,AND IT IS NOT LIKE I AM HAVE NEVER DONE ANYTHING LIKE THIS BEFORE.Ok, anyway I am trying to put a sprite I made on one of my profiles. it is like a myspace profile. uses bbcode. but I don't thing that matters does it? I mean it can still use html cant it?
OK, This is what I want:
1.) I want to put my sprite on the profile page.
2.) I want him to not move until the person viewing my profile scrolls down. When he/she scrolls down I want my sprite to look like he is walking that way. I don't want his placement on the page to actually move though. I want him to stay on the screen when the person scrolls down or up or whatever. I f someone can tell me how to do this I would be vary thankful.
Logged
Osmose
So freakin' inactive
Royal
Posts: 3,041
(No subject)
«
Reply #1 on:
October 10, 2007, 05:21:45 PM »
Whether you can use HTML on a profile varies by site. I believe Charas filters out most HTML (And I know for a fact that it filters all of it on the new server). Either way, an IMG tag should work fine.
The second part is far more complicated, as Javascript only has the ability to detect the current position on the page a person has scrolled, meaning that you would have to have a loop go continuously and very fast to detect a change, and then change the image to the next frame each time it detects a change, but even then this would not look good with a scrollwheel as they jump down large amounts as opposed to scrolling smoothly.
Basically, the work required is far too much to make it worthwhile.
Logged
Hrm.
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
Sprite outside of a game