Being in psychosis means experiencing a severe disruption in how your brain processes reality. It is a state of “losing touch” with the world around you, characterized primarily by hallucinations (seeing, hearing, or feeling things that aren’t there) and delusions (holding false, unshakeable beliefs despite contrary evidence). It is not an illness itself, but rather a set of symptoms often tied to conditions like schizophrenia, bipolar disorder, or severe depression, or triggered by extreme stress, trauma, or substance use. Key experiences and signs include: Hallucinations: Experiencing sensations that other people cannot share, such as hearing voices or seeing shadows. Delusions: Believing things that are untrue, like the feeling that you are being plotted against. Disorganized Thinking: Using incoherent language, jumping rapidly between unrelated topics, or having trouble concentrating. Changes in Behavior: Withdrawing from friends and family, neglecting self-care, or having ...
Found this gameloop somewhere, probably on the internet of course. Maybe YouTube? I can't remember. Putting it here so I can use it later:
long lastTime = System.nanoTime();
double amountOfTicks = 60.0;
double ns = 1000000000 / amountOfTicks;
double delta = 0;
long timer = System.currentTimeMillis();
int updates = 0;
int frames = 0;
while(running){
long now = System.nanoTime();
delta += (now - lastTime) / ns;
lastTime = now;
while(delta >= 1){
tick();
updates++;
delta--;
}
render();
frames++;
if(System.currentTimeMillis() - timer > 1000){
timer += 1000;
System.out.println("FPS: " + frames + " TICKS: " + updates);
frames = 0;
updates = 0;
}
}
Comments
Post a Comment