On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Rickety Revolver

A topic by NorthStateGames created Mar 07, 2023 Views: 87
Viewing posts 1 to 1
(+1)

I've decided to make my first game ever in Javascript for the jam. I followed the Broughlike tutorial last month to ensure I understood some basics, and then started fresh today, working through that tutorial for a basic engine and tweaking/skipping where warranted. My first major implementation is a shooting mechanic, as the game is a western, and I can happily say I've got that working along with some sprites. I'm hoping to code it so you can utilize a simple tile set I'm making as well as an ASCII style tile set too!

Tomorrow's big goal will be adding a town area. From there I'll implement a quest system. 

The biggest challenge with the shooting mechanic was making sure you could shoot in the direction you last faced. So to the left of the HP I have a simple directional indicator, so you know where you'd be shooting. The dice will function as an inventory item/expendable. Each one is 1/6. So they're each a bullet in the revolver. Combat is deterministic, you kill your enemy but you take one damage, but the "rickety" revolver that you have has an old cylinder that spins, so you can load it with more "dice" to ensure a better chance of hitting an enemy, but it's finite, so you have to decided when you're rolling the dice on your shot and when you want it to be a sure thing. 

Working on some story elements to explain the randomized levels as well. Although I think there will be a set town level that's the same every time you go there for quests etc.