(December 20, 2017 at 8:33 am)FlatAssembler Wrote:Quote:It's probably a simple enough concept that you could do it with straight-up Javascript.That's what I intended. However, I've been using so much styling and animation that I've written over 500 lines of code just for an introduction. If I continue like this, the game will probably be 2000 lines long and unplayable because of the distracting animations. It's hard to think of an interface that would make the game playable, that's relatively easy to program and that doesn't look terrible.
Animations by their very nature are meant to draw attention... they'll be distracting only if you add them where the player shouldn't be focusing. Also this looks like a simple quiz/flashcard game, with repeatable pattern in terms of questions, explanations e.t.c. So you don't really need much code once you code for one screen, it can be reused. I'd suggest jquery ui with it's animation effects, or any other lightweight animation framework, especially those that use css based animations.
Quote:To know yet to think that one does not know is best; Not to know yet to think that one knows will lead to difficulty.
- Lau Tzu
Join me on atheistforums Slack (pester tibs via pm if you need invite)