Programing Games

Talk about anything you want here
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20939
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Programing Games

Post by Tawmis »

tassieboy wrote: Mon Nov 04, 2019 9:03 pm I really need to play the original Laura Bow games in preparation for this, which I've been meaning to do for ages anyway.
They're both AMAZING games. The first one is, admittedly my preferred one.
It was a big inspiration for when I made the text adventure game Final Soul (which I wish I still had the source code to fix the bugs)

EDIT: Splitting this from the original topic since it's generating conversation. - Tawmis
User avatar
Collector
Grand Poobah
Posts: 12013
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Collector »

What did you write it in?
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20939
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Tawmis »

Collector wrote: Wed Nov 06, 2019 5:18 pm What did you write it in?
QBasic _eons_ ago.

To be honest, I could probably redo the whole program if I had some spare time on my hands. It's not overly complicated.

I wish I'd continued in college to take Programming to have a... more up to date... programming language to do it in. :lol:
User avatar
Collector
Grand Poobah
Posts: 12013
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Collector »

C# is pretty easy to learn.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image
User avatar
tassieboy
Sierra Fan
Posts: 68
Joined: Mon Oct 11, 2010 11:12 pm
Location: Tasmania, Australia
Gender: Male
Location: Tasmania, Australia
Contact:

Re: Laura Bow and the Mechanical Codex

Post by tassieboy »

I remember using an engine called AGT (Adventure Game Toolkit) back in the day. Easier than implementing my own parser. It's been released into freeware now.
Downloaded Final Soul and had a quick play with it at lunch time today.
Your short list of single letter commands is interesting, because it simplifies things somewhat, to prevent frustration over how to phrase what you want to do, in much the same way that the limited number of verbs in point and click games did.
Adam David Collings - Sci-Fi Author. (Jewel of The Stars)
www.AdamDavidCollings.com
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20939
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Tawmis »

tassieboy wrote: Thu Nov 07, 2019 10:23 pm I remember using an engine called AGT (Adventure Game Toolkit) back in the day. Easier than implementing my own parser. It's been released into freeware now.
Downloaded Final Soul and had a quick play with it at lunch time today.
Your short list of single letter commands is interesting, because it simplifies things somewhat, to prevent frustration over how to phrase what you want to do, in much the same way that the limited number of verbs in point and click games did.
I don't want to side track the purpose of this actual thread too much ("Too late?") - but I looked into AGT - downloaded it - and... All I see is a RUN.EXE and a COMPILE.EXE and a 200 page document to read. And you said this was easier? :lol:
User avatar
Rath Darkblade
The Cute One
Posts: 12944
Joined: Fri Oct 24, 2008 5:15 am
Location: Lost in Translation
Gender: Male
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Rath Darkblade »

Visual Basic is pretty simple. :P Mind you, Tawm, it's not really for the kind of games you have in mind ... but I used it to create a pretty smart program that played Tic-Tac-Toe and never lost.

Mind you, this was in the late 90s ... :P
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20939
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Tawmis »

Rath Darkblade wrote: Wed Nov 13, 2019 3:58 am Visual Basic is pretty simple. :P Mind you, Tawm, it's not really for the kind of games you have in mind ... but I used it to create a pretty smart program that played Tic-Tac-Toe and never lost.

Mind you, this was in the late 90s ... :P
:lol: Never underestimate the type of games I enjoy!
My VERY first game I "wrote" was a BASIC game - where it put your health and your opponents health at the top (similar to where Sierra used to put their score).

Then in the center of the screen a box ran super fast with things whizzing by - you pressed - I think ENTER - to stop it - and it'd do whatever it stopped on.

