Page 1 of 1

[PB 4.31] 2D platformer done with TileStudio

Posted: Wed Oct 14, 2009 11:40 am
by Kelebrindae
Hi,

During the last summer holidays, I played with TileStudio, a very good map / level designer for 2D games.
The good thing with TileStudio is that you can write little scripts to generate code in your favorite programming language. So I wrote a script to generate code PB, using the parallax scrolling code from Ollivier as a basis.

You'll find the script here and the some explainations here (Google Translate)

To test the script, I've made a little 2D platformer (a remake of previous game posted by HuitBit on the french forums: Oldskull 2).
Download source and EXE here

Scenario:
While installing a geothermal water heater in the basement of the Oldskull Tower, our hero realizes he has gone through a pocket of magma, which begins to invade the building. Hurry! Oldskull must reach the controls at the top of the tower to stop the pump! And with those pesky giant bats roaming the tower, this may be harder than expected ... Will you get to the top?
Image

Controls:
- Cursor left / right: move left or right
- Cursor up: jump
- Space: activates the special item you carry.
You can't carry more than an item, and once activated, you must wait until its effects end to trigger another (except for the sword, which can be triggered at any time).

Items:
- Magic Sword of St Zoutigmar the Ticklish: A holy man he was, yes, but Lord Zoutigmar was also quite touchy and did not hesitate to use violence against monsters, demons and infidels of all kinds. His particularly large collection of weapons still testifies to his passion for hitting things with other (harder) things. This sword, for example, make some of the nearby monsters explode in a sudden (but holy) bloody fireworks.
- Shielderang: Small steel shield hand-hammered by generations of crafty smiths, the Shielderang is a piece of armor poorly understood despite its effectiveness. Launched with dexterity, the Shielderang twirls in the air around you and chop into pieces all creatures unfortunate enough to approach you too closely.
- Blue Gentelin: The Blue Gentelin is an adorable little bird with tender eyes and a wonderful voice. Heard at the dawn of spring days, his singing brings joy and serenity to the lucky wanderer nearby. Also, if you shove it whole in your mouth and crush his head between your teeth before swallowing it, it gives you the ability to hover in the air for a few seconds. This is useful.
- Wild Magnet: Unlike conventional magnets, which have undergone a thorough training so that they attract iron only, this wild magnet kept intact its initial properties and draws to him any object nearby, composed of ferrous metal or not.
- Hourglass of Persia: Some Sands of Time, in an hourglass. Not very useful, because if you use it in your kitchen, your boiled eggs won't cook as long as there's sand left in the hourglass. And when there's no more sand, your eggs will start to cook again, but without hourglass, you won't know when they are ready... Oh, and it will also stop the lava for a few seconds.
- Gift: A fruit or a item at random. Don't you like surprises?

Command line parameters:
"-nosync": the "FlipBuffers" command will use "# PB_Screen_NoSynchronization" (for Wine)
"-bench": the game will run as fast as possible
"-bats N": there will be N bats in the level

Have fun, and good luck! (the game is insanely hard :twisted:)

Re: [PB 4.31] 2D platformer done with TileStudio

Posted: Wed Oct 14, 2009 12:56 pm
by blueznl
Haven't played the game but I definitely like your descriptions... reading a bit too much PTerry lately? :-)

Re: [PB 4.31] 2D platformer done with TileStudio

Posted: Wed Oct 14, 2009 3:48 pm
by Kelebrindae
blueznl wrote:reading a bit too much PTerry lately?
Non-sense! It's impossible to read too much PTerry !

Re: [PB 4.31] 2D platformer done with TileStudio

Posted: Wed Oct 14, 2009 4:33 pm
by Demivec
The game looks great. I did have a few questions after testing it.

I blinked for a second when I first ran the game and didn't notice that I was the skull. The reason I didn't notice is that after I blinked the lava had covered up the skull. :shock: No matter what keys I pressed the game gave me no indication that I was there beneath all that lava. I had to end the program via the task-manager. Is there an easier way?

How do you make selections on the pop-up menu in the game that has options 'Continue', 'Restart', and 'Quit'? I can only seem to get it to restart by pressing random letters and arrow keys.

Re: [PB 4.31] 2D platformer done with TileStudio

Posted: Wed Oct 14, 2009 5:17 pm
by Kelebrindae
Demivec wrote:Is there an easier way?
Yes: if you press "Esc", it should display then "continue/restart/quit" menu.
Demivec wrote:How do you make selections on the pop-up menu
With the cursor left/right key => it should move the skull left/right under the available options. Press "jump" (cursor up key) to select an option.