Subscribe via RSS Become a friend on Facebook Follow me on Twitter
Welcome, Guest. Please login or register.
September 02, 2010, 04:05:18 PM

Pages: [1] 2
Print
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on LiveShare this topic on MySpaceShare this topic on RedditShare this topic on StumbleUponShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz
Author Topic: ASCII lemmings game  (Read 3638 times)
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« on: December 17, 2009, 03:39:25 PM »

 Grin ASCII Lemmings Game Grin

I made a ASCII lemmings game in c++.
I also recorded a video of me programming it and posted it on youtube.
And after finding and having a go at ASCIIpOrtal I thought i would check out this site and post my lemmings game up here.
link:
ascii Lemmings in the making

this game is unfinished but still in progress

Download the source code in the attachment


* Lemmings Game.zip (271.8 KB - downloaded 60 times.)
Logged
Cymon
Administrator
Sr. Member
*****

Laurels: 9
Posts: 496


Joe Larson


View Profile WWW
« Reply #1 on: December 17, 2009, 03:49:06 PM »

This was so impressive to me... I found this video when Marky commented on my ASCIIpOrtal video on Youtube and directed him to post about it here. Check this game out. Marky and I have been trading correspondence and we've decided to join forces and groom this game for Gamma 4, meaning it'll be a one-switch game. Stay tuned for updates.

I realize I run the serious risk of being branded "the ASCII guy" for the rest of my life now.
Logged
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #2 on: January 07, 2010, 03:43:29 PM »

Video of game state (level one):
WARNING! Sound Might Be Loud!
ASCII Lemmings [PDCURSES] Update 1


originally written in just windows.h (rewritten it from scratch)  
windows.h is now used for sound and input
curses.h is used for gameplay

Lemmings:
Bomber Lemming
Digger Lemming
AlleyOpp Lemming
BridgeBuilder Lemming
Wall Maker Lemming
Normal Lemming

(NEED MORE!! if you have any ideas just post them on this thread)

Aim Of The Game :
To fix the path with the lemmings supplied to insure the last lemming(gold) gets to the exit
« Last Edit: January 07, 2010, 03:45:50 PM by Mad_Marky » Logged
mitom2
Newbie
*

Laurels: 0
Posts: 3


View Profile
« Reply #3 on: January 07, 2010, 06:39:31 PM »

as far as having seen the yt video without playing it yet i would prefer individual letters for each lemming-type. so you may add up to 52 individual types of lemmings for individual solutions. for example, in the one version of the Lemmings i liked the superman-lemming. it was somehow useless but it was fun. and as fun is the reason, one plays Lemmings, it may be fun to have some also in the ASCII-version. the individual letters wold be all of the alphabet; in small and capital.

ABC...XYZ (for destructive lemmings)
abc...xyz (for constructive lemmings)

in response of your Lemming-list so far i would use those letters for the respective lemmings.

e{X}ploder lemming (was: bomber lemming)
{d}igger lemming
{a}lleyopp lemming
{B}ridgebuilder lemming
{w}all maker lemming
{n}ormal lemming
&
{g}old lemming

srsly, as non-native-english-speaker i have no idea what alleyopp is. wp says, that the similar written alleyoop has something to do wiith basketball. so i put it into the non-destructive-section. correct me on that if i am wrong.

i renamed bomber to exploder because this is the best way to use the X.

in addition we have the problem, that the in-door, which is now a "L" has to be renamed. i would prefer "\_/" (backslash, underline, slash) for that. the exit may become a "0" (zero).

i somehow dislike the disappearing of lemmings after they had done their jobs (except the exploding lemming). as long as they don't die somewhere they may be reused for working a second, third, ... time.

