Seriously, this took me way longer than it should have

It took a great deal of bashing my head against a wall wondering why said wall wouldn’t move, but I finally got a code up and running using javascript and HTML5 that easily changes pictures when they are clicked on. Go ahead, try it out! Click on the picture above to switch to the next picture and so on and so forth. I don’t have any code for going back yet, but I’m working on it. Anyway, this is probably going to be the new format for Flash Koma in the future (though they’ll be about the same size as the flashes were, not tiny like this test canvas). Although this does present some new problems, namely the fact that each ‘frame’ has to be saved as a separate image, but I’ll tackle that as time goes on. Also, animation in javascript is complicated, though Flash Koma never really had much animation to begin with so I may just see about using gifs. Ah, but gifs loop… Hmmm, there’s obviously still a lot of work to do before I iron out all the kinks, but the important part is that I have a basis to work from now and as they say it’s always the first step that’s the hardest.

6 thoughts on “Seriously, this took me way longer than it should have”

  1. Hmm…new format for the Flash Koma…Definitely interesting!Now we just need to wait for the next Flash Koma and see the results for ourselves.

    GO NEKO! ヽ(´▽`)/

  2. Hmmm, that’s ’cause of the counter I’ve been using. I’ll have to rework that.
    I’ll still be using flash, though. just not for the presentation.

  3. Dude, it’s amazing to see how far you’ve come, old friend.

    As a side note: You make yourself a bitch to find, you know that? ^_^;
    I might mention, this is Loki speaking. Dunno if you remember me or not.

  4. (Btw. . . you could have just used flash to make a picture viewer. It’s fairly simple with actionscript.)

  5. WOW, Loki?! I seriously wasn’t expecting that! How have you been? Alright, I hope? And sorry for that. I have a bad habit of falling off the face of the planet. I just moved into an apartment and I don’t have stable internet until Sunday so I’ve been gone from a lot of the internet for a while.

    And I know I could have done it in Flash, but the point of this was to help me learn JS and HTML5. It’s just as well considering I never learned actionscript all that well anyway. Though if what I understand is correct then javascript and actionscript are the same thing anyway, but meh.

Comments are closed.