so i wake up one day thinking. "hey, i have a code for a random generated tilegrid somewhere on my Unity Proyects, i should see if i can use it to make the worldgen for my 2D survival game".
then i get a notice from Visual Studio telling me that i had to upgrade the license because it was a 30 day trial. fuck you Unity Engine.
so. it has come this. after thinkering around with some codes of my days on computer graphics i had started to give some form to a Java based worldgenerator in Netbeans.
here's the first iteration. (its in spoilers because is too big)
so. yeah, its one tile right now. nothing too fancy. i have a "board" class that contains a constructor and the paintComponent method for drawing the block on screen. (extends JFrame)
the Tile class contains an X and Y element and a buffered image for its sprite. it contains a try catch method on its constructor and a Draw method which is the one in charge of generating the object. (Extends JPanel)
finally the main class has the application initialization. (your average main class for setting the window and UI and that stuff)
nothing too fancy. now, my next step is to be able to generate the same tile in a repeated pattern on the screen. however, my programming skills have reached their limit since i was able to craft this using old pieces of code i had scattered from my Computer Graphics class, which wasnt too much usefull IMO. i could barely mount an space shooter game with it with some classmates.
i tried to pass the rest of the day looking at tutorials but im not sure if what i have implemented would be capable of doing what i was thinking to do. so any feedback is appreciated.
i hope to at least get this to completion, and not have to scrap it like with the space game. which otherwise cant be completed (again, F**K YOU UNITY)
thanks for watching....