[Journal] The Tiny Vikings

The Tiny Vikings

I’m working on demake of The Lost Vikings by Silicon & Synapse, and I’ve gotten some of the basics done during the weekend.
There’s nothing playable up yet, but here are some screenshots:

Title screen:

http://www.mojang.com/compo/TinyGame2010/viking/title.png

In game:

http://www.mojang.com/compo/TinyGame2010/viking/game.png

Ahaha, that’s perfect. What’s Olaf look like?

9 pixels high is quite large for a plaform sprite - I’ve settled for 6 or 7 and it still feels too large at the moment. I’ll be interested to see how it works out for you. :slight_smile:

http://www.mojang.com/compo/TinyGame2010/viking/vikings.gif

Looks totally awesome. You really have become a great pixel artist :slight_smile:

Kev

blush

Thank you. =)

Rather unsurprisingly looking very impressive. As usual you are setting the bar pretty high. It must have taken ages to get the vikings to match their pixel-rich counterparts.

oh awesome, can’t wait to try this. Just love the lost viking games.

No chance you’d be willing to share the source to your framebuffer-to-animated-GIF code? I’m sure we’re all competent enough to adapt it to our own various frameworks.

I don’t have the source code here, but I use a somewhat butchered version of this:

http://www.java2s.com/Code/Java/2D-Graphics-GUI/AnimatedGifEncoder.htm

The biggest changes I made was to make it automatically set the delay based on the currentTimeMillis() since the last time a frame was set, and to make it compare the current frame to the last one, and not encode it if it’s the same.

Don’t try to make gifs that run faster than 20-30 fps, it won’t play too well.

Don’t know if Markus is using it, but Riven posted some util code to create an animated gif from Image[].

Edit: I guess not. :slight_smile:

Ooh, that looks even better!

Well, my code, doesn’t yet support streaming out of the box. It’s trivial to add though.

Status update:

I’ve got a nice class structure down, with RunViking able to jump, AttackViking able to both swing his sword and shoot his bow (no arrow yet), and ShieldViking able to lift up his shield. He’ll fall slower when holding his shield up.
I’ll have some time on this tonight, and next up is fixing some bugs with the physics and making it possible to stand on top of ShieldViking. Then next up are arrows and ladders! Yay!

Looking very very cool. :slight_smile:

New physics are done, ladders almost work (animation is done… heh), and it’s possible to stand on top of the shield viking.

I think I need to put in more than one hour per week on this project if I want to finish it on time. :wink:

If this is the work of one hour per week then you must be at least a 10x better coder than I am ;). The great thing about this contest over Java4K is it does not encourage bad design and has a much lower barrier to entry. I’ll be releasing my source code and although it won’t be a paragon of good design it will be a lot better than my 4K attempts.

Hello Markus_Persson,

Did I miss a link to test this?
The animated gif is looking awesomely !

Best regards from

M.E.