Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [Journal] The Tiny Vikings  (Read 5641 times)
0 Members and 1 Guest are viewing this topic.
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Posted 2010-04-26 07:30:19 »

[size=32pt]The Tiny Vikings[/size]

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:


In game:

Play Minecraft!
Offline Orangy Tang

JGO Kernel


Medals: 48
Projects: 11


Monkey for a head


« Reply #1 - Posted 2010-04-26 10:48:11 »

In game:

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. Smiley

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #2 - Posted 2010-04-26 12:01:54 »


Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #3 - Posted 2010-04-26 12:37:23 »

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

Kev

Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #4 - Posted 2010-04-26 12:40:19 »

*blush*

Thank you. =)

Play Minecraft!
Offline ShannonSmith
« Reply #5 - Posted 2010-04-26 15:41:28 »

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.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 50
Projects: 15


★★★★★


« Reply #6 - Posted 2010-04-26 20:03:26 »

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

Senior Newbie





« Reply #7 - Posted 2010-04-28 05:59:44 »

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.
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #8 - Posted 2010-04-28 11:01:37 »

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.

Play Minecraft!
Offline Orangy Tang

JGO Kernel


Medals: 48
Projects: 11


Monkey for a head


« Reply #9 - Posted 2010-04-28 11:03:57 »

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.

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. Smiley

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #10 - Posted 2010-04-28 11:14:23 »

Ooh, that looks even better!

Play Minecraft!
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #11 - Posted 2010-04-28 12:01:38 »

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

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #12 - Posted 2010-04-28 16:59:24 »

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!

Play Minecraft!
Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


Game Engineer


« Reply #13 - Posted 2010-04-28 19:22:28 »

Looking very very cool. Smiley

See my work:
OTC Software
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #14 - Posted 2010-05-03 09:59:22 »

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

Play Minecraft!
Offline ShannonSmith
« Reply #15 - Posted 2010-05-03 19:42:53 »

If this is the work of one hour per week then you must be at least a 10x better coder than I am  Wink. 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.


Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #16 - Posted 2010-05-26 11:56:27 »

Hello Markus_Persson,

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

Best regards from

M.E.

M.E.
--------
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (77 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (119 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (179 views)
2013-05-12 17:10:36

kutucuk (179 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.119 seconds with 22 queries.