Unity FPS Game Update #3

This is a huge update. Lots of new features and also we’re now using our own models and animations.

New features:
2 new weapons. AK47 and Walther PPk
Bullet marks
Weapons now eject bullet cases
Normal reload and Full reload (when chamber is empty)
Different sprint animation for handguns

Models and animations made by Felixfors.

Image Viewer application using C#

A detailed tutorial about creating an Image Viewer or Picture Viewer application in C#. This application also converts Images from one type to another.

Following are the features of this application:

  • Open / Save images.
  • Convert images.
  • Rotate Images.
  • All popular image formats are supported.

Let’s get started! Continue reading

Screen Capture Class For C#

A class that will help you take screenshots quickly and easily.

ScreenCapture

Following are the features of this class:

  • Take screenshot of the whole screen
  • Take screenshot of a particular area using a Rectangle
  • Copy the screenshot to Clipboard.
  • Save the screenshot straight after it is captured.
  • All popular image formats are supported.

Continue reading

C# – Check if connected to internet

I was working on an application which checked for updates. I used WebRequest/WebResponse for checking updates. It showed a continuous Progressbar while checking for updates. But there was a problem. It worked properly when you were connected to internet but it  just showed the progressbar all the time if not connected.

The solution for that was to check for internet connection before checking for updates. If connected then check for updates otherwise show an error.

Checking for the state of internet connection is very simple. Let’s get started.

Continue reading