So for example, it might say, "Body blow! Your opponent takes 5 damage!" (then it'd take 5 health away from Player 2) until Player 1 or Player 2 went below 0 health.

From there, I started trying my hand at text adventure games... did a few of them - but the Final Soul one was the one I spent the most time on.

I'd made a small text adventure game called "GoblinQuest" (inspired by Hero's Quest/Quest for Glory) - where you're just a guy in a field, fighting a never ending army of goblins (did the same thing with health, weapons, etc) - so sometimes you'd find weapons to upgrade your stuff or health potions to try and stay alive before the next wave randomly appears. :lol:
User avatar
Collector
Grand Poobah
Posts: 12013
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Collector »

I hate basic. It gives me a headache just trying to read it. I started on Visual Basic, but have successfully purged it out of my head a long time ago, thank God. C# is fun.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image
User avatar
MusicallyInspired
Village Elder
Posts: 3143
Joined: Fri Oct 10, 2008 8:46 am
Gender: Male
Location: Manitoba, Canada
Contact:

Re: Laura Bow and the Mechanical Codex

Post by MusicallyInspired »

I wrote a game in C++ with ASCII graphics called FACEMAN. The goal is to collect all the gems in as few moves as possible. You use the arrow keys but also the standard word processing keys Pgup, Pgdn, Home, End to move to the far edges of the screen instantly. Also 'C' puts you in the center. Simple little game and a little weird but I accomplished what I set out to do and it was fun. I've had glimmers of ideas to enhance it and make it a little more playable and enjoyable, starting with adding levels by increasing gem counts and move limits every time you win but just haven't done it.

Oh, and F2 disables "sound."

http://brandonblume.com/_notseen/faceman.zip

The main version was made in Turbo C++ and only works in DOSBox, but there's also a 32-bit version that works in Win10 command prompt. Since it's running in a very limited command prompt environment I have to redraw the "screen" every time something happens which makes it flicker badly because there's no video buffering at all. That's the only way I could figure out how to make it functional at the time. If I were to refine it I'd not redraw the entire screen and instead just clear individual characters when objects move or disappear. Or I'd just use graphics with the SDL or Allegro libraries or something. Allegro was fun to program in, perhaps that. Some people have told me if I refined it it might work as a mobile game. I don't have a clue where to begin for that though not to mention it'd have to be reworked quite a bit to play with on a touch device. And it's still not really a fully worked out game idea yet. Just a little experiment. Maybe there could be powerups for granting you extra moves or random position transporters, or and item that allows you to skip multiple spaces at a time instead of one block at a time. Or something.
01010100 01110010 01110101 01110011 01110100 00100000 01010100 01001000 00110001
User avatar
Rath Darkblade
The Cute One
Posts: 12944
Joined: Fri Oct 24, 2008 5:15 am
Location: Lost in Translation
Gender: Male
Contact:

Re: Programing Games

Post by Rath Darkblade »

Why do you hate basic, Collector? :? Maybe it's just me - but the first programming language I used was BASIC on ye olde Commodore 64, back in the days when dinosaurs ruled the earth. :P
User avatar
tassieboy
Sierra Fan
Posts: 68
Joined: Mon Oct 11, 2010 11:12 pm
Location: Tasmania, Australia
Gender: Male
Location: Tasmania, Australia
Contact:

Re: Laura Bow and the Mechanical Codex

Post by tassieboy »

Tawmis wrote: Tue Nov 12, 2019 9:40 pm I looked into AGT - downloaded it - and... All I see is a RUN.EXE and a COMPILE.EXE and a 200 page document to read. And you said this was easier? :lol:
LOL.
I seem to remember some pretty significant examples games all with full source code.
But, yeah, it was a loooong time ago. You know, back in the days before kids and mortgages and a thousand things to take your attention and energy. Back in the days when we could afford to read a 200 page manual for fun. :lol:
Adam David Collings - Sci-Fi Author. (Jewel of The Stars)
www.AdamDavidCollings.com
User avatar
tassieboy
Sierra Fan
Posts: 68
Joined: Mon Oct 11, 2010 11:12 pm
Location: Tasmania, Australia
Gender: Male
Location: Tasmania, Australia
Contact:

Re: Laura Bow and the Mechanical Codex

