Search:

Type: Posts; User: WolfNinja2

Search: Search took 0.24 seconds.

  1. Replies
    4
    Views
    239

    Re: Fading in/out code?

    Should I just copy paste a SSCCE or do you want a file uploaded?
    I'm new here...
  2. Replies
    4
    Views
    239

    Re: Fading in/out code?

    It displays a blank screen.
  3. Replies
    4
    Views
    239

    Fading in/out code?

    I have a code that isn't working.

    I have an integer called fade

    public int fade = 255;

    and I make fade smaller like so:

    if(fade >= 0) {
    try {
  4. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    I redid the whole tutorial, WORKS FOR REASONS COMPLETELY UNKNOWN XD

    --- Update ---



    Thank you :)
  5. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    It's just how to do a game. I learn by following these tutorials over and over and eventually I understand it all and pick up some good concepts. But this is just all going to heck :( I moved on, we...
  6. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    I'm just going to continue with the 2 hour video (As I'm at the last half hour in it) If I find the issue as I go I'll tell you all :/

    --- Update ---

    The reason that there's (int) in front of...
  7. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    I don't knooowwwwwww D,:

    I am a newb trying to follow a video :( It all works for him and now this and I don't understand any of it!!!

    The guy said that we need to do that because If we don't...
  8. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    I don't see anything wrong in this -_-
  9. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    public void tick() {
    System.out.println(y + height - Engine.sY);
    }
    this is the function line 66 is referring too..
  10. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Yes and I'm having problems there too -__-

    Here's where I put the println (Because when I tried putting it in the original tick function, it wouldn't allow me to access the block variables because...
  11. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Alright, how can I make it not use static?
  12. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    That is exactly my problem. And that's all I did was remove static .
  13. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Yes but I don't know how, just removing the static part, it doesn't show anything when I try to run it.
  14. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    I'll re-post all the code's, and can you tell e how I could do that? (instances of the class)

    Engine

    package net.wolfgamingdev.minecraftplatformer;

    import java.applet.*;
    import java.awt.*;...
  15. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Norm - I just...deleted the part that says static (god I'm such a newb) And I can change Component to Engine and Character to Player

    Just changed the classes didn't help

    --- Update ---

    Why...
  16. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Norm - I just...deleted the part that says static (god I'm such a newb) And I can change Component to Engine and Character to Player
  17. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    When I take off the static variables the program breaks.

    --- Update ---

    No errors but Nothing shows on screen
  18. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    Doesn't static mean that they can be changed? (the point of variables? )

    Which class is the same as a Java SE class?

    Thanks for trying to help, I don't mean to be a bother :p
  19. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    It's both? That's what this tutorial said. None of my classes have the same name...
    Which variables shouldn't be static?

    My hasn't even been touched on yet :/
  20. Re: As my player goes lower on-screen my tiles become smaller in height? D:

    There is one, in Component.class. Here's some code then :

    Component.class

    package net.wolfgamingdev.minecraftplatformer;

    import java.applet.*;
    import java.awt.*;
    import javax.swing.*;
  21. As my player goes lower on-screen my tiles become smaller in height? D:

    Pretty much that, the screen stays on the player, the player stays the same size :/

    I am new to Java so don't kill me :p

    I attached my files, please help!

    -Wolf
Results 1 to 21 of 21