paint-brush
Coding for Gamers: The Long Darkby@nadya-primak
371 reads
371 reads

Coding for Gamers: The Long Dark

by Nadya Primak8mMay 4th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Coding for Gamers: The Long Dark is a new coding for gamers blog series. In this tutorial I will walk you through the process of extracting a feature from a video game and recreating it on your own. I suggest starting with something simple, like a hunger meter, to measure time. You can use a Javascript function like setInterval that would get called every time 30 seconds have passed and test it out here. If you’re using a coding editor in the browser, you can reduce the number of milliseconds to 1000 for testing purposes.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Coding for Gamers: The Long Dark
Nadya Primak HackerNoon profile picture
Nadya Primak

Nadya Primak

@nadya-primak

Software Engineer and Indie Game Developer. Creative Technologist.

Learn More
LEARN MORE ABOUT @NADYA-PRIMAK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nadya Primak HackerNoon profile picture
Nadya Primak@nadya-primak
Software Engineer and Indie Game Developer. Creative Technologist.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Learnrepo