Posts

Showing posts from February, 2021

Quick, dirty and ugly JavaScript tutorial for random generators (Part 4)

Random Generator Tutorial (part 4) Quick, dirty and ugly JavaScript tutorial for random generators Part 4 Welcome to the fourth part of my tutorial, you can find the first parte here , second part and third part here . Now we are going to repeat some of the initial advice of that part. There are a lot of useful tools like Perchance and Chartopia available to create random generatos for your rpg but here we are going to make things old-school, tinkering with HTML and JavaScript. You will need a basic knowledge of how a webpage is created using HTML and some minor programming experience in any programming language so you can grasp the JavaScript parts. The code and web page will be just as simple as possible and we'll try to avoid any advanced features (or even good modern practices). Again we are going to do something new! We'll try to draw a random map. And now for something completly different (bis) There are several dungeon generatos that create beautiful

Quick, dirty and ugly JavaScript tutorial for random generators (Part 3)

Random Generator Tutorial (part 3) Quick, dirty and ugly JavaScript tutorial for random generators Part 3 Welcome to the third part of my tutorial, you can find the first parte here and second parte here . Now we are going to repeat some of the initial advice of that part. There are a lot of useful tools like Perchance and Chartopia available to create random generatos for your rpg but here we are going to make things old-school, tinkering with HTML and JavaScript. You will need a basic knowledge of how a webpage is created using HTML and some minor programming experience in any programming language so you can grasp the JavaScript parts. The code and web page will be just as simple as possible and we'll try to avoid any advanced features (or even good modern practices). If you finished the previous part your hml file should contain a few basic parts already, a hearder section with a title and a Javacript block with a single function. Then some big letters to writ

Quick, dirty and ugly JavaScript tutorial for random generators (Part 2)

Random Generator Tutorial Quick, dirty and ugly JavaScript tutorial for random generators Part 2 Welcome to the second part of my tutorial, you can find the first parte here . Now we are going to repeat some of the initial advice of that part. There are a lot of useful tools like Perchance and Chartopia available to create random generatos for your rpg but here we are going to make things old-school, tinkering with HTML and JavaScript. You will need a basic knowledge of how a webpage is created using HTML and some minor programming experience in any programming language so you can grasp the JavaScript parts. The code and web page will be just as simple as possible and we'll try to avoid any advanced features (or even good modern practices). If you finished the previous part your hml file should contain a few basic parts already, a hearder section with a title and a Javacript block with a single function. Then some big letters to write in the screen, a line where th

Quick, dirty and ugly JavaScript tutorial for random generators

Random Generator Tutorial Quick, dirty and ugly JavaScript tutorial for random generators Part 1 There are a lot of useful tools like Perchance and Chartopia available to create random generatos for your rpg but here we are going to make things old-school, tinkering with HTML and JavaScript. You will need a basic knowledge of how a webpage is created using HTML and some minor programming experience in any programming language so you can grasp the JavaScript parts. The code and web page will be just as simple as possible and we'll try to avoid any advanced features (or even good modern practices). For the html part we can create a simple html template in any editor (save it and name it "rpggen.html" or whatever) where we'll add our stuff and check with a browser, if you need more help check a HTML tutorial . <!DOCTYPE html> <html> <head> <title>My RPG Generator</title> <script> //<![CDATA[ //]]> </s