Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Catalin Hooded
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: ()

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

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic