Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - jmjm

#1
At long last! The Crimson Diamond has launched on Steam and itch.io! It's a cozy mystery adventure game with EGA graphics, Roland MT-32 music, and a text parser interface!

Link to The Crimson Diamond Steam store page

Link to The Crimson Diamond on itch.io

The Crimson Diamond official website



#2
AGS Games in Production / The Crimson Diamond
Wed 26/04/2017 17:01:45
Inspired by Sierra On-line's "The Colonel's Bequest", an EGA text parser adventure game of mystery and intrigue set in Northern Ontario, Canada! Made with AGS, of course!

The year is 1913. You are a clerk working at the Royal Ontario Museum and your boss wants the mineralogy exhibit to be the talk of the town when the museum opens the following year. So when a fisherman finds a huge diamond in the belly of a fish, the Professor sends you up north to investigate! This could be your big chance to prove to everyone you have what it takes!

Work-in-progress game intro: https://www.youtube.com/watch?v=z7Eh8GeLHJ4&t=2s

Screenshots:









Development progress:
Story: 85%
Scripting: 15%
Graphics: 75%
Sound/Music: 0%

Expected completion date: When it's done.



#3
Hi, all!

I'm making a text parser game and while writing my global parser commands I've finally gotten the error "too many nested if/else statements". Unfortunately I'm not even close to writing all my parser commands for my game!

I read a post with a similar issue http://www.adventuregamestudio.co.uk/forums/index.php?topic=41044.0 and I tried making separate functions for my text parser function to split up how many if/else statements are in each, but I can't seem to make the game parse the text beyond the first function.

I tried having my first text parser function have an else statement that stores the String text like so:

Code: ags

else
    input2 = input1;


and then have the following function include:

Code: ags

if (input2 == input1)
{
    Parser.ParseText(input2);

        if (Parser.Said("eat apple."))
            {
              Display("Yummy!");
            }

        else if (Parser.Said("eat orange."))
            {
              // etc.
            }

        else
            CallRoomScript(1);
}


But that doesn't seem to do anything. The game runs and recognizes the parses in the first function, but nothing in the second function, nor does it call the room script. When running the game, when I enter "eat apple" the game returns nothing and no error message, just continues to run as before.

I'm self-taught so apologies if I've asked something dumb or didn't format the stuff right. The code sections aren't copy-pasted in, I'm just showing the basic stuff in hopes that it makes things easier to see.

Any help (or suggestions of game engines that would be better suited!) would be much appreciated! :)
SMF spam blocked by CleanTalk