update Simples project

update Simples project

update README.md
This commit is contained in:
Nomango 2019-08-05 13:24:27 +08:00
parent c3cb6dc07f
commit 4a012c3104
12 changed files with 61 additions and 9 deletions

11
.gitignore vendored
View File

@ -1,3 +1,4 @@
# Build folders
build/ build/
output/ output/
@ -5,6 +6,10 @@ x64/
Debug/ Debug/
Release/ Release/
# Application folders
.vs
.vscode
# vs2010 # vs2010
ipch/ ipch/
*.opensdf *.opensdf
@ -14,11 +19,11 @@ ipch/
*.user *.user
*.lnk *.lnk
.vs
.vscode
# NuGet packages # NuGet packages
packages/ packages/
!*.dll !*.dll
!*.lib !*.lib
# Resources bin
*.aps

View File

@ -3,6 +3,9 @@
# Kiwano Game Engine # Kiwano Game Engine
[![Build status](https://ci.appveyor.com/api/projects/status/frqh09om9ldaklr9/branch/master?svg=true)](https://ci.appveyor.com/project/Nomango/kiwano/branch/master) [![Build status](https://ci.appveyor.com/api/projects/status/frqh09om9ldaklr9/branch/master?svg=true)](https://ci.appveyor.com/project/Nomango/kiwano/branch/master)
[![GitHub release](https://img.shields.io/github/release/nomango/kiwano)](https://github.com/Nomango/Kiwano/releases/latest)
[![GitHub All Releases](https://img.shields.io/github/downloads/nomango/kiwano/total)](https://github.com/Nomango/Kiwano/releases)
[![GitHub license](https://img.shields.io/github/license/nomango/kiwano)](https://github.com/Nomango/Kiwano/blob/master/LICENSE)
## Introduction ## Introduction
Kiwano is a open-source 2D C++ game engine, only support win32 platform. Kiwano is a open-source 2D C++ game engine, only support win32 platform.

View File

@ -1,4 +1,4 @@
version: 1.0.{build} version: 0.9.{build}
configuration: configuration:
- Debug - Debug
- Release - Release

BIN
logo/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
logo/icon_text.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

BIN
samples/Samples/Samples.rc Normal file

Binary file not shown.

View File

@ -112,6 +112,7 @@
<ClInclude Include="Demo3.h" /> <ClInclude Include="Demo3.h" />
<ClInclude Include="Demo4.h" /> <ClInclude Include="Demo4.h" />
<ClInclude Include="Demo5.h" /> <ClInclude Include="Demo5.h" />
<ClInclude Include="resource.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\kiwano-audio\kiwano-audio.vcxproj"> <ProjectReference Include="..\..\kiwano-audio\kiwano-audio.vcxproj">
@ -130,6 +131,12 @@
<ItemGroup> <ItemGroup>
<Xml Include="res\index.xml" /> <Xml Include="res\index.xml" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ResourceCompile Include="Samples.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="..\..\logo\icon.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">
</ImportGroup> </ImportGroup>

View File

@ -22,16 +22,36 @@
<ClInclude Include="common.h"> <ClInclude Include="common.h">
<Filter>src</Filter> <Filter>src</Filter>
</ClInclude> </ClInclude>
</ItemGroup> <ClInclude Include="resource.h">
<ItemGroup> <Filter>resources</Filter>
<None Include="res\index.json" /> </ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Filter Include="src"> <Filter Include="src">
<UniqueIdentifier>{4460eeec-9e2f-46b6-909a-5ff4443075ce}</UniqueIdentifier> <UniqueIdentifier>{4460eeec-9e2f-46b6-909a-5ff4443075ce}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="resources">
<UniqueIdentifier>{04b65e7e-f0ce-4b83-a73e-501913daf790}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Xml Include="res\index.xml" /> <Xml Include="res\index.xml">
<Filter>resources</Filter>
</Xml>
</ItemGroup>
<ItemGroup>
<None Include="res\index.json">
<Filter>resources</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Image Include="..\..\logo\icon.ico">
<Filter>resources</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Samples.rc">
<Filter>resources</Filter>
</ResourceCompile>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -5,6 +5,7 @@
#include "Demo3.h" #include "Demo3.h"
#include "Demo4.h" #include "Demo4.h"
#include "Demo5.h" #include "Demo5.h"
#include "resource.h"
namespace namespace
{ {
@ -40,7 +41,7 @@ public:
// 使用 HttpClient 组件 // 使用 HttpClient 组件
Use(HttpClient::Instance()); Use(HttpClient::Instance());
Options options(L"KiwanoʾÀý³ÌÐò", WINDOW_WIDTH, WINDOW_HEIGHT); Options options(L"KiwanoʾÀý³ÌÐò", WINDOW_WIDTH, WINDOW_HEIGHT, MAKEINTRESOURCE(IDI_ICON1));
Init(options); Init(options);
} }

View File

@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ 生成的包含文件。
// 供 Samples.rc 使用
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif