Click here to Skip to main content
15,887,464 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
BillWoodruff29-Apr-19 8:23
professionalBillWoodruff29-Apr-19 8:23 
GeneralRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
Member 1412218429-Apr-19 10:40
Member 1412218429-Apr-19 10:40 
GeneralRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
BillWoodruff29-Apr-19 22:43
professionalBillWoodruff29-Apr-19 22:43 
QuestionHow to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Bastien Vandamme22-Apr-19 17:45
Bastien Vandamme22-Apr-19 17:45 
AnswerRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Gerry Schmitz22-Apr-19 18:11
mveGerry Schmitz22-Apr-19 18:11 
GeneralRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Bastien Vandamme22-Apr-19 18:20
Bastien Vandamme22-Apr-19 18:20 
QuestionRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Richard MacCutchan22-Apr-19 21:08
mveRichard MacCutchan22-Apr-19 21:08 
QuestionC# A few questions for my learning journey. Pin
Member 1417655620-Apr-19 22:20
Member 1417655620-Apr-19 22:20 
I HOPE this is the correct forum for this, apologize if it isn't i only joined 2 days ago so getting used to using this website.

So i'm learning C# myself by trying to make a small game, it won't be released but I will probably in the end use it as a class project next year. I'm starting now so I got plenty of time to learn basics and skills to prepare for next classes. So, I have a couple of questions I need to ask to clear things up and possibly maybe some links you can point me to, ideas OR even some demos I could use to teach myself, so I can learn what exactly i'm looking for, thanks.

Each game screen will be in the style of a form (no bigger than 10 forms) where I will add graphics etc, the player will be able to click certain objects to pick them up and in some cases pick more than one up. Think kinda like an hidden object type game where the player uses the mouse pointer to search around the screen for items and progress through the game.

1. I will make one form the item bag (called ItemsBag) so, how will I be able to pick up items on one form and have them display in the ItemsBag form?

2. Some items will be used for quests so stock pilling items will be a must, I'm also thinking a label to display amounts in stock with each time you click an item on one form it updates the amount on the ItemsBag form. Is there a tutorial for this type of stuff?

3. Talking to people (will only be a couple of people), I gather the use of a TextBox would be the best way to go with this and have the TextBox display different chat. I have the chat working so far where I click on a character and I get the first lot of talking sorted BUT how can I change text at different times? and also from a different form?

So say one person sends me to go pick something up in another form and I have it in my bag, it will change the text in that NPCs form. Is there some type of tutorial on how to do this? I'm thinking maybe in the NPCs TextBox code maybe something like having it check if I have the item(s) collected in the ItemsBag Form using IF statements, and check if amount is correct.. is that a correct way OR easiest way to go about this?

well i'm sure I will have plenty of more questions in the coming months as I learn, hopefully I haven't asked to much, I look forward to your replies, suggestions and help, thanks.
AnswerRe: C# A few questions for my learning journey. Pin
Gerry Schmitz21-Apr-19 3:17
mveGerry Schmitz21-Apr-19 3:17 
GeneralRe: C# A few questions for my learning journey. Pin
Member 1417655621-Apr-19 6:02
Member 1417655621-Apr-19 6:02 
GeneralRe: C# A few questions for my learning journey. Pin
Gerry Schmitz21-Apr-19 6:18
mveGerry Schmitz21-Apr-19 6:18 
AnswerRe: C# A few questions for my learning journey. Pin
BillWoodruff23-Apr-19 21:33
professionalBillWoodruff23-Apr-19 21:33 
GeneralRe: C# A few questions for my learning journey. Pin
Luc Pattyn24-Apr-19 5:36
sitebuilderLuc Pattyn24-Apr-19 5:36 
QuestionExtracting regex from string Pin
ormonds20-Apr-19 19:45
ormonds20-Apr-19 19:45 
GeneralRe: Extracting regex from string Pin
Richard MacCutchan20-Apr-19 22:14
mveRichard MacCutchan20-Apr-19 22:14 
AnswerRe: Extracting regex from string Pin
Eddy Vluggen21-Apr-19 0:37
professionalEddy Vluggen21-Apr-19 0:37 
AnswerRe: Extracting regex from string Pin
Gerry Schmitz21-Apr-19 3:07
mveGerry Schmitz21-Apr-19 3:07 
AnswerRe: Extracting regex from string Pin
#realJSOP21-Apr-19 5:12
mve#realJSOP21-Apr-19 5:12 
GeneralRe: Extracting regex from string Pin
jschell21-Apr-19 7:48
jschell21-Apr-19 7:48 
GeneralRe: Extracting regex from string Pin
#realJSOP21-Apr-19 11:45
mve#realJSOP21-Apr-19 11:45 
GeneralRe: Extracting regex from string Pin
jschell27-Apr-19 6:11
jschell27-Apr-19 6:11 
GeneralRe: Extracting regex from string Pin
ormonds21-Apr-19 12:19
ormonds21-Apr-19 12:19 
AnswerRe: Extracting regex from string Pin
jschell21-Apr-19 7:52
jschell21-Apr-19 7:52 
AnswerRe: Extracting regex from string Pin
Luc Pattyn22-Apr-19 15:45
sitebuilderLuc Pattyn22-Apr-19 15:45 
QuestionI need help with console app in C# Pin
User 1428799220-Apr-19 11:24
User 1428799220-Apr-19 11:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.