Skip to content
Snippets Groups Projects
Commit c2095169 authored by Yli-Tainio Janne Sakri Juhani's avatar Yli-Tainio Janne Sakri Juhani
Browse files

pelin koodi

parent b68cd33a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "kolikkogoblin", "kolikkogoblin\kolikkogoblin.csproj", "{54739405-566E-4885-8D6B-108224D57F2F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{54739405-566E-4885-8D6B-108224D57F2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{54739405-566E-4885-8D6B-108224D57F2F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{54739405-566E-4885-8D6B-108224D57F2F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{54739405-566E-4885-8D6B-108224D57F2F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
#endregion
namespace kolikkogoblin
{
/// <summary>
/// The main class.
/// </summary>
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
using var game = new kolikkogoblin();
game.Run();
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using Jypeli;
using Jypeli.Assets;
using Jypeli.Controls;
using Jypeli.Widgets;
namespace kolikkogoblin;
/// @author Omanimi
/// @version 16.10.2023
/// <summary>
///
/// </summary>
public class kolikkogoblin : PhysicsGame
{
public override void Begin()
{
// Kirjoita ohjelmakoodisi tähän
PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
}
}
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jypeli.NET" Version="11.*"/>
<PackageReference Include="Jypeli.FarseerPhysics.NET" Version="2.*"/>
</ItemGroup>
</Project>
ohj1ht @ b68cd33a
Subproject commit b68cd33a33543c7d8c58ab603c7307c67777ea63
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment