Friday, November 19, 2010

My new Website

Hello people !

After being under development for 7 months, my new website is finally ready :D
Check it out :





Do post your suggestions and comments either through the site's Feedback Box or here in the comments.
Thanq for visiting

Monday, November 15, 2010

A dream trip to the NASSCOM Animation & Gaming Conclave 2010

Hello friends! I would like to share with you one of my biggest achievements so far. RICKSHAW BRAWL, as I mentioned in my earlier post, was selected among the top 10 finalists in the Intel Level Up 2010 India series and was invited to be showcased at one of the biggest events for game developers and animators in India – NASSCOM Animation & Gaming Conclave 2010 in Hyderabad. And yes, I was able to make it to the event after crossing so many hurdles :P thanx to my friend Ankit :)



The first day of the summit was for Animators. Unfortunately I couldn’t attend it. Nevertheless, we were there on the 2nd Day. The day was packed with lots of interesting presentations by speakers from leading organisations like Ubisoft, Adobe, Intel, Kreeda Games and many more. We attended many of them and it was really great to hear such inspiring minds. Though, we were in the game lounge playing games most of the time :)

The final event – “The Gaming Super Pitch”, where I had to present our game RICKSHAW BRAWL in front of the Judges, started at around 5:30 pm. After all the game presentations and a lot of questioning by the judges and audience, it was finally time for the results. And I am really happy to announce that RICKSHAW BRAWL won the prize for THE BEST ART & DESIGN. We won a laptop from DELL. So well done DC Animations. You guyz really did a great job. Wish you were there with me.






It was such an awesome experience for me. I got to talk with some really great people from EA, KREEDA GAMES, INTEL and many more. I had never got such an exposure and this event turned out to be a great opportunity for me to showcase my work and interact with such cool people from all over India.

Once again thanx to Intel for the wonderful opportunity, thanx to Ankit for coming with me. And last but not the least, well done team. Awesome work !!

RICKSHAW BRAWL ROCKS !!!

Friday, November 12, 2010

Bouncy - Silverlight Version

Heres a Silverlight version of the game BOUNCY. I made just to get the feel of Silverlight, Blend and C#.

The logic and coding is almost the same with a bit of differences from Actionscript 3.0.

You can check out the BOUNCY - AS 3.0 Tutorial from my earlier post for comparison.






Silverlight Code :
Class : MainPage

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Bouncy
{
public partial class MainPage : UserControl
{
double G;
double E;
double epsilon;
Ball ball;
double rightWallX;
double leftWallX;
public int score;

public MainPage()
{
// Required to initialize variables
InitializeComponent();
init();
CompositionTarget.Rendering += onEnterFrame;
}

void init(){
this.G = 0.27;
this.E = 0.65;
this.epsilon = 0.5;
ball = new Ball(this);
Canvas.SetLeft(ball, 275);
Canvas.SetTop(ball, 200);
LayoutRoot.Children.Add(ball);
score = 0;
this.scoreTxt.Text = score + "";
}

void onEnterFrame(object sender, EventArgs e){
//if(Math.Abs(ball.speedY)<0.01)
// collision - ground
if(Canvas.GetTop(ball)+ball.speedY > 300){
if(score != 0){
score = 0;
this.scoreTxt.Text = score + "";
}
if(Math.Abs(ball.speedY)>this.epsilon){
ball.speedY = -ball.speedY*E;
// add friction when on ground
ball.speedX *= 0.9;
}
else{
ball.speedY=0;
//Canvas.SetTop(ball, 300);
}
}
else if(Canvas.GetTop(ball) < 299){
ball.speedY += G;
}

// collision - right wall n left wall
if(Canvas.GetLeft(ball) > 510){
ball.speedX = -ball.speedX;
}
else if(Canvas.GetLeft(ball) < 40){
ball.speedX = -ball.speedX;
}

/*if(ball.speedY != 0){
ball.speedY += G;
}*/
if(ball.speedY == 0){
// add friction when on ground
ball.speedX *= 0.9;
}
Canvas.SetLeft(ball, Canvas.GetLeft(ball)+ball.speedX);
Canvas.SetTop(ball,Canvas.GetTop(ball)+ball.speedY);
}

public void increaseScore(){
score++;
scoreTxt.Text = score + "";
}
}
}


Class : Ball

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Bouncy
{
public partial class Ball : UserControl
{

public double speedX;
public double speedY;

MainPage par;

public Ball(MainPage p)
{
// Required to initialize variables
InitializeComponent();
speedX = speedY = 0;
par = p;
}

public void move(){
// move
Canvas.SetLeft(this,Canvas.GetLeft(this)+this.speedX);
Canvas.SetTop(this,Canvas.GetTop(this)+this.speedY);
}

private void Ellipse_MouseLeftButtonDown(object sender,
System.Windows.Input.MouseButtonEventArgs e)
{
// TODO: Add event handler implementation here.
// increase score
par.increaseScore();
speedY = -6;
Random r = new Random();
speedX = r.NextDouble() * 14 - 7;
}
}
}

Thursday, November 11, 2010

Rickshaw Brawl done for Intel Level Up 2010

Hello all! Blogging after such a long time. The past month was really tight packed with lots of tasks to do, one of which was the INTEL LEVEL UP 2010. Well, for those of you who don't know what that is...Its a game development competition held by Intel every year. And fortunately one of the Idea that I submitted, got selected for the Demo Round. Credits to Sagar bhaiya for the awesome idea. That game is - RICKSHAW BRAWL.



I, along with my animator friend Ravi and his team, have been busy developing the game for the past 1 month. This has been my first experience with 3D Game development (actually finished a game :P) after thinking of jumping to 3D Game dev from Flash for a long time. And I must say, it was pretty good for a first one. :)

Moreover, as a boost-up, our Game Rickshaw Brawl has been selected among the TOP 10 games in the LEVEL UP - India Series and invited to be showcased at the NASSCOM Animation & Gaming Summit 2010 in Hyderabad. Cheers to the whole team for that !!
Well, its still a question if I'll be able to attend it or not :P Lets see.

The Game would be available for download in the coming days, probably on my new site. So keep watching the Blog for further announcements.

The final international results for the LEVEL UP will be out in December. So pray for us :)

And Happy Diwali !! (a little late here)