Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Project codename AndroRoll

Project AndroRoll is an Android game currently in development by me (Mihai Ungureanu) and Maxim Shnyrev using Unity3D version 4 and C# as the chosen scripting language.

Try the game here: http://gamejolt.com/games/puzzle/androroll-project/16067/

The above link leads to a WIP version which includes the following functions:
- ball movement
- level progression
- level select screen
- level completion screen
- pause feature (not shown in video but usable)
- see saws
- elevators (elevator script includes many functions such as 6 move directions, editable speed, editable movement distance, editable start/stop delay, loop, return to origin, audio and will be released soon as a free script on the Unity Store)
- tubes
- accelerator blocks
- disappearing platforms
- particle effects
- level finish block

The 1st level includes most of the assets and functions developed until now. The other levels exist purely to test and show the level progression function.

Space Simulator

Mihai Ungureanu , , , ,
MSpaceSim Space Simulation Game

MSpaceSim is a space simulation game I created as part of my coursework at the University of Worcester.

It was developed with the purpose of researching how elements of complex systems can be integrated in games and how these games can showcase their properties such as emergent behaviour. It can also be used to investigate the field of game based learning and specifically learning for complexity

While it is not as developed as I wanted to be due to lack of time and due to focusing on other projects, it is one that I want to work more on and ultimately turn it into a very interactive simulation game.

It was programmed in C# using Visual Studio 2010 and XNA Game Studio 4.0.

It features planetary interaction through gravity based on Newton’s Law of Universal Gravitation, calculating the velocity of each planet depending on initial velocity and gravitational pull.

I have chosen a simple collision model to fit with the available development time however I have plans to improve so that it will allow the simulation of planet forming and deforming through collision.

Source code available on request.

Y'arr finished with the Kinect


Here's a team project that went a bit away from the classic mouse and keyboard/controller that I have experienced throughout my work on game development.

This was the final project for one of my university modules at the University of Worcester, which is a volley-ball game programmed in C# using a modified XNA Framework and integrating Kinect controls with the Microsoft SDK.

I can only say that I’m more than happy on how this turned out and I had a lot of fun working on it as well as enjoying to work with relatively new technology and learn something relevant to today’s game industry.

Here’s a video demonstration of how it works, put nicely together by two of my team-mates:


As by the time me and my team-mates started working on this project we already had quite extensive knowledge of what each of us knows best in terms of game programming, we managed to split the workload in parts that would fit each of us and allows us to work simultaneously, without being slowed down in case one of us would lose pace.
My part consisted mostly in dealing with collision detection and response, the ball's physics, loading and displaying the graphics as well as occasionally helping my colleagues if they got stuck.
A fun fact about how we met the project requirements and why we have chosen the pirate theme is to do tightly with collision detection. Yes, it seems that in very odd cases, collision detection can dictate a game's direction. Or at least it did in our case.
We started initially with a plain VoleyBall theme for our game but we couldn't think about anything that would give a nice flavour to it. When we got to the point of creating the net we got slightly stuck at implementing our collision detection with a classic rectangular shaped net. This was caused by the modified XNA framework we were using, which was built to work better with physics simulation and collision between circular shaped objects. Due to this we brainstormed that making the game to be Pirate Volley we could use 3 circular shaped objects on top of each other for the net (the 3 barrels) and also have a whacky theme for our game. This way we managed to easily implement collision between the ball and the barrels which turned out to make the game more interesting that plain volleyball.


If you are interested in seeing the blogs of my team-mates, here's where to find them:

TSV to CSV Converter

Mihai Ungureanu , , ,
This is another application I made as part of my university course, aimed at experimenting with multi-threading and reading/writing text files. It has been created with C# in Visual Studio 2010 and uses Windows Forms Controls.

The application is used to convert Tab Separated Files (TSV) to Comma Separated Files (CSV), very useful for databases which require the latter but do not have an option of converting.

Programming topics used:
- Windows Forms
- String manipulation
- Threading
- Text file loading, reading and writing using StreamReader and StreamWriter objects
- Garbage collection/memory management
- Method delegation

Screenshot:

Source code available on request.

Notes

Mihai Ungureanu , , ,
Notes is a simple note/diary application I created as part of one of my university programming modules. It is written in C# using Visual Studio 2010. The purpose of the project was to build a more complex Windows Forms application that interacts with external files using the StreamReader and StreamWriter classes, as well as using system dialogs such as the Open File Dialog and Save File Dialog.

Features:
- save/open
- autosave
- autoload
- save reminder
- exit confirmation
- date setting
- character counter
- word counter

- title support

Programming topics used:
- events
- use of StreamReader and StreamWriter objects
- string manipulation
- Windows Forms
- Timer class
- looping
- conditional statements

Screenshot:

Source code available on request.

Advanced Dice

Mihai Ungureanu , ,
Small project done as part of Object-Oriented Programming university module with the purpose of beginning   simple Windows Forms applications development.
Written in C# using Visual Studio 2010.

Programming topics used:
- Windows Forms Applications
- random number generation
- object orientation
- events
- timers

Advanced Dice demo video:


Note: Source code available on request.

Tank Battle

Mihai Ungureanu , , ,
This is a 2 member team project I have worked on, as part of an university module which dealt with Object-Oriented Programming using C# in Visual Studio 2010.
It is based on a modified version of the XNA Game Studio 4.0 framework supplied by the module leader.
The requirement was to reproduce a Tank Battle game prototype from a given demo video, along with a configuration program to aid in setting up initial game conditions and player controls.

Graphics were not important for this project, the majority of them being supplied by the module leader.

The project uses various topics learned throughout the module such as:
- object orientation
- looping
- conditional statements
- enums
- game state control
- lists, stacks, arrays, queues
- video loading and playing
- 2D textures
- music and sound controls
- constructor and method overloading
- mathematical functions
- random numbers
- vectors
- text file loading, reading and writing
- Windows Forms Applications
- interface design

My contribution to the project consists mainly in making the entire Tank Battle Configurator including loading from and saving, to the configuration file from the main game, as well as work on the tank movement and collision detection between all the screen objects.


Tank Battle Configurator:


Tank Battle prototype gameplay:

Source code available on request.
 
Copyright 2013 Mihai Ungureanu