• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to show images on the display? (for a video game)  RSS feed

 
Catalin Hooded
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I come with a question:

I am starting to learn programming. My far away goal is to make a game. A good one enough for publishing it.
I am using LWJGL 2.9.3 and slickutil
I am learning opengl and java while I build for the game.

Previous day i learned how to create a screen.
Now i am working at learning how to put images on the scren. My goal was to make an introduction screen.

Until now i have this:


And i also have this:


And in the GameLoop i just have this:


I am expecting that when i run the program, the Display will show me the "IntroductionScreen.png"
And it does. It shows me the picture but it is not as i expected. Look:

http://postimg.org/image/hsnufb1o7/ ()

So my questions are:
1. why it is not on the whole screen?
And
2. what should i do to change so it will be as i want?

and
3. It is my first post on this forum. I dont kow if i am posting the question ok. Please give me feedback about this.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!