Comments on Profile Post by spwath

  1. spwath
    spwath
    just download that jar to play. Only 800kb.
    Sep 25, 2018
  2. bengo
    bengo
    You're probably too young to remember Llamatron the first time around...

    It's a good start. Try mixing and nesting BorderLayout/GridLayout for the menu. Works for me. I never got the hang of GridBagLayout. There may be other better/easier options these days, I don't do much GUI design.
    Sep 26, 2018
    spwath likes this.
  3. bengo
    bengo
    A simple game shouldn't be using 1.5GB of RAM nor maxing out 4 CPU cores (or even one, for something this simple). Set a sensible max framerate and sleep the thread(s) when no work to do.

    I think you need an explosion/whatever graphic when your projectile hits something.

    When I "died" and restarted, the original game window stuck around (frozen) and a fresh one appeared too, that's a bug.
    Sep 26, 2018
    spwath likes this.
  4. bengo
    bengo
    Did you consider doing something with Java3D instead? Or with Android? More work, but potentially more interesting results too.
    Sep 26, 2018
    spwath likes this.
  5. spwath
    spwath
    Yeah, the menu looked better before, then I messed it up somehow. Still working on that. Wow, I never checked my resource usage, never realized it used that much. Yeah, probably could just set max frame rate at 30fps or something, if I can figure out how to do that.
    Sep 26, 2018
  6. spwath
    spwath
    Yeah, some sort of explosion type thing would be good, not too hard to do either. It does make a new window, ill have to see if I can make it not do that. I originally made this game with a partner for a computer science class, but we never got it fully functioning. Since then i have just been improving apon it. Most of this GUI stuff is completely over my head.
    Sep 26, 2018
  7. spwath
    spwath
    I also have enemy infantry which I have not added to the game yet, but would be simple. Right now it adds birds when you get to a certain score, and as your score increases, increases the amount of enemy birds and horses spawning in. Though when too many spawn in at once, they kind of spawn on top of each other. Ill have to look into that too.
    Sep 26, 2018