So you are going to notice a slight shift in this blog to start incorporating not only video game development, but hardcore data analytics. As part of that shift, I am going to start incorporating F# into my standard set of languages as it is the language of hardcore data analytics if you roll with the .NET stack.
This particular article is about building a console based blob manager in F# instead of C#. The very first thing I noticed about using F# to manage my blobs as opposed to C# is just the sheer reduction in lines of code. The code presented here is a port of the C# article located here. This code will eventually make its way into a production system which is part of a big data solution I am building. New data sets that we acquire will be uploaded into blob storage, an entry stored into a queue, with a link to the data set. Once a job is prepared to run, the data will be moved to Hadoop to do the processing and then stored in its final location. So step 1 is…Store data in Blob storage.
So I have received a ton of questions about event systems from both C# classes I teach as well as from Unity game development classes I teach. So I have decided to build this blog post generically enough to apply to both. If you aren’t using event systems, your code probably looks a lot like something below…
/// Moves the character on the ladder
/// <param name="position">place touched.</param>
/// <param name="other">the object that collided with us.</param>
private void MoveOnLadder(Vector3 position, Collider2D other)
GameObject profSuite = other.gameObject.transform.parent.gameObject;
//I used 10 because that is how far the camera is from the scene
Vector3 worldPos = Camera.main.ScreenToWorldPoint(new Vector3(position.x, position.y, 10));
Vector2 touchPos = new Vector2(worldPos.x, worldPos.y);
Collider2D col = Physics2D.OverlapCircle(touchPos, 0.2f, this.whatIsInteractive);
if (null == col)
//they didn't touch the ladder, don't move.
//double check make sure they didnt cheat and did click on this ladder
if (col.gameObject.transform.position == this.gameObject.transform.position
|| col.gameObject.transform.position == this.parent.transform.position)
//move the player to the top
Vector3 nTansform = profSuite.transform.position;
nTansform.x = this.top.transform.position.x;
nTansform.y = this.top.transform.position.y + 5;
profSuite.transform.position = nTansform;
profSuite.GetComponent<Rigidbody2D>().AddForce(new Vector2(0.0f, this.HopUpPower));
This particular article goes out to a few of my students. I teach C# at a local community college during my Thursday evenings. One of the things that happens, especially at community colleges, is that you get all sorts of different people from various walks of life. These walks of life do not always come with laptops with i5 processors and 4gb of ram and 500gb hard drives. These students only have access to library computers, or computers that are left over from a previous owner that are good for little else than checking email and browsing the internet. Which in this day and age is perfect for doing hardcore development, but you have to do it in the CLOUD!
This Blog article is written for the explicitly purpose of getting functional with Tasks, Async, Await and the Dispatcher. It will discuss the basics as well as a few more advanced scenarios. It is not intended in anyway to provide in depth knowledge on any of these topics, it is purely a How-To in 10 minutes Guide written with minimal technical jargon. The article does however assume some programming knowledge with C# and Xaml.
I can’t believe it is here, the fourth and final part of this series. After completing this part, you will be not only competent and functional at doing Animations, but you will have completed all 4 parts and be well on your way to being a great developer utilizing XAML.
Welcome to Windows 8, Introduction to XAML – Part 3. In the last 2 parts we covered the Blank Application, Layout, Controls, Content and some code behind. In this part I will delve a little deeper into Styles and Resources.
So this is a solution to the challenge from Windows 8 Introduction to Xaml – Part 2. Hopefully you were all able to get it in some fashion. What I am posting below is just a single answer to the problem. I would not recommend using this solution as a basis for how to code, I broke it out in an attempt to demonstrate each point as best as possible in a way that is conducive to your learning.
To start, lets recap what was covered in Part 1. In Part 1, we discussed what you get out of the box in the Blank App Template from a XAML standpoint. This included MainPage.xaml, App.xaml, and StandardStyles.xaml as well as how they interact together through extensions. In this part of the series I will be covering layout, content, controls and some of their properties and attributes. So start by loading up the Blank App with the single button from the previous part, and lets start there. Be sure to save your progress as we will be using this App throughout the entirety of the series.
This particular blog article series aims to get readers understanding XAML on a functional level. The primary focus will be Layout, Content, Control, Styling, Animation, Resources, a little theory and some code behind. The assumption I am making of my readers is that you know how to open Visual Studio, create a project and navigate the IDE. I am gearing this article specifically for people brand new to XAML and C#.
I have been seeing a few blog posts which are discussing RequireJS usage with Windows 8/WinJS; however, I have not seen any posts with working samples so far. I want to take this blog article a step further and provide a fully functioning sample.