Building an Arcade Game with Kaboom.js, RedisJSON and Redis Streams

preview_player
Показать описание

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬▬▬▬

00:00 Introduction / gameplay explanation
02:32 Project overview and setup
04:58 Managing the game map with RedisJSON
15:57 Retrieving room data with RedisJSON
18:33 Hiding keys in the map with Redis Sets
23:58 Tracking player movement with Redis Streams

▬ Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Рекомендации по теме
Комментарии
Автор

This is a real meaty tutorial! I've no experience with any of them, except for JS, and the basic understanding of the functioning of the server. I initially questioned, "why redis?", but then you explained that the client only gets the current map, as well as the random key placements, rather than throwing all the rooms at it for navigation in the front end code. I've not quite finished with the whole video to see if you explained it, but I wasn't sure why you chose to use a docker container. Thanks for this walkthrough!

tonywtyt
Автор

I wasnt looking to make a game but to use kaboom... and this video really helps. Thanks for uploading it!

hamsaplays
Автор

I am using node-redis instead of ioredis, trying to convert const stream = redis.scanStream({
match: 'kaboom:moves:*'
}); to node-redis, any hints on how to do that block of code? /api/activegames?

SeamusCranley