I am creating a game in Visual Basic, please help me

OlİmPoEsdOn S 21 Reputation points
2020-05-22T14:11:39.847+00:00

I'm building a game in Visual Basic. Please help me. My game is a simcity style game. How money can be collected after a player leaves the game. That is, money is collected when the player is in the game. But no money is collected when a player leaves the game and enters tomorrow. Please help me.

Private Sub Money()
Dim money as Decimal = money.text
Dim moneyPlus as Decimal = "1"
Dim Strings as Decimal = money + moneyPlus
money = Strings
End Sub

Private Sub Timer1.Tick()
Money()
End Sub

I can use this code when a player is in the game. But I do not know what to do when the player is not in the game.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,893 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vaibhav Chaudhari 38,811 Reputation points
    2020-05-22T15:00:27.463+00:00

    You can post this question in a dedicated forum for VB here

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/newthread?category=vslanguages&forum=vbgeneral


    If the response helped, do "Accept Answer" and upvote it - Vaibhav


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.