Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1186 Excellent

About munito

  • Rank

Personal Information

  1. munito

    Do you write pseudo-code/comments before coding?

    I can only support this method. Doing a quick and dirty solution first gives you a better feel of the problem to solve. You'll see what exceptions may be coming up and you can easily break down your problem into smaller ones.   Then you can start to define your API and refactor your code.
  2.   I agree on that. PHP is getting really old and I also prefer the "modern web" standards. Node.js on the server side offers alot of frameworks and modules which can help you build your application faster. It is also convenient to work on a one language stack instead of different languages. Using a javascript client side framework with a javascript server backend will get things done quicker.   Maybe take a look at: Node.js with ExpressJS or Koa for the server side passportJS for authentication in node.js sequalize or bookshelfJS for Database access.   For the client side you have to take a look for yourself. Just google "javasript frontend framework". I learned to use Jade for rendering my pages with node but there are alot of other frameworks around.   Also if you decide to create some 2D/3D scenes later on it is much easier to integrate them in your existing javascript code.
  3. I'd go for a composite way for weapons. The advantage is that you can easily create weapons at runtime and have a more dynamic approach at creating new weapon types.   Inheritence is bad for this because you will end up in having alot of classes which may depend on each other if you want something like a MagicFlamingDoubleEdgedBroadsword or something.   I'd take a look at the decorator pattern which is a great way to add new behaviour dynamicly.
  4. munito


    Hi,   I used this tutorial for getting into git.   Best Regards Olaf
  5. munito

    Is O(0) equal to O(1) ?

    Hey everyone,   I've found the following question while learning for my exam on datastructures:   "Is O(0) equal to O(1)?".   I would say that O(0) is not equal to O(1) but something tells me it might be.   Can someone give me an answer to that question? Maybe an explanation too if it is.   Best Regards Olaf
  6. munito

    LibGDX vector2 length

    The length of a vector can be used in various ways. You should check a source about vector properties and operations somewhere in order to find out what the length is used for.   As for the length formular it is: length = Math.sqrt(x² + y²).
  7. Hey everyone,   while looking for some game related information on the web I came across this engine: It looks quit intresting and seems to have a different entity approach compared to unity or other engines.   Does anyone have any experience with this engine?   What is your opinion about it? It looks pretty solid for making multi platform 2D games.   How does it compete with other engines like unity?
  8. munito

    LibGDX overlaps problem

    if (sprite.getBoundingRectangle().contains(Gdx.input.getX(), Gdx.input.getY()) { // do something } Maybe use the contains method instead of the overlaps method. Remember if your using a camera u need to unproject the mouse coordinates first before passing them to the contains method.   Unprojection version: Vector3 mousePosition = camera.unproject(new Vector3(Gdx.input.getX(), Gdx.input.getY(), 0f)); if (sprite.getBoundingRectangle().contains(mousePosition.x, mousePosition.y) { // do something }
  9. munito

    why graphics card need audio drivers

    I think that is the reason. Since HDMI is able to transport audio data there need to be an driver driver for this. 
  10. munito

    What's your job and dream?

    Made an apprenticeship as an application developer back in 2009. After I finished my apprenticeship I was not satisfied with my knowledge and went to university.   Now I'm studying applied computer science and work at a small software company half the week as an application developer. I'm working on hobby projects in my spare time and hope to find a small project team after graduation. I'm really into the technical side of programming and love to solve complex problems.
  11. munito

    2.5d depth rendering

    I guess your using the integrated TiledMapRenderer of Libgdx?   Take a look at this site and search for the title "Using Depth Buffer"   Maybe you'll find an answer there.
  12. munito

    What models are these, 2d or 3d

    Maybe they had extremly good 2D artists or they made 3D models and created sprites from these models.   I'd say the second option is what they did.
  13. Keep your hands away from global state.   I'm not a friend of classes which are called xxxManager. It does not really tell me what is happening inside the class itself. In your case your BuildingManager has many responsibilities. Updating, Drawing, processigng events etc. You shpuld consider splitting these responsibilities up into seperate classes.   Maybe take a look at the Observer pattern for this use case. You could encapsulate the whole interaction between objects with this pattern.   Take a look at the visitor pattern for this use case. With this pattern it is possible to decouple your render code from your game data.
  14. munito

    Question about Tiled

      I can't reproduce the disappearing of images. Regarding the margin etc. if you have not made a small border between your tiles then putting spacing and margin to 0 is the right decision.   Maybe take a look at this tutorial if you're trying to learn:
  15. munito

    Question about Tiled

      When I use this optionen Tiled wants me to find a file with the ending .tsx which is the tileset format for tiled. However if I use Map -> Create new Tileset you get to choose some options here. In the dialog you can reference to an external file which can be any kind of image format (jpg, gif, png, etc...).   In the dialog you also have to configure your tiles width, height and some kind of spacing padding if you have a small space between them.
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!