Search:

Type: Posts; User: SauronWatchesYou

Page 1 of 2 1 2

Search: Search took 0.26 seconds.

  1. Re: Abstract classes game development - Lists and repeating code?

    *Face palm* I'm so stupid :rolleyes:

    Thank you srs, I have the implementation working perfectly now
  2. Abstract classes - Way of implementing them without repeating code

    I'm creating game in which there are 2 classes, Entity and Pickup. Now it makes sense to declare them abstract as they will provide implementation of what a Entity or Pickup should/can do but they...
  3. Abstract classes game development - Lists and repeating code?

    I'm creating game in which there are 2 classes, Entity and Pickup. Now it makes sense to declare them abstract as they will provide implementation of what a Entity or Pickup should/can do but they...
  4. Re: How to handle classes interacting with each other in the best way possible?

    Thank you Srs, it has given me something to think about and I really appreciate your detailed response
  5. Re: How to handle classes interacting with each other in the best way possible?

    It's hard to explain so I've attempted a detailed example below:

    Say I have 2 classes, one called player and one called map. There is then a 3rd class called CollisionHandler that has a player...
  6. How to handle classes interacting with each other in the best way possible?

    Hi guys!

    So my question is simply about how to best lay out my code so that each classes are talking to each other in the best way possible. I have a habit of creating a "handler" that just holds...
  7. Replies
    5
    Views
    333

    Re: Java - Where to go from here?

    Thanks for the help Greg! When you talk about the 2D games, did you use something like LibGDX or where you simply using the Java built in libraries? I like the idea of something like checkers or...
  8. Replies
    5
    Views
    333

    Re: Java - Where to go from here?

    Hi Greg, I don't actually have any code online yet as I've only just started to learn about Git. I have some videos on YouTube of a few games I was making though?

    What you said is exactly how I...
  9. Replies
    5
    Views
    333

    Java - Where to go from here?

    Hi guys :)

    I'm sort of stuck on where to go next with Java? I've made games with LibGDX (as a hobby) and created little apps but I don't know what to do now. After I finish University I really...
  10. Strange annotation - @annotationName()

    Hi guys, I was just looking online and came across the following 2 annotations @Mod() & @EventHandler(). This was really strange to me because I have actually never seen annotations used in this way,...
  11. Re: How do listeners know when something has happened?

    Thank you, Cornix :) I've found some videos on the design pattern so I will take a look and hopefully things will become clearer
  12. Re: How do listeners know when something has happened?

    Thank you very much! :)
  13. How do listeners know when something has happened?

    Hi guys,

    I understand listeners and using them etc but i'm looking for some information on how they actually know when something has happened? Say if I wanted to write my own listener, from...
  14. Replies
    3
    Views
    416

    Re: Grab data from webpage

    Thank you for your help, Copeg :) I found the link really helpful and can get the webpages HTML output with my code. I want to grab specific data from this and I read that I need to use a HTML parser?
  15. Replies
    3
    Views
    416

    Grab data from webpage

    Hi guys,

    I'm looking into building an application which can get some sort of data from a webpage and then do something with the data. For example: The program may look for information on the page...
  16. Re: Static keyword for arraylist containing objects

    Thank you both :) I understand what the issue is now and I'm reading the link that Greg posted which has helped a lot.

    I see the purpose of the Game-State and how that is more built around OOP...
  17. Re: Static keyword for arraylist containing objects

    Sorry, I should of explained this a little better.

    I basically just wanted to know if the static keyword for the arraylist was the correct thing to do in this situation. It doesn't make sense to...
  18. Static keyword for arraylist containing objects

    Hey guys, I've come across something that i'm not overall sure about regarding the static keyword in Java.

    I'm making a vertical scrolling game where the player simply shoots enemies and they...
  19. Any good websites to practice programming?

    I'm looking for a few websites which could improve my programming knowledge. I feel that though I understand what stuff does or the concepts of the language, I don't push myself to learn more about...
  20. Replies
    4
    Views
    138

    [SOLVED] Re: Need help with Pong game

    Thanks for the encouragement :)! I'm starting University in September to study Software Engineering and I'm doing an extra year to help my math skills which I feel is my downfall. Hopefully I'll be...
  21. Replies
    4
    Views
    138

    [SOLVED] Re: Need help with Pong game

    Ahh I see now. I got it working which is great! Thanks :). I am feeling slightly overwhelmed with all the game stuff right now so I'm thinking of maybe sticking with core Java for a few more months,...
  22. Replies
    4
    Views
    138

    [SOLVED] Need help with Pong game

    I'm making my first GUI based game in Java using Slick2D, and I have hit a sort of wall, no pun intended :cool:. This might be a really simple question but honestly my mathematics are not amazing by...
  23. Re: How much knowledge should I have to create a 2d game

    Thank you for your really in depth and detailed reply :) I am about to download Slick2D and see how it goes and learn as I go. Thanks again!
  24. How much knowledge should I have to create a 2d game

    Hi again :)

    I'm thinking about making a little game like Pong or Space Invaders and was wondering what knowledge I should specifically have. I have an understanding of a lot of the core aspects...
  25. [SOLVED] Re: Need a little guidance on overall Java

    Thanks for letting me know Kevin :) btw I love your site, I've been taking a look through it to get a more in depth look at certain aspects of the Java language and I find myself visiting it every...
Results 1 to 25 of 33
Page 1 of 2 1 2