Changeset 9689


Ignore:
Timestamp:
2018-06-08 11:07:10 (18 months ago)
Author:
dasilven
Message:
 
Location:
2018/23/DANIELS
Files:
159 added
10 edited

Legend:

Unmodified
Added
Removed
  • 2018/23/DANIELS/drdodger/drdodger/drdodger.cs

    r9668 r9689  
    2929    { 
    3030        // Kirjoita ohjelmakoodisi tähän 
    31         MultiSelectWindow aloitus = new MultiSelectWindow("choose gamemode (offline)", 
    32       "1 player (singleplayer)", "2 players (multiplayer)"); 
    33         aloitus.AddItemHandler(0, players1); 
    34         aloitus.AddItemHandler(1, players2); 
    35         Add(aloitus); 
     31         
    3632        MultiSelectWindow infoz = new MultiSelectWindow("fullscreen", 
    37       "fullscreen on", "fullscreen off", "ok"); 
     33      "fullscreen on", "fullscreen off"); 
    3834        infoz.AddItemHandler(0, fullscreenon); 
    3935        infoz.AddItemHandler(1, fullscreenoff); 
    4036        Add(infoz); 
     37 
    4138 
    4239 
     
    9895        AddCollisionHandler(player2, enemy3, Died); 
    9996 
    100         Level.Size = Screen.Size; 
    101         Level.CreateBorders(1.02, true, Color.Black); 
     97 
    10298        Level.BackgroundColor = Color.Black; 
    10399 
    104100        AsetaOhjaimet(); 
     101    } 
     102    void playersamount() 
     103    { 
     104        MultiSelectWindow aloitus = new MultiSelectWindow("choose gamemode (offline)", 
     105      "1 player (singleplayer)", "2 players (multiplayer)"); 
     106        aloitus.AddItemHandler(0, players1); 
     107        aloitus.AddItemHandler(1, players2); 
     108        Add(aloitus); 
    105109    } 
    106110    void AsetaOhjaimet() 
     
    502506    void gethelp() 
    503507    { 
    504         MultiSelectWindow info = new MultiSelectWindow("nuolinapit= pelaaja1 liiku" + " w.a.s.d= pelaaja2 liiku" + "fullscreen changes restarts game", 
     508        MultiSelectWindow info = new MultiSelectWindow("nuolinapit= pelaaja1 liiku" + " w.a.s.d= pelaaja2 liiku", 
    505509      "ok"); 
    506510        info.AddItemHandler(0, null); 
     
    527531    { 
    528532        IsFullScreen = true; 
     533        playersamount(); 
     534        Level.Background.Image = bgcos; 
     535        Level.Background.Size = Screen.Size; 
     536        Level.Size = Screen.Size; 
     537        Level.CreateBorders(); 
    529538    } 
    530539    void fullscreenoff() 
    531540    { 
    532541        IsFullScreen = false; 
    533         SetWindowSize((int) Level.Width,(int) Level.Height); 
     542        SetWindowSize(1000, 750); 
     543        playersamount(); 
     544        Level.Size = Screen.Size; 
     545        Level.CreateBorders(1.02, true, Color.Black); 
     546        Level.BackgroundColor = Color.Black; 
    534547    } 
    535548    void spawnmegaxpcheat() 
  • 2018/23/DANIELS/drdodger/drdodger/drdodger.csproj

    r9580 r9689  
    1111    <AppDesignerFolder>Properties</AppDesignerFolder> 
    1212    <RootNamespace>drdodger</RootNamespace> 
    13     <AssemblyName>drdodger</AssemblyName> 
     13    <AssemblyName>DrDodger</AssemblyName> 
    1414    <FileAlignment>512</FileAlignment> 
    1515    <MonoGamePlatform>Windows</MonoGamePlatform> 
     
    1717    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 
    1818    <TargetFrameworkProfile /> 
     19    <IsWebBootstrapper>false</IsWebBootstrapper> 
     20    <PublishUrl>C:\MyTemp\pelikurssi2018\viikko23\DANIELS\danelinpeli\</PublishUrl> 
     21    <Install>true</Install> 
     22    <InstallFrom>Disk</InstallFrom> 
     23    <UpdateEnabled>false</UpdateEnabled> 
     24    <UpdateMode>Foreground</UpdateMode> 
     25    <UpdateInterval>7</UpdateInterval> 
     26    <UpdateIntervalUnits>Days</UpdateIntervalUnits> 
     27    <UpdatePeriodically>false</UpdatePeriodically> 
     28    <UpdateRequired>false</UpdateRequired> 
     29    <MapFileExtensions>true</MapFileExtensions> 
     30    <ApplicationRevision>3</ApplicationRevision> 
     31    <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 
     32    <UseApplicationTrust>false</UseApplicationTrust> 
     33    <PublishWizardCompleted>true</PublishWizardCompleted> 
     34    <BootstrapperEnabled>true</BootstrapperEnabled> 
    1935  </PropertyGroup> 
    2036  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 
     
    3854  </PropertyGroup> 
    3955  <PropertyGroup> 
    40     <ApplicationIcon>Icon.ico</ApplicationIcon> 
     56    <ApplicationIcon>drdodgericonicon.ico</ApplicationIcon> 
     57  </PropertyGroup> 
     58  <PropertyGroup> 
     59    <ManifestCertificateThumbprint>9482CA804049BB1955CCA6CC94B9129827F07206</ManifestCertificateThumbprint> 
     60  </PropertyGroup> 
     61  <PropertyGroup> 
     62    <ManifestKeyFile>drdodger_TemporaryKey.pfx</ManifestKeyFile> 
     63  </PropertyGroup> 
     64  <PropertyGroup> 
     65    <GenerateManifests>true</GenerateManifests> 
     66  </PropertyGroup> 
     67  <PropertyGroup> 
     68    <SignManifests>true</SignManifests> 
    4169  </PropertyGroup> 
    4270  <ItemGroup> 
     
    5987  </ItemGroup> 
    6088  <ItemGroup> 
     89    <Content Include="drdodgericonicon.ico" /> 
    6190    <Content Include="Icon.ico" /> 
    6291  </ItemGroup> 
    6392  <ItemGroup> 
    6493    <MonoGameContentReference Include="Content\Content.mgcb" /> 
     94  </ItemGroup> 
     95  <ItemGroup> 
     96    <None Include="drdodger_TemporaryKey.pfx" /> 
     97  </ItemGroup> 
     98  <ItemGroup> 
     99    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> 
     100      <Visible>False</Visible> 
     101      <ProductName>.NET Framework 3.5 SP1</ProductName> 
     102      <Install>false</Install> 
     103    </BootstrapperPackage> 
    65104  </ItemGroup> 
    66105  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 
  • 2018/23/DANIELS/drdodger/drdodger/obj/x86/Debug/drdodger.csproj.FileListAbsolute.txt

    r9668 r9689  
    3535C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\bin\Windows\Debug\Content\playercostumelov.xnb 
    3636C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\bin\Windows\Debug\Content\xpcostume2x.xnb 
     37C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\bin\Windows\Debug\DrDodger.exe.manifest 
     38C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\bin\Windows\Debug\DrDodger.application 
     39C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\obj\x86\Debug\DrDodger.exe.manifest 
     40C:\MyTemp\pelikurssi2018\viikko23\DANIELS\drdodger\drdodger\obj\x86\Debug\DrDodger.application 
Note: See TracChangeset for help on using the changeset viewer.