As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label SDL. Show all posts

Back into Orbit is a fun shooter game in X Window, said a simple isometric shooter roguelike.

You shoot some black robots and green device which generates some kind of wave harming your health if you stay within the range. There is also different colors of cones that transport you to different locations. Some are really bad as you are ambushed.

Enemies and devices might drop coins, which might be used in a shop area. Never lived that long to try. The bigger robots shoot.

Back into Orbit was created on 2015-06-11, written in C with SDL2, GLEW, OpenGL 2.0+, and Assimp (Open Asset Import Library) under GPLv2, running on Linux and Windows, currently git-dc03083 (2016-01-21).

Rescue Girlies is a fork of SuperTux by a father, R. Bassett Jr., in AugustDecember, 2013, he said:

I made RG as a Christmas gift for my children. Run, jump and think your way through the campaign to save your loved ones. Make new friends, eat some cupcakes, and squish many bad guys along the way!

Watch this video for more.

You must read the story that this father tells his daughters in the video with his own voice, really telling the story, this has to be one of the best Christmas gifts you can get when you are a kid.

Rescue Girlies was forked off SuperTux 0.3.3 (2010-08-06) by R. Bassett Jr., written in C++ with SDL under the GPLv3, currently git-bd68ac8 (2015-01-21)

GNUjump is a clone of xjump aka. FALLING TOWER, it uses SDL and has a lot of more options, it also supports multiplayer.

GNUjump 1.0.8 with wincrash theme, watch in SDLjump theme

It has much more options, you can change game settings, such as FPS and trailing effect; video, such as using OpenGL and antialiasing; and sound volumes. Beside the must-have high scores, a replay feature, so you can watch other peoples playing.

The sound effect is hilarious, not your usual sounds, but someones vocals, watch the video and you will hear those.

Here are the four themes.

Tower of Mediocrity is a tower defense game with ncurses and SDL backends.


You should play this music while reading, which is played in the game.

Click to watch whole the map played

You are in Mediocrity Central and the chatter says that some group is going to invade the Mediocrity Treasury, you job is to define while they crawling through the oddly built and hardly straight passageways through the city.

The following screenshot is of SDL backend, the bad guys are smiling devilishly, and the towers are bold-underline-strikeout icons for font styles as in word processors, WTF?

When I was trying to play TES: Arena in fullscreen, the screen didn't go as I expected. I saw the screen resolution changed from 1680x1050 (my native screen resolution), the game screen didn't show but a portion of X window from top-left corner.

There was a thread of discussion about this, the problem didn't exist in DWM v4.3, but that was very old version of DWM. Although there seemed to have some patch, but I didn't look into it. I didn't like to patch on my own.

I was using scaler of DOSBox at the time being in windowed mode, then I noticed there was an option fullresolution under the sdl section. The workaround is actually quite simple, you set it to your native screen resolution, so the screen resolution won't be changed after switching to fullscreen mode.

Problem solved.

You should have a default configuration file under ~/.dosbox after first-run of DOSBox, you can copy and modify it and use it with current directory as dosbox.conf when you run with dosbox .. It is documented very well, or you can read about the options here.

Note that some scaler doesn't re-scale to fill up the entire screen, you will see the picture centered at center of screen and leave a huge black border. normal2x/3x, advmame3x, and some re-scale to fill up the screen.

This may actually better than real screen mode change, by keeping the same resolution, the switching is faster than real screen mode change. You won't feel a pause during the switching.

After I had fun with Fus Ro Dah, I decided to try the first game in DOSBox, here is the commands I used to run it:

# file Arena106.exe
# Arena106.exe: PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed, RAR self-extracting archive
unrar e Arena106.exe
dosbox ARENA.BAT

You can download the full game for free on its website.

I have adjusted the configuration file of DOSBox, so I can have fullscreen in DWM, there seems to have bug in SDL or DWM. Save it as dosbox.conf and put it with game files, you will need to adjust it for your screen setting.

Before I changed the default normal2x scaler (you can also use command scaler to change), the game picture really reminded me of the old times. I have no idea how I could have played many games in that period of time. The text was almost unreadable for me before I changed to hq3q or advmame3x. Here are some screenshot of original pictures:

(I don't look like that in that picture at all, just random test :D)

I also had to change to CPU cycle, default was 3000, which was too slow when walking in the game.

The ZIP comes with a PDF file for instruction of using DOSBox, it also contains a list of password for copy protection, there is another Passwords.txt for easy lookup.

This certainly brought me back about two decades ago. After you bought a game, you opened the plastic wrapper, then took out a thick, well-designed, well-printed manual. You would hope there is more than just one manual, some posters or something.

You flipped over the pages, then a piece of colored plastic would fall out, it could be solid color, or two colors. You would put it on certain page which the text was printed in unreadable background colors.

But when you read through the colored plastic a number or a word would show up beneath. You then input that into a popup dialog, which showed up at random or at beginning of the game.

Meh, that was the time.