Click here to Skip to main content
14,365,158 members
   

C#

 
AnswerRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
BillWoodruff29-Apr-19 9:23
mveBillWoodruff29-Apr-19 9:23 
GeneralRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
Member 1412218429-Apr-19 11:40
memberMember 1412218429-Apr-19 11:40 
GeneralRe: Adventure Game & Interactive Fiction - Coding for handling doors. Pin
BillWoodruff29-Apr-19 23:43
mveBillWoodruff29-Apr-19 23:43 
QuestionHow to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Bastien Vandamme22-Apr-19 18:45
memberBastien Vandamme22-Apr-19 18:45 
AnswerRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Gerry Schmitz22-Apr-19 19:11
mveGerry Schmitz22-Apr-19 19:11 
GeneralRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Bastien Vandamme22-Apr-19 19:20
memberBastien Vandamme22-Apr-19 19:20 
QuestionRe: How to configure azure-pipeline.yml for asp.net core 2.2 ? Pin
Richard MacCutchan22-Apr-19 22:08
protectorRichard MacCutchan22-Apr-19 22:08 
QuestionC# A few questions for my learning journey. Pin
Member 1417655620-Apr-19 23:20
memberMember 1417655620-Apr-19 23: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 4:17
mveGerry Schmitz21-Apr-19 4:17 
GeneralRe: C# A few questions for my learning journey. Pin
Member 1417655621-Apr-19 7:02
memberMember 1417655621-Apr-19 7:02 
GeneralRe: C# A few questions for my learning journey. Pin
Gerry Schmitz21-Apr-19 7:18
mveGerry Schmitz21-Apr-19 7:18 
AnswerRe: C# A few questions for my learning journey. Pin
BillWoodruff23-Apr-19 22:33
mveBillWoodruff23-Apr-19 22:33 
GeneralRe: C# A few questions for my learning journey. Pin
Luc Pattyn24-Apr-19 6:36
professionalLuc Pattyn24-Apr-19 6:36 
QuestionExtracting regex from string Pin
ormonds20-Apr-19 20:45
memberormonds20-Apr-19 20:45 
GeneralRe: Extracting regex from string Pin
Richard MacCutchan20-Apr-19 23:14
protectorRichard MacCutchan20-Apr-19 23:14 
AnswerRe: Extracting regex from string Pin
Eddy Vluggen21-Apr-19 1:37
mveEddy Vluggen21-Apr-19 1:37 
AnswerRe: Extracting regex from string Pin
Gerry Schmitz21-Apr-19 4:07
mveGerry Schmitz21-Apr-19 4:07 
AnswerRe: Extracting regex from string Pin
#realJSOP21-Apr-19 6:12
mve#realJSOP21-Apr-19 6:12 
GeneralRe: Extracting regex from string Pin
jschell21-Apr-19 8:48
memberjschell21-Apr-19 8:48 
GeneralRe: Extracting regex from string Pin
#realJSOP21-Apr-19 12:45
mve#realJSOP21-Apr-19 12:45 
GeneralRe: Extracting regex from string Pin
jschell27-Apr-19 7:11
memberjschell27-Apr-19 7:11 
GeneralRe: Extracting regex from string Pin
ormonds21-Apr-19 13:19
memberormonds21-Apr-19 13:19 
AnswerRe: Extracting regex from string Pin
jschell21-Apr-19 8:52
memberjschell21-Apr-19 8:52 
AnswerRe: Extracting regex from string Pin
Luc Pattyn22-Apr-19 16:45
professionalLuc Pattyn22-Apr-19 16:45 
QuestionI need help with console app in C# Pin
AshraBukha20-Apr-19 12:24
memberAshraBukha20-Apr-19 12: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.