Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Danger Crew: Lessons Learned From Making a ...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Drew Conley
August 26, 2016
200
1
Share
The Danger Crew: Lessons Learned From Making a Video Game in React
React Rally 2016
Drew Conley
August 26, 2016
Featured
See All Featured
Visualization
eitanlees
150
17k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
440
Practical Orchestrator
shlominoach
191
11k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Crafting Experiences
bethany
1
110
Building AI with AI
inesmontani
PRO
1
880
Navigating Weather and Climate Data
rabernat
0
160
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
Design in an AI World
tapps
0
190
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
Into the Great Unknown - MozCon
thekraken
40
2.3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
200
Transcript
LESSONS LEARNED FROM MAKING A VIDEO GAME IN REACT
DREW CONLEY Hello! I am
3 QUESTIONS
Chipotle
This game needs to be a “FULLY FEATURED” game, with
a deep experience and adventure The Vision
HESITATIONS • Big project. Complicated • Canvas? :/ • Deep
bugs in weird edge cases
TL;DR I was wrong.
Demo
THIS TALK IS ABOUT YOU MAKING GAMES
OVERWORLD
Maps are JSON { backgroundImage: ‘...’, walls: {...}, people: {...}
}
GRID
THE PLAYER CHARACTER <Person x={1} y={1}/>
<Person x={1} y={2}/> THE PLAYER CHARACTER
WALLS walls: {...}
jacob.svg
jacob.svg background-size background-position
jacob.svg animation: walkDown 0.4s steps(4)
None
SO LONELY :(
NPCs
overflow: visible
overflow: hidden
None
BATTLES
TURN BASED
3 STEP CYCLE 1. Players submit Actions 2. Actions are
processed by Rules -> new Game State is created 3. Players are notified of new Game State Repeat until winner is declared in new Game State
DEMONSTRATION rock, paper, scissors
State p1: { hp: 100} React Component p2: { hp:
90}
Actions are submitted p1 submits Action A p2 submits Action
B { damage: 30, accuracy: 80% } { damage: 20, accuracy: 99% }
State p1: { hp: 80} React Component p2: { hp:
90}
Rollout [ “Player A used Action A!”, “But it missed!!!”,
“Player B used Action B!”, “It did some damage!” ]
Rollout Rollout Message
It took a few tries…
It took a few tries…
It took a few tries…
Separate Application from Content
Application Consideration: What happens when a Character steps on an
icy spot?
Content Consideration: Where are the icy spots?
Benefits • Game state is perfectly recreatable • Saving/Loading •
Easy to iterate on levels design, puzzles storytelling
Demo
Go make a game!
[email protected]
thedangercrew.com @drewconley13