Now:
October Challenge 2014
Ends in:
Sat, 01 Nov 2014 00:12:00 UTC

Coming Soon:
Ludum Dare 31
December 5th-8th, 2014
Sat, 06 Dec 2014 01:00:00 UTC

ConstructionPlease excuse the site weirdness. Mike is making and fixing things. Clocks are probably wrong. Colors are place-holder.


Ludum Dare 31:

Ludum Deals

???

 

Recent:

MiniLD #XX


Petris Update

Posted by
October 19th, 2011 6:46 pm

I’m currently trying to get Indievania to host my game, Petris. Over the last week I’ve implemented Marathon, Timed, and a 20 Line mode for Petris. Also the ability to save scores to a text file. Here’s the title and game screen:

PetrisTitleScreenPetrisGameScreen

 

Issues: I’ve got two things I’m worried about. 1-The blocks while playing the game don’t line up perfectly. 2-I use Java’s graphics to draw text, which makes it not look the greatest…

Goals: I plan on fixing the block issue in the near future, and try to learn bitmap text drawing. Also, maybe flesh out the bg music(wrote it myself). It’s 2 short parts that play over and over and might make other people go crazy. If people want the ability to switch polyominoe sets, I’ll try that too.

One Response to “Petris Update”

  1. digital_sorceress says:

    The way the blocks don’t line up looks consistent across rows and columns, so is probably due to game coordinates and screen coordinates not lining up.
    If the window can be resized, there will be problems with pixel graphics not being drawn in the right place.

    If you insist on working in pixel graphics, then measure everything in pixels and work in those, not in custom coordinates. Also, either:
    (i) Fix the size of the window so it can’t be resized.
    (ii) Make the window resize in integer factors (x1, x2, x3 etc) Disable antialiasing. Use nearest-neighbour for drawing.

Leave a Reply

You must be logged in to post a comment.


[cache: storing page]