Search

Christopher's Games, and Stuff.

Category

Write ups

DOOM (2016)

I recently played, and finished Doom. I gave it a personal score of 9/10. One of my favorite First-Person Shooters of the last year. Honorable mentions also includes Wolfenstein.

 

Sorry for the delay in update. Personal things have been going on.

Adding Controller Support to Unity3D

In porting over my latest creation Primitive – Combat Simulator to the NVIDIA Shield TV I tinkered around with including controller support. This is not meant to be a full blown tutorial, but somewhat of a starting guide to point you in the right direction. You will still have to experiment to find what works best for you.

 

controller

========================================

 

thumbstickleleftx – Controls the Left analog Y axis which is up, and down. In my case this controls the forward, and backwards movement in 3D space. Dead(zone)is how much the analog has to move before the input is registered – the lower;the more responsive. Sensitivity is set to one as default.

Type is set to Joystick Axis for the controller. Axis is set to Y axis to control the up, and down movement of the left analog. If you want to control the left, and right movement we would set this to X axis. However this only applies to the left analog. If we wanted to control the right analog’s axis we would have to set the appropriate axis for the platform. In Windows axis 4 /5  respectively would control X/Y on the right analog.

========================================

rightbumper – Self explanatory – the right bumper of the controller.

Gravity is set to 0, Dead is set to 0.2, and Sensitivity is set to 1000. 

Positive Button is set to joystick button 5 which corresponds to the Windows platform for registering the button press. Under Linux, and Mac OS this will be different. Axis can be left where it is, and Type should be set to Key or Mouse Button.

========================================

Please note the settings above correspond to the Shield TV Controller, and not the Xbox 360 Controller. You may have to change a few things around, but it is straight forward, and simple.

For additional information see the links below:

Xbox 360 controller – http://wiki.unity3d.com/index.php?title=Xbox360Controller

NVIDIA Shield TV Controllerhttp://docs.nvidia.com/gameworks/index.html#technologies/mobile/game_controller_spec.htm

 

The Linux newbie starter guide.

linuxlogo

 

Ah, Linux. The free kernel that powers multiple distributions.

So you’re new to Linux, don’t know where to start? We’ve all been there. What experienced Linux user hasn’t distro hopped?

 

 

 

honorable mention to Debian.

There are some differences between distributions, but they generally all function the same exact way. It is a matter of personal choice. This is not a comprehensive list, and should be used as an entry point on where to begin.

Distributions:

Ubuntu. Is a polished, and very popular distribution. It is recommended you start here, but not necessary. It is encouraged to explore other distributions before making a decision.

Fedora.  Just as easy as Ubuntu. Check it out.

openSUSE. It is universally agreed openSUSE has a very polished desktop experience, and is also very user friendly, but it does things a little different from the other two titans.

Arch Linux. Screw all that user friendly stuff. You just want the raw Linux experience. Here’s the manual to go with it.

Recommended way to try out Linux:

  •  VirtualBoxNo need to worry about having to dual boot, or mess with the hard drive. This method is a lot safer, and friendlier.

 

 

 

 

 

 

 

Technical write ups

 

I’ve tossed the idea of whether I would write up technical findings. I personally just don’t feel comfortable enough writing on such subjects. I will however detail my coding habits, style, and approach to things.

The_C_Programming_Language_cover.svg

I love C. It’s clean, and simple. Easy to learn. Hard to master.

I’ve spent a amount of time tinkering, and exploring the language. It was one of the easiest languages(syntax wise) to pick up. MSDN when I need to look something up quickly C# related. I’ve also explored other languages such as Python, Java, and (Linux / MS ) Assembly. 

Tools I use on Windows 10:

  • Visual Studio
  • Unity3D
  • Notepad++
  • paint.net
  • OBS Studio to capture game footage.
  • VirtualBox

Tools I use on Ubuntu Linux*:

  • GCC
  • Geany
  • Monodevelop

*is run in virtualbox.

Id_Software_(logo)

Style, and coding format is loosely inspired by id tech’s code style conventions.

Books I’ve read, glanced , or own:

  • The C programming Language
  • C Primer Plus
  • Beginning Linux Programming 4th ed.
  • Code: The Hidden Language of Computer Hardware and Software

  • C# 5.0 in a nut shell
  • C# head first
  • Assembly Language Step-by-Step: Programming with Linux

  • Assembly Language for x86 Processors (7th Edition)

  • XNA 4.0 game development by example

Other miscellaneous things I’ve experimented with include:

  • HTML
  • JavaScript
  • Arduino
  • Raspberry pi
  • Arch Linux
  • Various game creation programs (e.g. rpg maker, game maker)
  • Nintendo 3DS home brew programming
  • SDL
  • Mono game
  • Allegro
  • WAMP
  • Plenty of more

 

 

 

 

 

 

Create a free website or blog at WordPress.com.

Up ↑