It looks like you're using an Ad Blocker.
Please white-list or disable AboveTopSecret.com in your ad-blocking tool.
Thank you.
Some features of ATS will be disabled while you continue to use an ad-blocker.
originally posted by: undo
argh, i have been working on an inbrowser game that can be (hopefully) played in mobile devices. it's not a big production, just an one person project. i'm just using regular html, _javascript and css. however, i am completely stumped at how to make this 3d image carousel, responsive (i.e. content adapts to fit screen regardless of size of browser window, browser type, desktop resolution, or screen size). this is the carousel
www.joezimjs.com...
and this is what i've done with it so far (note that each character menu button below the main window, rotates the selected character to the middle position and information about that character's race is displayed immediately below the character (click image to enlarge)
(more characters are behind the ones you can see and rotate into view when that character's menu button is pressed)
anyway, i really like this carousel script, EXCEPT when i resize the window, the background image resizes correctly, but the carousel does not. the old trick of having every parameter be in percentage or ems, is not working in this example and i can't figure out why. for example, in some cases the width can be set in percentage and in some cases it can't. it stubbornly refuses to be anything but px.
anybody know about this stuff??
originally posted by: itwork4me
Don't you need to detect detect the browser? I've had a few unexpected things on my dev platform look fine on another browser. I haven't done game developmment outside an Xbox/windows media center and that was just for giggles.