Had about 2 hours to make this until it is up and done! My idea was to create a looping hallway that never ends but the hallway is actually not a loop but its just an L hallway.
Ill show you what I mean:
It only really works half way so this is epic.
This is the script for the ball:
This is the script for the camera:
I believe that to be everything for this post. thank you for looking through this blog!
IMAGINE FINISHING YOUR PROJECT AT THE TIME IT WAS DUE, LMAO CANT BE ME.
Okay so legit, I think we're all fucked in the head because of this online class shit. Everyone was did not have fun for this last project, and its pretty obvious considering no one was ready to present at the day shit was due.
OKAY ENOUGH SWEARING!
Got these bad boys for my prep. There are more assets that I have that are not in here but I think you got the gist of where I got these.
(These are all free btw in the unity store)
I've also repurposed a lot of the scripts that I've made during class cuz I think that's the essence that I'm getting from using unity. And boy even though these are repurposed, they are incredibly confusing still.
I'm unsure whether there wasn't enough time for Unity to be introduced, but I felt like I was lost for the whole entire time. (Well, not necessarily. Having the switch from Processing to this was very overwhelming in my opinion, and considering the fact that we're online, that instant feedback that a classroom creates wasn't there? But I digress.)
I am overloaded with STIMULATION AND I AM ITCHY.
Oh that cloth plan on the other one is too ambitious. I've tried a variety of way to make use of the built in unity cloth system and it does not work the way I was thinking of (Basically I wanted to use the cloth to create a complex collision object that can carry the marble or what not on it so the amount of 3d modelling would be lower but alas that is not possible with my current knowledge. It may be possible with a rigged bone object that functions similarly to a cloth but that also takes a lot of brain power to even instantiate. HEH)
This dude popped up in my notif way too many times
Scripts used:
Video:
Here be the video of the thing! You can run it on your own system as well, but I think that hardly matters since this whole build is very time based. Anyways, heres the file.
Final thoughts. This semester has been very difficult for me and I think I'm not the only one that feels that way. The whole class was overall very fun and very challenging in a good way, and I enjoyed the new things and techniques that I've learnt this sem.
Okay so, main idea started with trying to make a rope to create that second contraption in the scene. the one that spins a box after the slide.
I've tried to make a chain last week, but it was overall a bit confusing still but I really like the idea of that.
and of course, collision triggers are probably what I need to move the camera ill have to see.
Oh I'll also have to reinstall rhino cuz I forgot to do so. Rhino will probably do the majority of the more complex shapes in the contraption.
(Also had an idea of a sort of marble race but that needs more thought put into it for it to be realized.)
Im also interested in the Cloth function that unity seem to have. It'd be fun to see how it'll interact with collision. I may also add it in the final version to see it give this smooth movement.
As for auditory usage, I want to use a variety of on collision sounds, specially on the "You Win/You Lose" part like a metal clank, or wood snapping or what not. (I wonder how hard it is to make breakable objects.)
If both the balls fall in the "You Win" bin, the camera changes once more to show a price at the end.
The price may be shocking.
I will now proceed to scream as I muster the will to do anything for school in this forsaken timeline where we spend the majority of the day in our rooms or offices :UU
Too much happened this week and frankly I wanted to relax a bit. Getting a bit burnt out.
ANYWAYS, I have explored the Unity just a tad. Not much experimentation this time around because busy time. (Rather just very disheartened this week.) Hopefully I can muster up some brain power to do so next time:U
Also I have no clue why the convex collision option for that bin doesn't work.
I will add more thoughts to this later but for now:
Ok so I spent too much time trying to figure out the timer that I think the other parts of the project fell flat.
It was fun to try and sync up parts of the audio using the timer and not being crippled by the delay functions.
Anyways, I've talked about my intention in the last post where I wanted to either recreate or create a new piece in the series. This is mostly the intention to create an atmosphere that is charged by the word used. The audio is distorted and manipulated to create a sense of madness not obviously present without it.
Now whether I've successfully acquired that or not, would totally be up to the viewer of the piece. I personally feel a difference of interpretation.
anyways, I wont be posting the code here because it's a bit too brain dead. Anyways, thats it for me.
OKAY okay hear me out. I got two one main idea for this week. Not a lot of things to show (Screw midterms man) but this is mostly going to be a proposal of some sort to keep myself in check and not go too far learning too much too fast.
My initial brainstorming with this project is a little bit of a recall to previous project that I've done.
Recreation of it with a much more advance usage of code. (I think at this point it'll be part of a series) More specifically the usage of classes and array in a tasteful and true to the website. I'm also thinking of interactivity that can happen within the code, but generally with the nature of that website, this project idea will have to be closer to generative.
Using the previous week's code, I can create what I need, (snow or particles) specially for the aesthetics that I want. Vector shapes will definitely have to be a part of this since the website used vector shapes. (Now, the usage of vector is definitely not needed but I want.) This project in specific will aim at making the god damn code more efficient as well.
I've also learnt how to implement txt files into the sketch from previous classes that I've had and I think it'll make for a good reminder and mayhaps an interesting usage of it like visual novel prompts.
I will however, be using less of a depressive thinking than I did with the website. I do think I've accomplished what I wanted with that website and that is to create a space of meditation and, like the title of the website, Melancholy when the viewer is experiencing that. I will try to imitate the same success, (and hoping its possible to use libraries) as well as use music since that is the biggest factor of that website.
(Afterthought) Second idea is a game. I think the creation or recreation of game like Pong will be a nice challenge especially with the newly gained coding knowledge of class. (Like seriously, the classes basically made the performance of sketches better and its so much easier to code.) I do think that this one will definitely screw with me, especially with the lag of control input. Then there's the monster of creating AI for the opponent, that needs to be beatable, so I doubt this would be the path that I should choose. (And given that I'm basically behind for this week, I think this should be done at a later date.)
I will be experimenting on code during the week as well as implementing them in the project that I will do. For now I'm stressin' hard so stress coding week time. :U
Sorry for literally a wall of text, I had to resort to this for this week :(
I have attempted to make a collision physics for this fucking snowfall for way too long. I even tried to just do just ease the snow particles away but to no avail. I don't really know what's wrong with it, but I did learn how to utilize arrays so that the computer doesn't explode trying to load all of these snowfall particles.
anyways my head hurts lots soooo.. Here's the video
My code is a big ol' mess. So have fun cringing at it cuz I wasted so much time trying to figure this out.
also the rain looks like its actually colliding with the box, Optical illusion I guess.
//this is mostly for the other one
int i;
int quantity = 1000;
float [] x = new float[quantity];
float [] y = new float[quantity];
float [] x1 = new float[quantity];
float [] y1 = new float[quantity];
int [] Size = new int[quantity];
int [] direction = new int[quantity];
int minSize = 4;
int maxSize = 5;
float xS;
int [] speed = new int[quantity];
//the big blocking cirle
float Ux1;
float Uy1;
float ease = .05;
//calls the snow from the other tab
SnowParticles snow;
void setup(){
size(1280,720);
smooth();
noStroke();
for(int i = 0; i < quantity; i++) {
x[i] = random(0, width);
y[i] = random(0, height);
Size[i] = round(random(minSize, maxSize));
//direction[i] = round(random(0, 1));
speed[i] = round(random(1,10));
}
}
void draw(){
background(50,80,100,1);
umbra(100);
snowCall();
fill(20,10,10,50);
rect(128, 0, width*.8, height*.9);
}
void snowCall(){
for(int i = 0; i < x.length; i++) {
//attempt on easing snowfall away from the mouseX
//calls for the Snowparticle from the other tab
snow = new SnowParticles(x[i],y[i],Size[i]);
snow.shakingMovement();
snow.display();
//direction is disabled so only the else works atm
//switches between 2 directions of X
if(direction[i] == 0) {
x[i] += map(Size[i], minSize, maxSize, xS, xS);
} else {
x[i] -= map(Size[i], minSize, maxSize, xS, xS);
}
//makes the snow fall in the Y axis
y[i] += speed[i] + direction[i];
//basically the collision but it also makes it so the snow piece loops