Hack Forums
[Shell] Multi Threaded Roguelike Game beta release :3 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] Multi Threaded Roguelike Game beta release :3 (/showthread.php?tid=5498862)



Multi Threaded Roguelike Game beta release :3 - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Dec 19, 2016

IMPORTANT: Make sure to save your encoding as ANSI to display the characters correctly.
Spoiler (Click to View)

Current release:
GIF 1
Spoiler (Click to View)

GIF 2
Spoiler (Click to View)

GIF 3
Spoiler (Click to View)

Hello all ^-^

I have been working on a neat project lately. It started with experimentation using an external library, which I will be posting below. Using this library has actually made scripts substantially easier to read. The library itself consist of nothing but functions. In the script that uses it, it swaps names with it, and is able to use all the functions on the inside AND continue coding as normal. This library has to be initialized, and then used as if they were parenthesis.

Spoiler (Click to View)

Then I ended up turning this into a multi threaded roguelike game ^_^ This is a BETA if it's anything at all. But it's quite neat ^-^

Library.bat
Spoiler (Click to View)

Beta.bat ( See Lines 34,35,48-63 for use of Library)
Spoiler (Click to View)


* - b00st3d_TEMP - Dec 20, 2016

This is impressive, I'm just happy to put together my simple work scripts but you take batch to a new level.


* - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Dec 22, 2016

Thanks a lot ^-^ Hopefully people will see neat things in batch and more people will come here.


* - motherfawker666 - Dec 23, 2016

This is just awesome. Great work. Couldn't have honestly done it myself. How are you managing to draw the worlds dynamically?


* - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Dec 23, 2016

(Dec 23, 2016 12:30 PM)motherfawker666 Wrote:  This is just awesome. Great work. Couldn't have honestly done it myself. How are you managing to draw the worlds dynamically?

Great question ^-^

The map shown above is created by a function that accepts 3 parameters. Length, width, and the character you want to use to draw the map. I made a second function to place certain characters in random places. However, now the map function is much different ^-^ And so is the placeObject function I just mentioned. This is the output for maps now

[Image: 3d95a15a34144cf4b79413bdd633fc20.gif]


* - motherfawker666 - Dec 23, 2016

(Dec 23, 2016 02:46 PM)ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ Wrote:  Great question ^-^

The map shown above is created by a function that accepts 3 parameters. Length, width, and the character you want to use to draw the map. I made a second function to place certain characters in random places. However, now the map function is much different ^-^ And so is the placeObject function I just mentioned. This is the output for maps now

Legit, so its self generating or?


* - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Dec 23, 2016

(Dec 23, 2016 02:55 PM)motherfawker666 Wrote:  Legit, so its self generating or?

The old one is, but the new one isn't. YET! The new one accepts many more arguments.