Tag: C++
-
Faster Compiling: Visual Studio Unity (Jumbo) Builds
Unity/Jumbo builds are a way of speeding up C/C++ compilation by compiling multiple c/cpp files as a single object file. Speed improvements can come from not having to re-parse and compile shared headers. Even in projects that use pre-compiled headers, there is an overhead of processing the pre-compiled header which can be avoided with Unity/Jumbo…
-
C++ unique/shared ptr custom deleters
I’ve recently found the need for a custom deleter function attached to smart pointers in C++ and I found there are a number of different ways to implement this. I’ll touch on the advantages/disadvantages of the different ways to use custom deleters and the difference between unique and shared ptr. std::unique_ptr: The type of the…
-
Windows Phone C#: “Layout cycle detected. Layout could not complete.” on LongListSelector Fix
Came across a very weird problem today that has occurred on my application Steam Live which I’ve never come across before… On a certain Steam Profile I’d get a crash with the following message: “Layout cycle detected. Layout could not complete.” After a lot of searching, confusion and everything else I’ve managed to find a…
-
Windows Phone 8.1 DirectX Sample Landscape mode broken / rotation doesn’t work.
The Problem: When the phone is in landscape mode, the rendered area isn’t rotated on screen! As you can see, the image on the right is when it is in portrait mode, the one below is when in landscape. The problem is caused by the following code in DeviceResources.cpp: Since the window size being created is…
-
Getting to grips with Unity (C#)
After finishing my course at Bournemouth University, I wanted to invest my free time into improving my programming and game development skills. I decided that since majority of my course at University had focused on the Unreal Development Kit, it would be cool to try out Unity properly and see how it compares. I’ve done…
-
Beginning Windows Store 8.1 Development: Upgrading Starcraft II Profiler (C#, XAML, PHP)
For my final year project at University I had decided that I would be developing a Windows 8 application, something I, at the time had no experience in. Over the 2013 Christmas break I decided I would create a Windows 8 application in order to understand the basics and fundamentals of the development and just…
-
Spaceman & Slime: C# + XNA
Spaceman & Slime is a game I created for one of my assignments at Bournemouth University. The game is a re-skinned version of the classic, tactical board game Hounds and Hares built using C# and XNA for the Windows Phone OS. Having used XNA and C# extensively before I was keen to finally put all…
-
C++ Programming
After finishing my A Levels and was about to begin studying Games Technology at Bournemouth University I knew I would have to start learning a completely new programming langauge to Visual Basic: C++. I’d heard a lot about C++ and knew it wasn’t going to be as simple and straight forward as learning VB as…