Post by tassieboy »

Collector wrote: Wed Nov 13, 2019 8:51 pm I hate basic. It gives me a headache just trying to read it. I started on Visual Basic, but have successfully purged it out of my head a long time ago, thank God. C# is fun.
Having worked with both Visual Basic and c# for the better part of my adult life at the day job, I can concur. C# is much nicer to use. Never tried to make a game in it, though.
Adam David Collings - Sci-Fi Author. (Jewel of The Stars)
www.AdamDavidCollings.com
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20939
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Laura Bow and the Mechanical Codex

Post by Tawmis »

Collector wrote: Wed Nov 13, 2019 8:51 pm I hate basic. It gives me a headache just trying to read it. I started on Visual Basic, but have successfully purged it out of my head a long time ago, thank God. C# is fun.
Why.... Wait....
Rath Darkblade wrote: Thu Nov 14, 2019 6:21 am Why do you hate basic, Collector? :? Maybe it's just me - but the first programming language I used was BASIC on ye olde Commodore 64, back in the days when dinosaurs ruled the earth. :P
This. :lol:
Basic is insanely easy to read ...
PRINT = showing it on the screen
INPUT = asking for variable
IF THEN is literally IF THEN statements...
Other commands like LOCATE are exactly that, locate this line/space - and do whatever you want. (LOCATE 10,10,0: PRINT "HELLO!") prints it on the 10th line down, 10th line over.
Reading BASIC is like... reading English.

It is clunky, at times, if you're trying to do something complicated... but making a TEXT ADVENTURE game in BASIC is easy...
MusicallyInspired wrote: Wed Nov 13, 2019 9:49 pm I wrote a game in C++ with ASCII graphics called FACEMAN.
http://brandonblume.com/_notseen/faceman.zip
Oh! :lol: I made my map in FINAL SOUL using ASCII (and the character representation was the SMILEY face ASCII) :lol:
tassieboy wrote: Thu Nov 14, 2019 6:24 am
Tawmis wrote: Tue Nov 12, 2019 9:40 pm I looked into AGT - downloaded it - and... All I see is a RUN.EXE and a COMPILE.EXE and a 200 page document to read. And you said this was easier? :lol:
LOL.
I seem to remember some pretty significant examples games all with full source code.
But, yeah, it was a loooong time ago. You know, back in the days before kids and mortgages and a thousand things to take your attention and energy. Back in the days when we could afford to read a 200 page manual for fun. :lol:
I just have entirely too many hobbies is my problem... :?
tassieboy wrote: Thu Nov 14, 2019 6:25 am
Collector wrote: Wed Nov 13, 2019 8:51 pm I hate basic. It gives me a headache just trying to read it. I started on Visual Basic, but have successfully purged it out of my head a long time ago, thank God. C# is fun.
Having worked with both Visual Basic and c# for the better part of my adult life at the day job, I can concur. C# is much nicer to use. Never tried to make a game in it, though.
I wish I had continued to pursue my interest in programming in College... might have eventually gotten to C#...
Had done BASIC -> COBOL -> PASCAL and had just gotten into C when I dropped out...
User avatar
MusicallyInspired
Village Elder
Posts: 3143
Joined: Fri Oct 10, 2008 8:46 am
Gender: Male
Location: Manitoba, Canada
Contact:

Re: Programing Games

Post by MusicallyInspired »

I started in SCI scripting :P then learned C and C++ after that because they're similarly complicated. I've never done anything in BASIC, even though it's also used natively on the Tandy CoCo3 which I still have. I wonder how fun it'd be to reprogram Faceman for BASIC. I once wrote a game launcher in C for my old 486 but everything was hardcoded. When I got a new game I'd have to recompile the whole thing. I wanted to make it read a CFG file but I just never got that far.
01010100 01110010 01110101 01110011 01110100 00100000 01010100 01001000 00110001
Post Reply

Return to “Miscellaneous Chatter”