Unfortunately I didn’t completed the physics engine as I planned.
So instead I submit the proof of concept game for the polygon drawing.
ANIMALMATCH4K
[url=http://java4k.com/index.php?action=games&method=view&gid=392]
http://dl.dropbox.com/u/17655614/4k/animalmatch4k/animalmatch.gif
[/url]
Obsoleted:
[WIP] Prof4K
Hello All,
This year I’m going to try to make a game like Professor Fizzwizzle.
It will be a vertical platform puzzle game where the hero can’t jump or fly.
First I will investigate fillPolygon as opposed to sprites created by String.
In the past I had good results using String encoding Sprites.
This is where I’m headed now (pseudo-code)
String sprites="[nrofcoords]XY…XY[nrofcoords]XY…XY";
Each sprite definition starts with nr of poly followed by x,y coordinates.
Maybe advanced technique would be to include number of sprite parts indication with
some color definition encoding.
Anybody allready walked that road in 4K? Any suggestions?!
Best regards from
M.E.
Edit: Java4k link