Quantcast

Jump to content

» «
Photo

I waana dislplay a image in game

1 reply to this topic
Rugz007
  • Rugz007

    A simple guy

  • Members
  • Joined: 19 Apr 2014
  • India

#1

Posted 23 May 2014 - 12:10 AM

Yeah its for speech recognition ^^.

I want like hmmmm...... Julios max payne or iron man mod........huds

Jitnaught
  • Jitnaught

    ✰✰✰✰✰✰

  • Members
  • Joined: 24 Aug 2013
  • United-States

#2

Posted 13 June 2014 - 05:20 PM

Put this in your code. Not in any functions or anything.

Texture texture;

Then put this in your start up code.

texture = Resources.GetTexture("texture.png");

And this in your PerFrameDrawing function.

e.Graphics.DrawSprite(texture, new RectangleF(0, 0, 1920, 1080));

Change what you need to, like where the texture file is, and the dimensions and stuff (dimensions are those numbers in the DrawSprite code.)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users