The code that is needed comes below:
Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts
Wednesday, 18 September 2013
Cascading Deletions in Entity Framework
The code that is needed comes below:
Friday, 8 March 2013
A simple Snake Game Tutorial in C# and WPF
Introduction
My effort is to try and explain some basic concepts of programming based on really simple words and examples. This article has been posted also on codeproject
Background
The main idea behind a snake game (as in most such games) is to "fool" the user into thinking that a series of frames is in reality a moving object. Such a concept is fabricated in my implementation. The "motion" effect is based on a series of
Timer events, each of which is "ticking" among specific intervals. The head of the snake is being drawn on a new position slightly misplaced to the direction of motion. The end of its tail is erased from our canvas, thus creating an illusion of motion.
Labels:
Basics,
C#,
game development,
graphics,
programming,
timer,
tutorial,
WPF,
XAML
Subscribe to:
Posts (Atom)