Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am new in game programming. I am trying to draw wall like in example. EXAMPLE

I am not getting how will i do this. Is any matrix logic i have to implement or i have to use full image.

share|improve this question

closed as unclear what you're asking by Seth Battin, Anko, Josh Petrie Apr 7 at 17:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

3  
What part do you not understand? What have you tried, and are you getting any errors? I can see you are asking "Do I need matrix logic or an image", but you need to tell us how you plan to use it. If it is just an image and doesn't need to interact with the world then you would need a completely different answer. –  kurtzbot Nov 5 '12 at 18:31

2 Answers 2

You need to back up a long way before doing this.

gdx isn't the simplest engine to start out with, perhaps try your hand with andEngine first (google will help you find it). It sacrifices performance and flexibility for developer simplicity, and will get you going sooner.

share|improve this answer

hey i'm not the programmer in our team, but you can certainly do both! me and a friend of mine are currently developing a litte 2D side scroller and there we used full images and not tiled maps (at least that's what i think you meant with matrix)!

but keep in mind these full graphics eat up your resources like crazy! a few days ago i also saw that someone posted a level editor for libgdx, maybe that's also worth to check out!

if you like to learn more about libgdx look at the forum on badlogicgames.com, it's cool cause you can post your own stuff there and get feedback for your games!

cheers sebastian, xsheetgames

share|improve this answer
    
Use full sized raster graphics is probably not a great idea; you can't store metadeta and the levels are very flat. Not to mention, you can't render foilage over top of a player without another layer... tilesheets are preferred with tilemaps. –  Vaughan Hilts Nov 5 '12 at 23:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.