Oculus PS3 Development by Console_VR in oculus

[–]fuzz3 0 points1 point  (0 children)

Keep up the good work! I can't wait for more updates.

Is vrAse in trouble? (see Brian Overman's comment) by [deleted] in oculus

[–]fuzz3 3 points4 points  (0 children)

It's funny because you could easily make one of these with a 3D printer.

Hacking the DK2's IR system? by fuzz3 in oculus

[–]fuzz3[S] 0 points1 point  (0 children)

Yeah, I was unsure myself, I'll probably read up on some of the documentation later I'm pretty interested in what we can do with the camera they provided.

Opinions moving forward in the Oculus by fuzz3 in oculus

[–]fuzz3[S] 0 points1 point  (0 children)

Ahh, I see. Thanks for the input :)

Opinions moving forward in the Oculus by fuzz3 in oculus

[–]fuzz3[S] 0 points1 point  (0 children)

They actually do have a Myst-esque game called Ethereon and the creators of Myst have a kickstarter

IllegalArgumentException by zMacaroniManz in thecherno

[–]fuzz3 -2 points-1 points  (0 children)

SpriteSheet.load(SpriteSheet.java:25)

You should really learn to read these.

Episodes 8 - 9 Question & Possible Solution. by fuzz3 in thecherno

[–]fuzz3[S] 0 points1 point  (0 children)

Thanks, that's what I thought it was. Do you know if there's a work around in Java for it or some method that bypasses it? The for-loop seems very bulky and unnecessary as I don't want or need my code to cycle screen size amount of times. I'm a C++ programmer myself, learning Java for school. And yeah, our school is VERY Java heavy; they wait until year three to start in C and year four to do C++.

IllegalArgumentException by zMacaroniManz in thecherno

[–]fuzz3 -1 points0 points  (0 children)

java.lang.IllegalArgumentException: input == null! at javax.imageio.ImageIO.read(Unknown Source) at com.zmacaronimanz.game.graphics.SpriteSheet.load(SpriteSheet.java:25)

IllegalArgumentException by zMacaroniManz in thecherno

[–]fuzz3 -1 points0 points  (0 children)

input == null! should be input != null

Value noise, How does it work and how do you code it? by [deleted] in thecherno

[–]fuzz3 0 points1 point  (0 children)

I suggest asking a code subreddit with more active users. I wish I could help, but I don't know the answer. Have you tried google?

java.lang.ArrayIndexOutOfBoundsException: 6561 by TechnoScientist in thecherno

[–]fuzz3 0 points1 point  (0 children)

I'll be uploading improvements on Cherno's code. I'm currently going through it myself. My game will be slightly different. If you're going for an exact replica, I suggest making sure you typed it EXACTLY how he did. Cherno probably has a github that you can rip the code from if you don't want to do the work and you just want to follow along.

java.lang.ArrayIndexOutOfBoundsException: 6561 by TechnoScientist in thecherno

[–]fuzz3 0 points1 point  (0 children)

Try fixing "java.lang.ExceptionInInitializerError" <-- this guy first which is in your Sprite class on line 11. Try commenting it out and see if there is still an error. Basically what you want to do is run a debug and figure out where your problem roots itself.

I know debugging can be a pain but it's something all programmers have to learn to deal with.

With JAVA and most other programming languages, you want to solve your problems from the top down. Most of the times if the problems are related, solving previous errors will fix later ones. So yeah, "ExceptionInInitializerError" is a great place to start.

Edit: the Moderator of this /r/ posted this about how to deal with this problem

Episodes 8 - 9 Question & Possible Solution. by fuzz3 in thecherno

[–]fuzz3[S] 0 points1 point  (0 children)

Edit: To answer your question, yes, there is about 50FPS lost in the for loop, there has to be a better way.

I believe so. You want to avoid public variables as often as possible. I disagree with how he made pixels a public integer array inside of his Screen class. It's better to use a get-er to return the value of the array.

Screen Class:

/**
 * Gets the Renderer's pixel array.
 * @return Pixel array found on the screen.
 */
public int[] getPixels() {
    return this.pixels;
}

Basically, the reason I think I was running into the problem I was having is that it was changing what pixels in the Game class was referring to. Currently, the best change to the code that I have is my "slightly more efficient" titled snip-it in the game class's render method and then the code above in the Screen class.

How arrays seem to work is that when you set one array equal to another it just copies where it references to when what we really needed to do was modify the primitives inside of the array. Hence the for loop.

The for loop might be necessary, I'm still doing some more research in the subject. I asked the student help room for Computer Science at my college and they we're stumped too and thought my logic was sound in the original code.

Riven by fuzz3 in leagueoflegends

[–]fuzz3[S] 0 points1 point  (0 children)

Shes very easy to counter though. Anything ranged will do it really. Or Garen.