Others Simple console app [Development Thread]

Citrou

Newbie
Oct 16, 2024
20
2
Making a simple C# text console app with elements of turn-based text-game to get my feet wet in game dev.
It's my first hobby project, so I thought it'll be better to start from small things.

Brief idea: fantasy setting, short elf MMC, who is being picked on by everyone for his looks, wants to get bigger and stronger. And enlarge his little dick so he can fuck to his heart's content. He meets two companions on the way to the town where magic blue pills are sold. That pills could help him to get rid of his miserable existence. But unexpected accident occurs.

Poor grammar warning! English is my second language.
And it's my first attempt to write a story.
I need a help with story text: Looking for help with dialogues

You don't have permission to view the spoiler content. Log in or register now.

Windows (.NET 8.0 must be installed):
Linux (audio is not working, tested on Mint):

If you have any suggestion, feel free to post it here or DM me.
I just want to share it and have some fun while learning to code.

Thanks to EmDotRand for help with first dialogue.
 
Last edited:

Nadekai

Booty Pirate
Donor
Aug 18, 2021
2,201
6,931
... Pretty neat ...
... Altough the music at start jumpscared me ...
... You should probably reduce the default volume by a bit ...
 
  • Like
Reactions: Citrou

Baronluck

Newbie
Game Developer
Sep 26, 2024
90
50
Wine isn't working for me (failed to load System.Private.CoreLib.dll) I think it's related to the dotnet version I installed (dotnet7). I don't want to pay for Parallels..
 

Citrou

Newbie
Oct 16, 2024
20
2
v0.3.0 Update:
- Added title screen
- Fixed bugs

Also decided to make only one story without branches.
No more selection for answers in dialogues.
 

Citrou

Newbie
Oct 16, 2024
20
2
v0.4.0 Update:
- Added dialogue for Scene 06

v0.4.1 Update:
- Fixed sound bug
- Fixed some typos
 
Last edited:

Citrou

Newbie
Oct 16, 2024
20
2
I tried that on my arch machine and....
Hey! Thank you for your interest!
I'm sorry I'm not familiar with Linux OS, especially Arch Linux.
So I can't give you any advice for solving this problem.

Maybe you can try VirtualBox with Windows 11?
 

EmDotRand

Active Member
Sep 7, 2020
997
1,702
Wanting to get inspiration for my own console game, I decided to push through despite the errors. st doesn't have any sound patches available so I played without sound. Narration renders in a 12 character wide paragraph.

eg:

An arrogant
assassin who
re, on the o
ther side, w
ho is being
fucked by B
run every mo
rning and sc
reaming like
a bitch, co
nstantly mak
ing fun of y
ou. She does
n't like not
your looks,
not your sp
eech.

Dialogue renders fine. The monologue itself wince worthy as per usual with lust addled rants If nothing else it could use some interwoven actions to break up the monotony of the monologue.

Eg rather than:
You: (checking small bottle on your neck) That thing I should've leave in my room in tavern. Well, I hope nothing happens.
It could be something like:
You check the small bottle attached to your necklace. The bottle tints the liquid inside blood red.

You: I should've left these things in my room back at the tavern. Well, I hope nothing happens.
The combat screen is simple yet pleasant to look at. However my tale stopped short when an unhandled exception followed the victory screen. Maybe an issue with how scene transitions are handled?

Undeterred I rebooted the game and witnessed the tribulations of being neotinous (a woe with which I can relate) and effeminate. The latter I wonder if it's like some Arabs who think shaved men look like women. It takes only a minute to read but feels like hours. Disappointed that we don't fight Grodin, even if It would be interrupted a turn or two in. Could be because I selected scenes but it's feeling more like a kinetic novel than a game. That'll likely change in a few updates.

Also it's really resource intensive for some reason. Combined with WINE it's like 50-70% cpu usage on a Ryzen 3 for a glorified text viewer. For reference that's how much the game Terraria uses on my system.
 
Last edited:
  • Like
Reactions: Citrou

Citrou

Newbie
Oct 16, 2024
20
2
I decided to push through despite the errors.
Thanks a lot for your feedback!

As I said earlier, that app is not optimized to anything but Windows. That could be the main reason it renders in a weird way. Thank you for reading it despite its awful looks. I don't know the exact reason for a such app's behavior as I've started coding relatively recently.

About your suggestions:
it could use some interwoven actions to break up the monotony of the monologue
100% agree with you. But I'm not a writer (I've started a thread in a 'Recruitment & Services' forum section with no result for now). And I, unfortunately, can't just make those dialogues better myself at once. I'll keep rewriting them gradually.
my tale stopped short when an unhandled exception followed the victory screen. Maybe an issue with how scene transitions are handled?
It could be, but for me it runs with no errors. On victory screen music plays for a few seconds, after that you can press a key to continue. I don't know how to make unit tests for such cases (do I need that tests for a simple app like that?), and can't say for sure the reason for that exception. Scene transitions are very simple, maybe something was wrong with asynchronous tasks that could still run after scene ends and you press a key too early. But I made sure to add a delay for if such things happen, so they can stop running properly with a time reserve.
Disappointed that we don't fight Grodin, even if It would be interrupted a turn or two in.
I was thinking about it too! But later decided to write just dialogues with fighting only monsters. I think I can implement that scene of fight him later.
it's feeling more like a kinetic novel than a game.
Yep, that's right. Right now it is a kinetic novel. With only one fighting scene.
it's really resource intensive for some reason
It could be. For my laptop's i5 6200u it's about 35% CPU usage. Tested it on Ryzen 5 PC, CPU usage was about 0-1%. So it depends. Unfortunately, I have zero knowledge about app optimization currently.

Thanks again and good luck with your game!

P.S.: I'll also DM you, check it please a little later.
 
  • Like
Reactions: EmDotRand

Citrou

Newbie
Oct 16, 2024
20
2
v0.5.0 Update:
- Added Scene 07

I didn't know that in Visual Studio you can build a console app even for Mac and Linux.
It was a discovery. Sorry, guys, for being a noob.
Added Mac and Linux builds for testing. Self-contained, not framework-dependent, so you don't need to install .NET additionally. In both cases files compiled with no extensions. I don't know if they work.
 

EmDotRand

Active Member
Sep 7, 2020
997
1,702
v0.5.0 Update:
- Added Scene 07

I didn't know that in Visual Studio you can build a console app even for Mac and Linux.
It was a discovery. Sorry, guys, for being a noob.
Added Mac and Linux builds for testing. Self-contained, not framework-dependent, so you don't need to install .NET additionally. In both cases files compiled with no extensions. I don't know if they work.
They don't. They're still looking for kernel32.dll and libkernel32.dll, both part of the Windows API. As such the executable won't run anywhere else. Since it's a console game I'll setting up the dosbox emulator to see that works.
 
  • Like
Reactions: Citrou