UI stands for user interface and when talking about UI there are 2 types to remember world space UI and screen space UI.
World space UI is when if you turn away from the UI it disapears an example of this is a sighn in minecraft you can read it while you face it but when you turn away you cant anymore this is called a world space UI
Screen space UI is when a UI stays on the screen no matter where a player moves or looks for example a cross hair in a first person shooter stays centre screen this is called screen space UI
clicker heros is a clicker game where you click to deal damage to monstors that drop gold that you use to hire heros to help you deal damaghe to the moinstors after you kill a monstor a new one drops in to take its place they also drop gold and aftere you defeat 10 of thjem youi progress onto the next area
bongo cat is an idle hgame where you have a cat in the backround of whatever your doing sitting and whenever you click on your mouse or press a key the cat will bat its little paw as if playuing a bongi each time you do this a number goes up which you can spend on cosmetics for your catyou get these by opening a chest for 100 clicks every 30 mins youy get 2 chests you can allso scrap 10 items of the same rarity to get a more rare one
while i do really enjoy the art style andpremise of this game it isnt really the kind i want to create
melvor idle is a game where you collect resourses to get exp then you level up its the first game that coined melvor idle games due to how much of a succes it was it is because of this game that we refer to games of the genre as we do melvore idle clicker games i like how in this game there arfe so many diferent thiongs you can do and how each action ties ointo another it akes the game feel verry connected whilst not havig the need to have too much attention its a verry diferent to other clicker games like bongo cat the infamous cookie clicker and hero clicker
i think id like to try something similar with thid buit also diferent as i want to sstill have the main clicking that you get in games like cookie clicker
this is the starting point for my clicker project im using a 2d space with a simple button a number that goes up there is a place holder for a multiplyer and a music system as well as a shop however these do not work as of present the code used to make the number go up is really simple however as i add more components it will ghet a little more complex as i go i would like to add music a shop menu and maybe some customisation depending on how i make my button look
i think i would like to theme it on dongeons and dragons a table top role playing game which i play with some of my friends i would like to theme it around my dnd partys adventure specificly but ill see if that acttually comes into thruition later
This shop menu too a wile to figure out how to get it to pop into place but when i got it to work the rest was easy i used the shop button i created to activate a panel with more buttons on like the red x that deactivates the panel ive so far added a multiplyer a click power and a auto clicker to the game those were done through code whicjh is a bit of a mess so next session i will have to work on makeing it more clear to read i also believe that there is a asmall logic error in the code that stops the multiplyer from working properly ill have to fix it next session
in another lesson i have been learning about sound desighn in gfames and how to create your own backround music and effects sop oive decided that im going to make a version of rush e using various instruments raher than the more traditionaly used piano for the song originaly i was working with the tetris theme and thought it would be interesting to break it down into rush e but in the end i decided to just drop the tetris and go rush e this didnt take long the hardest part was definately the ending to get it to slow down and connect more with the start and im not a huge fan of how i delayed some tracks to desink them this did make it so that it isnt too loud the link for the project is here
this is image i got from google when searching fores dnd i liked the artstyle of it and ive decided to use it as a backround for my game i think it works realy well it also gives me an idea for a mechanic in the game which ill work on soon
this is more of an easter egg for me as ive based this on a dnd campain ivebeen running with som friends where they are currently being stalked bya displacer beast the idea for this is every one in 100 it will apear roar and then disapear after a few seconds
i wanted the particals to apear when you click the biutton m,aking it more satisfying to click and use i think ill also work on a sound as many other clickers had particle affects and sounds when ou clicked them
This is the basic code for the licker button when the button is pressed it runs "Add Score1()" which adds the click power multiplied by the Mult to the score the count code is for a small jumpscare that happens every 1 in 100 clicks ill talk more about this in a moment
all of these had verry similar code to bbe writen but in the end they all were used in the same equation to make your score when you click the button how your mult works is you start with it at level 1 and each level you will multiply the score by the level of your mult pretty simple but appears to be increasing the score by one on its own how ever if you adda click power upgrade which just adds one to the base value of clicking the button then it woill show that the mult mutoiplies the score itsel;f is just a variable to store a number and isnt reallyused for any calculations
The D20 mechanic is an ida i had to make the game more fit the theme of the game if you rolled a 1 you lose all your money if you roll a nat 20 you get double your money the code for this took a while to code as i needed to create a switch case statement which i hadent done before and it was really interesting to use im really happy with how it works
the code first generates a random number between 1 and 20 it then checks which number thta is and runs the corresponding switch statementwhile switch cases are tedious to code they are incredibly more efficient than a bunch of if statements all checking if the same vairiable is a specific numbver as the computer allready knows which statement to go to specified by the variable ive tried to make it mostly balenced by how much the cost goes up by just hving it doule each time starting at 30 as while its decent early ganme it gets incredibly good late game so if they refrain from bgambling too much early game then they can get alot mid to late game from it depending on how lucky they are
the autoclicker is donwe through a timere origionaly i did it through a cointer that wentup every frame but then i learned about delta time and that works better