undestroyable objects, which are now in dark green would be best in dark grey like concrete (or cement).
gold lemming in gold (i don't know, if the normal lemming as you named it is the gold lemming).
destructive lemmings in red.
constructive in blue.

an option at the beginning of the game to view it in a special color-pattern for color-blind people. with a sub-menu to chose which color-blind-option shall be chosed.

so much for now. maybe i'll have some other ideas the next days.

CU TOM
Logged
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #4 on: January 08, 2010, 12:43:14 PM »

 Grin @mitom2 thank you for all your ideas , ive only really satarted with the gameplay so ive bearly done most of it.
i like all of your ideas and will take them into act.

Alleyopp lemming is a lemming that will throw the next lemming on a projectile path.

again thank you
Logged
Cymon
Administrator
Sr. Member
*****

Laurels: 9
Posts: 496


Joe Larson


View Profile WWW
« Reply #5 on: January 08, 2010, 05:08:11 PM »

I really like how the lemmings are altering the environment in this game. To that end the alleyoops aren't altering the environement as much as, perhaps, a ladder builder would, and would accomplish the same thing, i think.
Logged
chirpsalot
Jr. Member
**

Laurels: 2
Posts: 53


I was the turkey all along!


View Profile
« Reply #6 on: January 17, 2010, 06:25:18 AM »

Oh snap!  I was thinking about making a lemmings game as practice if I ever got around to learning curses (DON'T HIT ME!).  Guess I'll have to think of something else Wink.  I'll try to get the video working in a moment Tongue.
Logged

Dark lords can restore order, they just do it with more special effects.
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #7 on: January 23, 2010, 02:32:30 PM »

IMAGES OF CURRENT GAME STATE :







------------------------------------------------------------------------------------------------
BIRTHDAY TOMORROW WOOOOHOOOO  Tongue
« Last Edit: January 23, 2010, 02:35:12 PM by Mad_Marky » Logged
chirpsalot
Jr. Member
**

Laurels: 2
Posts: 53


I was the turkey all along!


View Profile
« Reply #8 on: January 23, 2010, 04:20:35 PM »

That looks awesome.
Logged

Dark lords can restore order, they just do it with more special effects.
zear
Newbie
*

Laurels: 3
Posts: 7


View Profile
« Reply #9 on: January 23, 2010, 06:10:20 PM »

Is there a chance, that the input would be rewritten in curses/sdl? If so I could be able to port that game to some handheld linux devices (Jornada 720, Dingoo A320, Ben Nanonote, GP2X).
I've ported asciiportal to the Dingoo and Nanonote before, and I think this game also deserves a handheld port Smiley
« Last Edit: January 23, 2010, 06:12:10 PM by zear » Logged
Cymon
Administrator
Sr. Member
*****

Laurels: 9
Posts: 496


Joe Larson


View Profile WWW
« Reply #10 on: January 23, 2010, 07:56:38 PM »

Is there a chance, that the input would be rewritten in curses/sdl? If so I could be able to port that game to some handheld linux devices (Jornada 720, Dingoo A320, Ben Nanonote, GP2X).
I've ported asciiportal to the Dingoo and Nanonote before, and I think this game also deserves a handheld port Smiley
It's a one switch game, meaning all you have to do is register one button hits. So any input should be theoretically simple to write.
Logged
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #11 on: January 24, 2010, 09:53:46 AM »

so far the game inputs is only keyboard with the (A Key). Once the real input is done the game will be finished.
Logged
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #12 on: February 19, 2010, 01:20:12 PM »

yay finally had time to finish this game  Grin

not a one switch game anymore , now uses:
arrow keys
R key and Escape

game still has sound and runs smoothly.



if there are any bugs you find please reply back here.

download link:  http://www.2shared.com/file/11509838/3d07dd2f/ASCII_Lemmings.html
(4,597 KB)

Source Download Link : http://www.2shared.com/file/11512791/5f09648d/ASCII_Lemmings_Source.html
« Last Edit: February 19, 2010, 03:40:53 PM by Mad_Marky » Logged
Ratfink
Full Member
***

Laurels: 2
Posts: 112



View Profile
« Reply #13 on: February 19, 2010, 02:32:21 PM »

Sadly, I can't play this game.  I use Linux, and I only see a Windows binary and no source code.  I tried running it with Wine, but it locks up when the first level starts.  This is quite disappointing, because I like Lemmings a lot and wanted to play this.

What library did you use for the graphics and sound?  If you used Curses for graphics, I might be able to build it for Linux if the source code is available somewhere.
Logged
Mad_Marky
Jr. Member
**

Laurels: 1
Posts: 67


View Profile
« Reply #14 on: February 19, 2010, 03:33:09 PM »

ah yer it uses windows.h for input and sound.

input could be replaced with getch function in curses but already tried that ill have to fiddle with it for a few hours to get it running correctly at right game speeds and wont be able to have sound either.

opps guess i forgot to add the source  Shocked
ill add a seprate link for the source
Logged
Pages: [1] 2
Print
 
Jump to: