some small projects made in processing
So this little project is a very simple and small one. It's essentially just a bunch of if statements to go throught the color spectrum or cycle through the colors of the rainbow so to speak. There is as always a bunch of ways to solve a problem or find a solution to set problem but this was a fun thing to do and to go around the idea.
Very minor project but still a little bit of a hassle. It was an attempt to see what kind of limitations the processing language has when it comes to making drawings and shapes. Of course I'm most definitely not taking full use of all the tools at my disposal but it was also a bit more about trying to do it with some simple tools like squares lines and circles.
This is a small game inspired of or made to work as the classic game pong. You control the square on the right and the left one is an 'AI'. The movement is mouse and the opponent is moving in correspondence to the balls position. This could be improved upon and there a few features that could be added like adding a player 2, keyboard controls and similar things but i didn't feel they added much to the game.
This is a project worked around the thought of displaying the letters one by one on the screen instead of having them there from the start or make any other kind of transitioning. I've always thought the idea was cool and never really knew how it worked so it was nice to make, and awesome to have an idea of how it could be made and some of the basis idea behind it.
This is one of the bigger projects as it includes some other needed code to function to make the game that it is. It has a 'menu' 'settings-screen' and of course the core game, that changes by using screen-states. It is is no way a very polished game and very special but it has some fun elements to it and was nice to make. So it first of takes use of the music and video library. This simply means that you are able to play music and video. There is only one video and one music track but it was fun to add and helped improve the game quality. Then there were used a sound effect for when hitting the target. The settings menu also only affects volume by changing the output value of the sounds but again a nice to have thing. lastly we have the game which just gives different background screens depending on the score and has the video on a specific secret score. Small and fun to make but a bit weird.
This is the big one. The game 'Eventyr' basically takes the formula from the other game 'Ball Game' and makes it into something nice. It has the same principles a menu, settings, now also a small help-screen and the core game. It starts with the menu that is made up of buttons to navigate around the different pages. The navigation works like the previous game around 'screen-states' which basically tells the game what code to run where so you can switch between the different screens of the game. The settings pages also has a cool feature by using buttons to change the volume and a visual representation of how high the volume is. That was made with a ton of if-statements but still fun to figure out how to do. The help screen is just some text and that leaves us with the game. It consists of mainly three parts. The player, The objects in each level and a level-manager. The player is simply a rectangle that moves around with the arrow-keys. The collision works like in the other game pong by checking the coordinates of the object and the player and check if they overlap. Then if this is the case the player locks the y-coordinate to stay on the platform and unlocks the function jump which changes the y-direction speed which slowly degrease to simulate gravity. Then we have the objects that are aswell rectangles but have different values. The platform ones are to stand on. The invisible ones are to be irritating. The Enemy ones are of course to be respawned by. And the goal changes between each level. Each one is made up the same way and the only thing that changes is the outcome of what happens when they interact with the player like the green goal changes level. This leaves us with the level manager that is made to switch between each level instead of switching screenstates. This essentially just changes which blocks are displayed until the last level is beaten which shows the end-secret. The displaying of the blocks is done by using an array-list that then displays each individual block and determins what kind of block it is.Github