• Register

"One Square at a Time" is programmed in Python2.7 using pygame, therefore it should be easy to port to lots of other operating systems, but I can't test that at the moment, since I'm doing the work on my desktop Linux PC.

The goal of the game is to enhance and train my Python and pygame programming.

Features I'm working on:

  • User maps
    - Make it easy to create customized maps (and levels).
  • Error handling
    - At the moment there is no such thing as error handling. If you do something the game does not like at all, it's out aka crash.
  • Jumping animation
    - Make an animation when the player is jumping
  • GUI
    - Make a GUI so the game is easy accessible
  • Cross-Platform
    - Since Python and pygame is already cross-platform, this should not be a big problem. Until I've ported it successfully, Linux will be the only stated supported OS.
  • Ideas are appreciated. Feel free to post ideas.
Image RSS Feed Latest Screens
Example Level
Blog RSS Feed Report abuse Latest News: Maps? What maps?

0 comments by MarcusM on May 10th, 2011

Maps? What maps?
What I'm mostly interested in doing for "One Square at a Time", is to make it really easy for the users to create their own maps. This will make sure that the game will never be the same all over.

This is how it works at the moment:
How maps work

A map consist of lots of levels, in which there are three levels (yep confusing, but I had no idea what to call them): level #1, level #2 and level #3.

So in a quick tree-view, this is how a map would look like:
map
- Level 1
-- Level 1.1
-- Level 1.2
-- Level 1.3
- Level 2
-- Level 2.1
-- Level 2.2
-- Level 2.3
- Level 3
... and so on

The background colors of level x.1 and level x.3 are the same, but the background color of level x.2 is another color. The objects (boxes) on level x.1 and level x.3 are the same color as the background color of level x.2. And, as you might have guessed already, the objects (boxes) on level x.2 are the same color as the background color of level x.1 and level x.3.

Here's my experimental 1.map:

text code:
[level1]

name = Awesome

bg1R = 255
bg1G = 255
bg1B = 255

bg2R = 0
bg2G = 255
bg2B = 255

top =      ................................
           ................................
           ................................
           ..........#.#...................
           ..........###........#..........
           ............................#...
           ............................#...
           ................................

mid =      ................................
           ...............#................
           ................................
           ........#.......##..............
           ........................#.......
           ........................#.......
           ........................#.......
           ................................
          
bot =      ................................
           ................................
           ................................
           ................................
           ...............#................
           ...............#................
           ................................
           ................................

[level2]

name = Kewl

bg1R = 255
bg1G = 255
bg1B = 255

bg2R = 0
bg2G = 255
bg2B = 255

top =      ................................
           ................................
           ................................
           ................................
           .....................#..........
           ............................#...
           ............................#...
           ............................#...

mid =      ................................
           ................................
           ................................
           ........#.......................
           ................................
           ................................
           ................................
           ...........

As you see on the level arrays, objects (boxes) are marked by a # sign. This makes it really easy and quick to create levels.

Other news...
I've received my NVidia GTX 460 today and it works perfectly on my ArchLinux desktop PC. Everything was just plug-n-play.
I'd love to say that because of my upgrade from GT 8800 to GTX 460 you can expect a lot more 3D effects and other graphic intensive usage in this game, but no. This'll stick with plain 2D and SDL so far.

Downloads RSS Feed Latest Downloads
One Square at a Time MAEMO EDITION Build 20052011

One Square at a Time MAEMO EDITION Build 20052011

May 20, 2011 Source Code 0 comments

Minor update: * Modified controls: - You know jump py tapping anywhere on the screen.

One Square at a Time MAEMO EDITION Build 19052011

One Square at a Time MAEMO EDITION Build 19052011

May 19, 2011 Source Code 0 comments

The build for Maemo is finally here. It is optimized for Maemo on the Nokia N900, with a screen of 800x480px

One Square at a Time Build 19052011

One Square at a Time Build 19052011

May 19, 2011 Source Code 0 comments

Added a way to load different maps using terminal arguments + new mappack

One Square at a Time Build 12052011

One Square at a Time Build 12052011

May 12, 2011 Source Code 0 comments

New background music, text management and new speed and gravity numbers.

One Square at a Time Build 10052011

One Square at a Time Build 10052011

May 10, 2011 Source Code 0 comments

Build 10052011 Released 10th May 2011. Includes source code of the first build.

Post comment Comments
Inko
Inko May 12 2011, 3:48am says:

I really like the idea of an easy-to-code open source game structure. You were asking for suggestions? Make the lvl count per map dynamic, so that each map creator can decide for himself how many lvls he wants in his map. Some probably want just one, some want like 10... who knows :)
Should be fairly easy to achieve with a 2d array.

Other then that. Keep going! Oh, and a bit more info on the actual gameplay would be nice ;)

+2 votes     reply to comment
MarcusM
MarcusM May 12 2011, 10:37am replied:

As you can see on the example .map file, you can create as many levels as you want.
Just do a new [levelX] in the .map file.

A new build will be up later.

+2 votes     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
One Square at a Time
Platforms
Linux, Mobile
Developed By
MarcusM
Engine
Custom Built
Contact
Send Message
Release Date
TBD
Game Watch
Track this game
Share
Style
Genre
Arcade
Theme
Abstract
Players
Single Player
Project
Indie
Embed Buttons

Promote One Square at a Time on your homepage or blog by selecting a button and using the HTML code provided (more).

One Square at a Time
One Square at a Time
Statistics
Rank
8,004 of 19,215
Last Update
3 years ago
Watchers
4 members
Files
5
News
2