So, I am messing with JavaScript because I currently have no idea what to do with python project wise. I wanted to create a log that keeps the most recent events occurred within a game. For example, something like this:
A peasant has been eaten by some wolves.
When a new message is received, this entry will shift down so the log would look like this.
The King demands his taxes be paid.
A peasant has been eaten by some wolves.
I can get the shifting part to work, it’s individual text that is giving me issues. One way I could do it is by setting up 10 text elements and give them unique IDs so I can control them individually, but I wonder if there’s a better, easier and less type free way to do it. The method listed above also limits the amount of entries I can have in my log at a time. Suggestions? Tips?
Pages 1