Changeset 17

User picture

Author: darkantoine

(2010/03/20 15:02) About 2 years ago


  

Affected files

Updated ProjetPierre/ProjetPierre.csproj Download diff

1617
3
  <PropertyGroup>
3
  <PropertyGroup>
4
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
    <ProductVersion>9.0.30729</ProductVersion>
6
    <ProductVersion>9.0.21022</ProductVersion>
7
    <SchemaVersion>2.0</SchemaVersion>
7
    <SchemaVersion>2.0</SchemaVersion>
8
    <ProjectGuid>{1CCA53E3-2E4E-4E01-AE31-24A59B71AA3F}</ProjectGuid>
8
    <ProjectGuid>{1CCA53E3-2E4E-4E01-AE31-24A59B71AA3F}</ProjectGuid>
9
    <OutputType>Exe</OutputType>
9
    <OutputType>Exe</OutputType>
...
...
48
    <Compile Include="Monde.cs" />
48
    <Compile Include="Monde.cs" />
49
    <Compile Include="Program.cs" />
49
    <Compile Include="Program.cs" />
50
    <Compile Include="Properties\AssemblyInfo.cs" />
50
    <Compile Include="Properties\AssemblyInfo.cs" />
51
    <Compile Include="Zone.cs" />
51
  </ItemGroup>
52
  </ItemGroup>
52
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
54
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 

Added RPG/Character.cs

Show contents

Updated RPG/Content/Content.contentproj Download diff

1617
58
      <Processor>TextureProcessor</Processor>
58
      <Processor>TextureProcessor</Processor>
59
    </Compile>
59
    </Compile>
60
  </ItemGroup>
60
  </ItemGroup>
61
  <ItemGroup>
62
    <Compile Include="perso.jpg">
63
      <Name>perso</Name>
64
      <Importer>TextureImporter</Importer>
65
      <Processor>TextureProcessor</Processor>
66
    </Compile>
67
  </ItemGroup>
61
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets"
/>
68
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets"
/>
62
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
69
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
63
       Other similar extension points exist, see Microsoft.Common.targets.
70
       Other similar extension points exist, see Microsoft.Common.targets.

Updated RPG/Display.cs Download diff

1617
12
12
13
13
14
14
15
namespace IncredibleM
15
namespace RPG
16
{
16
{
17
    class Display
17
    class Display
18
    {
18
    {

Updated RPG/DisplayObject.cs Download diff

1617
8
using Microsoft.Xna.Framework.Storage;
8
using Microsoft.Xna.Framework.Storage;
9
9
10
10
11
namespace IncredibleM
11
namespace RPG
12
{
12
{
13
    class DisplayObject
13
    class DisplayObject
14
    {
14
    {

Updated RPG/Game1.cs Download diff

1617
19
19
20
#endregion
20
#endregion
21
21
22
namespace IncredibleM
22
namespace RPG
23
{
23
{
24
    /// <summary>
24
    /// <summary>
25
    /// This is the main type for your game
25
    /// This is the main type for your game
...
...
88
  
88
  
89
89
90
            //DisplayObject balle2 = new DisplayObject(Content.Load<Texture2D>("e"));
90
            //DisplayObject balle2 = new DisplayObject(Content.Load<Texture2D>("e"));
91
92
           DisplayObject perso= new DisplayObject(Content.Load<Texture2D>("perso"));
93
    
91
           DisplayObject balle2 = new DisplayText("Hello World", Font1);
94
           DisplayObject balle2 = new DisplayText("Hello World", Font1);
92
            balle2.Position = new Vector2(display.viewportRect.Width/3, display.viewportRect.Height/3);
95
            balle2.Position = new Vector2(display.viewportRect.Width/3, display.viewportRect.Height/3);
93
96

Updated RPG/GameObject.cs Download diff

1617
4
using System.Text;
4
using System.Text;
5
using Microsoft.Xna.Framework;
5
using Microsoft.Xna.Framework;
6
6
7
namespace IncredibleM
7
namespace RPG
8
{
8
{
9
    class GameObject
9
    class GameObject
10
    {
10
    {

Added RPG/Globals.cs

Show contents

Updated RPG/Program.cs Download diff

1617
1
using System;
1
using System;
2
2
3
namespace IncredibleM
3
namespace RPG
4
{
4
{
5
    static class Program
5
    static class Program
6
    {
6
    {

Updated RPG/RPG.csproj Download diff

1617
70
    <Reference Include="System">
70
    <Reference Include="System">
71
      <Private>False</Private>
71
      <Private>False</Private>
72
    </Reference>
72
    </Reference>
73
    <Reference Include="System.Data" />
73
    <Reference Include="System.Xml">
74
    <Reference Include="System.Xml">
74
      <Private>False</Private>
75
      <Private>False</Private>
75
    </Reference>
76
    </Reference>
...
...
83
    </Reference>
84
    </Reference>
84
  </ItemGroup>
85
  </ItemGroup>
85
  <ItemGroup>
86
  <ItemGroup>
87
    <Compile Include="Character.cs" />
86
    <Compile Include="Display.cs" />
88
    <Compile Include="Display.cs" />
87
    <Compile Include="DisplayObject.cs" />
89
    <Compile Include="DisplayObject.cs" />
88
    <Compile Include="GameObject.cs" />
90
    <Compile Include="GameObject.cs" />
91
    <Compile Include="Globals.cs" />
89
    <Compile Include="Properties\AssemblyInfo.cs" />
92
    <Compile Include="Properties\AssemblyInfo.cs" />
90
    <Compile Include="Program.cs" />
93
    <Compile Include="Program.cs" />
91
    <Compile Include="Game1.cs" />
94
    <Compile Include="Game1.cs" />
95
    <Compile Include="Zone.cs" />
92
  </ItemGroup>
96
  </ItemGroup>
93
  <ItemGroup>
97
  <ItemGroup>
94
    <Content Include="Game.ico" />
98
    <Content Include="Game.ico" />

Added RPG/Zone.cs

Show contents