Mostrando postagens com marcador xna. Mostrar todas as postagens
Mostrando postagens com marcador xna. Mostrar todas as postagens

quinta-feira, 7 de julho de 2011

Competição E-games do Senac

 O e-games é um concurso cultural que promove o desenvolvimento de jogos eletrônicos (vulgo game para os íntimos) e está em sua 3º edição. Recomendo participar pela experiência, visibilidade e principalmente diversão.
Segue uma parte das regras de participação e os prêmios.


e-Games - Concurso de Desenvolvimento de Jogos Digitais do Senac São Paulo (3ª edição)
Mais informações do evento e todo o regulamento consta no site e-games
Participantes:
Poderão participar do e-Games pessoas físicas maiores de 14 (quatorze) anos, com cidadania brasileira e residentes em todo o território nacional, individualmente ou em equipes com até 3 (três) integrantes, com qualquer nível de escolaridade e atuando em qualquer área do conhecimento.

Os participantes devem concorrer com apenas 1 (uma) única inscrição e com jogos que ainda não concorreram ao e-Games em edições passadas. Os jogos e seus documentos auxiliares deverão ser desenvolvidos obrigatoriamente em língua portuguesa. Caso o participante tenha feito sua inscrição individualmente, não deverá também fazê-la como integrante de uma equipe e vice-versa.

Categorias:
A participação no e-Games deverá acontecer de acordo com as seguintes categorias:

5.1. Categoria Vídeo Game & PC
Os jogos desta categoria devem ser obrigatoriamente criados para rodar em uma das seguintes plataformas:

·         PC - Windows Vista
·         PC – Windows 7
·         Video Game - XBOX 360

Eles podem ser desenvolvidos utilizando qualquer tecnologia, como por exemplo:

·         XNA
·         C
·         C++
·         Flash
·         Java
·         Silverlight


5.2. Categoria Mobile
Os jogos desta categoria devem ser obrigatoriamente criados para rodar em uma das seguintes plataformas:

·         Mobile – Iphone
·         Mobile – Windows Mobile 6.5
·         Mobile – Windows Phone 7.0

Eles podem ser desenvolvidos utilizando qualquer tecnologia, como por exemplo:

·         XNA
·         C
·         C++
·         Flash
·         Java
·         Silverlight


5.3. Categoria Jogando na Nuvem
Para esta categoria os jogos podem ser criados em qualquer linguagem e podem rodar em qualquer plataforma. A única exigência é que o jogo tenha uma integração com Windows Azure, utilizando a plataforma de Nuvem da Microsoft, o que pode ou não contemplar SQL Azure.

Premiação:

1° lugar – Categoria Vídeo Game & PC
XBOX  360 
Troféu e-Games 2011

1º lugar – Categoria Mobile
 Ipad 2 
Troféu e-Games 2011

1º lugar – Categoria Jogando na Nuvem
XBOX com Kinect
Troféu e-Games 2011

2° e 3º lugares de todas as categorias
Troféu e-Games 2011
Livro da Editora Senac  

domingo, 20 de fevereiro de 2011

XNA Adventures: Building a Sprite Class

Hi everybody!
After some time playing with XNA I decided to start spreading what I know so others don't need to suffer in some problems and can enjoy as much or even more than I'm enjoying play with it.
In this first tutorial I'll show you something very basic that is a simple base Sprite class that you can expand or use in any project (I'll use it in my next tutorial to show 2D animation).

Requirements:
Visual Studio 2010 or 2008; (I'm using VS2010)
XNA 4.0 or 3.x; (I'm using 4.0 so somethings might need changes, just ask me if you got any problems ok?)
Start by creating a new windows game project in visual studio then create a new class named Sprite. This class will be the base for any sprite (i.e. char sprite, life sprite, background and so on) that you create so don't add any specific logic here.

A sprite needs a texture (the image), a position, a size, a scale and his asset name. Let's add them as attributes

The properties are now in their place but we don't set any of them, we're going to do this using two methods: Rescale and LoadContent
-Rescale: This method will verify if the texture exists and then will rescale the image trough Size property; -LoadContent: This method will load our texture and rescale the image properly calling Rescale.

Ok almost there, we just need to draw our sprite and update it so it'll be prepared to future movement input.
To achieve that we will add two drawing methods and one update method.
-Draw: Use a SpriteBatch.Draw method to draw our texture in the screen;
-Update: Change position using sprite speed and direction and the game time.
The drawing method should be like this

Basically the parameters we're passing to SpriteBatch.Draw are:
-Texture: _spriteTexture;
-Position: Position;
-SourceRectangle: sourceRectangle; This represents the area of your image that actually will be draw to the screen, everything that is not inside this rectangle will be ignored.
-Color: Color.White; This is the a color to tint your sprite. Use white if you don't want to add any color layer to your image.
-Rotation: 0.0f;
-Origin:Your sprite origin, in this case it will be upper-left corner (0,0).
-Scale:Scale;
-SpriteEffects: flip your image here or use none;
-LayerDepth: xna draw textures in layers, use 0 so xna organize the layers or specify a number to set your texture layer;
To finish our Sprite class we only need an update method

From here you can change and adapt it as you desire.
If you just want to test it go on and change your Game class with the following code

That's it guys!

quinta-feira, 29 de outubro de 2009

Good Bye PopFly

I've runned to my game at popfly today only to discover that Popfly Beta doesn't exists anymore, that makes me very sad....
PopFly Blog

For those who share the passion for making games, please try XNA,KODU, GameBuilder at NetBeans with Java Programming language or just C++/C#/Java games in general at GameDev, this good site for beginners and seniors at game developing =D.

Good Bye PopFly rest in peace....XD