BurritoBug Posted June 6, 2014 Author Share Posted June 6, 2014 Obviously, but I highly doubt you learned anything changing some colors around. Especially if it's for a school project you should have made something errr less "plagarized". I actually learned a shitload from it. I didn't just steal a source and edit some colours, I followed the tutorial and wrote the code myself to see how everything works, then made it 10x cooler. Link to comment Share on other sites More sharing options...
Booch Posted June 6, 2014 Share Posted June 6, 2014 It's a very nice project but do you understand everything written and why it was written in such a manner including inheritance and multidimensional arrays aswell as encapsulating variables properly in your classes? If not then focus on more practical projects that allow you to learn such programming features, best bet would be a solid database from scratch just using Java. Also use tutorials as reference to what you want to do, because PersonX decided to write in a certain manner doesn't mean you have to do so too. Link to comment Share on other sites More sharing options...
BurritoBug Posted June 6, 2014 Author Share Posted June 6, 2014 It's a very nice project but do you understand everything written and why it was written in such a manner including inheritance and multidimensional arrays aswell as encapsulating variables properly in your classes? If not then focus on more practical projects that allow you to learn such programming features, best bet would be a solid database from scratch just using Java. Also use tutorials as reference to what you want to do, because PersonX decided to write in a certain manner doesn't mean you have to do so too. I can say that I understand 90% of what was written and why it was written. Link to comment Share on other sites More sharing options...
Booch Posted June 6, 2014 Share Posted June 6, 2014 (edited) I can say that I understand 90% of what was written and why it was written. Alright, why then variable; private Background bg; Is declared as private in Level1AState and/or ControlState class presuming it's the same variable in the same package, would it make sense to use protected instead? Also, why is your Multidimensional Array of type BufferredImage statically declared inside your Content class? public static BufferedImage[][] EnergyParticle = load("/Sprites/Player/EnergyParticle.gif", 5, 5); I'm not saying they're wrong, far from it, I just would like to know why it was written that way. Edited June 6, 2014 by Booch 1 Link to comment Share on other sites More sharing options...
Apaec Posted June 6, 2014 Share Posted June 6, 2014 Alright, why then variable; private Background bg; Is declared as private in Level1AState and/or ControlState class presuming it's the same variable in the same package, would it make sense to use protected instead? Also, why is your Multidimensional Array of type BufferredImage statically declared inside your Content class? public static BufferedImage[][] EnergyParticle = load("/Sprites/Player/EnergyParticle.gif", 5, 5); I'm not saying they're wrong, far from it, I just would like to know why it was written that way. Man don't grill him, he's done a good job, praise it Link to comment Share on other sites More sharing options...
Booch Posted June 6, 2014 Share Posted June 6, 2014 (edited) Man don't grill him, he's done a good job, praise it I'm not grilling anyone, I'm just making aware that copying someones work and adding more aesthetic effects to make it 'cooler' doesn't entail actually knowing what you're doing. This way I'm asking him questions that will help him understand what's actually happening presuming he's gone out of the way to do something outside of the scripting/botting scene means he's interested in programming/development in general. What he wrote is 'correct', but I'm asking as to why he wrote what he wrote apart from repeating what the tutorial suggested. Edited June 6, 2014 by Booch Link to comment Share on other sites More sharing options...
thepecher Posted June 6, 2014 Share Posted June 6, 2014 Nice little project there! (btw don't listen to the others, you have to learn somewhere) 1 Link to comment Share on other sites More sharing options...
Swizzbeat Posted June 6, 2014 Share Posted June 6, 2014 Alright, why then variable; private Background bg;Is declared as private in Level1AState and/or ControlState class presuming it's the same variable in the same package, would it make sense to use protected instead?Also, why is your Multidimensional Array of type BufferredImage statically declared inside your Content class? public static BufferedImage[][] EnergyParticle = load("/Sprites/Player/EnergyParticle.gif", 5, 5);I'm not saying they're wrong, far from it, I just would like to know why it was written that way.I wish people would stop using static for everything and learn the ways of OOP.Btw learnToCamelCase. Link to comment Share on other sites More sharing options...
Booch Posted June 6, 2014 Share Posted June 6, 2014 Nice little project there! (btw don't listen to the others, you have to learn somewhere) "don't listen to others" is definitely the worst advice you could possibly give. If you don't listen to others opinion(obviously presuming it's sustained by reason) then you are a one-dimensional person who won't surpass further than what they're naturally capable of. The intention behind my previous post was to simply aid the person understand what it is he is doing. Link to comment Share on other sites More sharing options...
thepecher Posted June 6, 2014 Share Posted June 6, 2014 "don't listen to others" is definitely the worst advice you could possibly give. If you don't listen to others opinion(obviously presuming it's sustained by reason) then you are a one-dimensional person who won't surpass further than what they're naturally capable of. The intention behind my previous post was to simply aid the person understand what it is he is doing. ofc ofc... But hes was just getting alot of comments saying " do this /do that" and so i thought i'd cheer him up Link to comment Share on other sites More sharing options...