DefRS - A collection of useful resources

Adding pathfinding to examples today. There are good existing A* versions such as https://github.com/JCash/defoldexamples/blob/master/main/astar/README.md

3 Likes

Added a multitouch example which is pretty cool.

3 Likes

Working on a version of Minesweeper. Just finished up these tiles. :bomb:

8 Likes

Don’t have it done yet, but had enough time to lay the foundation for it.

I thought about adding some extra special game modes too. Zombie mode - you want to hunt for the brains within a certain number of moves. Hell mode - the numbers have been replaced with demonic glyphs with the catch that a certain glyph’s associated number is randomized every time!

Hopefully will have enough time tomorrow to polish it up and finish it so it’s fully playable.

6 Likes

That’s a great idea! Looking forward to trying it :slight_smile:

4 Likes

Base game is nearly done now. Will include difficulty mode too.

1 Like

Playable build for the base game is live.

https://www.pkeod.com/defrs/minesweeper/

I’ll do the other game modes maybe later today. Left click to reveal and middle click to toggle flagging since HTML5 build doesn’t support right click properly yet.

5 Likes

Added example showing how to handle typing input along with enter and backspace. Also shows how to grab words (randomly) from a wordlist if you wanted to make some kind of word game. Although if you do make sure you carefully go over your wordlist. The ones I added have no explicitly swear words but you would probably want to trim them down more for real project use.

https://www.pkeod.com/defrs/typing/

Another use for a random word list is if your game has profiles and you want to allow users to randomly generate a name by clicking a button (good accessibility feature). Or if you want to give names to characters randomly.

5 Likes

Added dynamic buffer example, but unfortunately it is very slow on HTML5 build even with only a 64x64 buffer texture size. Very fast on desktop build. Have not tested on mobile yet.

https://www.pkeod.com/defrs/dynamic_buffer/

3 Likes

This might be forgotten, but shouldn’t be - there is a lot of great stuff :heart: Thank you for sharing it! I found there some really useful libraries! :heart_eyes:

2 Likes