PDA

View Full Version : Mini LD #8 Entry: Lunar Tower



Stoney
08-03-2009, 09:00 PM
I had a bit time this weekend and participated in the Mini LD #8. The theme was to mash up two existing games from previous Ludum Dare challenges and combine them.
This is the first LD entry I finished. It’s a mash-up between Tower from LoneStranger and Lunar Fortress. What you have to do in this game is keeping the evil letters from reaching your tower by clicking on them. It’s really simple and it makes absolutely no fun.

http://freeze-dev.de/images/screen.jpg

Written in Object Pascal and compiled with Turbo Delphi, but should compile with FreePascal. Also, there are some performance problems. I got around 70 FPS on my MacBook and around 25 FPS on a Intel Essentials D945GCLF2 (Dual-core atom processor @ 1.6 GHz and GMA 950 graphic chip) board. For those who try to play it, have fun.

Here is the link: Windows Binary + Source (ZIP) (http://www.freeze-dev.de/files/lunartower.zip)

There are three things that need fixing, but I have no idea where the problem is:
- Compiles just fine on 32-bit Linux, as soon as I start the game I get an access violation and nothing happens
- Won't compile on a Linux x86_64 machine, I get a lot of errors while compiling sdlutils.pas
- Won't compile on a mac, it seems there is a problem with sdlutils.pas. It works when won't use sdlutils.pas, but I need that unit for SFont

Memphis
08-03-2009, 09:06 PM
first thing. you put link wrong


The URL http://"http://freeze-dev.de/files/lunartower.zip" contains characters that are not valid in the location they are found.

ok i dont know how you enable to see FPS but it looked to me like i was getting 5 FPS and i could not click on any letters.

this system is 2.4 Quad Core, NVidia 280GTX, 2GB 800Mhz

;MM;

Stoney
08-03-2009, 09:19 PM
Fixed the link, thanks for noticing.
You have to press 'D' as mentioned in the readme :)
If you're using Vista it might help if you deactivate Aero while you're playing the game.

Memphis
08-03-2009, 09:28 PM
hi, no i have windows xp pro sp3, ok i pressed d, it states 89FPS, but moves like a slideshow, like as if it is updating every 5 secs, and i still cant click any letters, the resolution is fixed maybe a prob? i have 24" widescreen, 1920x1200 so it is stretched and put into horrid resolution.

ok tried window mode and i get around 56FPS (still seems to jitter) but now i can click etc.

;MM;

Stoney
08-03-2009, 09:42 PM
I think the jittering is "normal". This a bug because of my poorly implemented TelTimer component which is everything but precise. And the fact that the letters are moving randomly from left to right.

Stoney
13-03-2009, 03:41 PM
My game is now working under Linux (32 bit), you can download the executable on my blog (http://www.freeze-dev.de). Still no luck getting it to work on Mac OS X though.
Also made some little changes: Game starts now in window mode and I tried to eliminate the jittering effect.

Memphis
13-03-2009, 05:12 PM
health goes down constantly for me, even with nothing at the tower