update introduction

This commit is contained in:
Nomango 2017-12-15 23:15:06 +08:00
parent c4f0555bec
commit 1fe020a618
4 changed files with 31 additions and 17 deletions

View File

@ -1,5 +1,25 @@
# Easy2D
Easy2D 为 C++ 初学者提供 Windows 桌面游戏的开发框架简单易学容易上手。你只需要为游戏场景中的每一个元素设置它们的属性Easy2D 就可以自动处理它们,让一切变得井然有序。
## Introduction
Easy2D is a open-source 2D C++ game engine, only support win32 platform.
Easy2D-Core is a game irrelevant lib that provide a lot useful tools can be used in other projects. I made a lot wheels to make cpp simpler to use.
Easy2D is still under heavy developing. I write it and use it to developy my own tiny games.
More docs and examples will be added later.
中文官网:[www.easy2d.cn](http://www.easy2d.cn)
## Features
* Scene management
* Transitions between scenes
* Actions behaviours
* Buttons and menus
* Texture atlas support
* Audio support
* Custom data storage
* Direct2D based
## Next plan
* Physical engine
* Particle system
## Contact
* Website: www.easy2d.cn
* QQ Group: 608406540

View File

@ -97,8 +97,8 @@ void e2d::ENode::_update()
{
this->_sortChildren();
UINT size = m_vChildren.size();
UINT i;
size_t size = m_vChildren.size();
size_t i;
for (i = 0; i < size; i++)
{
auto child = m_vChildren[i];
@ -597,7 +597,7 @@ std::vector<e2d::ENode*>& e2d::ENode::getChildren()
return m_vChildren;
}
UINT e2d::ENode::getChildrenCount() const
size_t e2d::ENode::getChildrenCount() const
{
return m_vChildren.size();
}
@ -636,8 +636,8 @@ bool e2d::ENode::removeChild(ENode * child)
if (child)
{
UINT size = m_vChildren.size();
for (UINT i = 0; i < size; i++)
size_t size = m_vChildren.size();
for (size_t i = 0; i < size; i++)
{
if (m_vChildren[i] == child)
{
@ -668,8 +668,8 @@ void e2d::ENode::removeChild(const EString & childName)
// ¼ÆËãÃû³Æ Hash Öµ
unsigned int hash = childName.hash();
UINT size = m_vChildren.size();
for (UINT i = 0; i < size; i++)
size_t size = m_vChildren.size();
for (size_t i = 0; i < size; i++)
{
auto child = m_vChildren[i];
if (child->m_nHashName == hash && child->m_sName == childName)

View File

@ -1,26 +1,19 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.12
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Easy2D", "Easy2D.vcxproj", "{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x64.ActiveCfg = Debug|x64
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x64.Build.0 = Debug|x64
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x64.Deploy.0 = Debug|x64
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x86.ActiveCfg = Debug|Win32
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x86.Build.0 = Debug|Win32
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Debug|x86.Deploy.0 = Debug|Win32
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Release|x64.ActiveCfg = Release|x64
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Release|x64.Build.0 = Release|x64
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Release|x86.ActiveCfg = Release|Win32
{FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF}.Release|x86.Build.0 = Release|Win32
EndGlobalSection

View File

@ -49,6 +49,7 @@
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">