Commit 0a1dc2d0 authored by NanBatsu's avatar NanBatsu

First Commit

parents
{
"CurrentProjectSetting": "No Configurations"
}
\ No newline at end of file
{
"ExpandedNodes": [
"",
"\\src"
],
"SelectedNode": "\\src\\ofApp.h",
"PreviewInSolutionExplorer": false
}
\ No newline at end of file
File added
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "2DCollission", "2DCollission.vcxproj", "{7FD42DF7-442E-479A-BA76-D0022F99702A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openframeworksLib", "..\..\..\libs\openFrameworksCompiled\project\vs\openframeworksLib.vcxproj", "{5837595D-ACA9-485C-8E76-729040CE4B0B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.ActiveCfg = Debug|Win32
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.Build.0 = Debug|Win32
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|x64.ActiveCfg = Debug|x64
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|x64.Build.0 = Debug|x64
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.ActiveCfg = Release|Win32
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.Build.0 = Release|Win32
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|x64.ActiveCfg = Release|x64
{7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|x64.Build.0 = Release|x64
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.ActiveCfg = Debug|Win32
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.Build.0 = Debug|Win32
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|x64.ActiveCfg = Debug|x64
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|x64.Build.0 = Debug|x64
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.ActiveCfg = Release|Win32
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.Build.0 = Release|Win32
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|x64.ActiveCfg = Release|x64
{5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
This diff is collapsed.
<?xml version="1.0"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="src\ofApp.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\main.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxBaseGui.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxButton.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxColorPicker.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxGuiGroup.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxInputField.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxLabel.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxPanel.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxSlider.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxSliderGroup.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxGui\src\ofxToggle.cpp">
<Filter>addons\ofxGui\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxXmlSettings\src\ofxXmlSettings.cpp">
<Filter>addons\ofxXmlSettings\src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxXmlSettings\libs\tinyxml.cpp">
<Filter>addons\ofxXmlSettings\libs</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxXmlSettings\libs\tinyxmlerror.cpp">
<Filter>addons\ofxXmlSettings\libs</Filter>
</ClCompile>
<ClCompile Include="..\..\..\addons\ofxXmlSettings\libs\tinyxmlparser.cpp">
<Filter>addons\ofxXmlSettings\libs</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Filter Include="src">
<UniqueIdentifier>{d8376475-7454-4a24-b08a-aac121d3ad6f}</UniqueIdentifier>
</Filter>
<Filter Include="addons">
<UniqueIdentifier>{71834F65-F3A9-211E-73B8-DC85}</UniqueIdentifier>
</Filter>
<Filter Include="addons\ofxGui">
<UniqueIdentifier>{4F2A59AF-5F4E-704B-D067-EC13}</UniqueIdentifier>
</Filter>
<Filter Include="addons\ofxGui\src">
<UniqueIdentifier>{645E9533-4DCD-6179-1CDF-CB65}</UniqueIdentifier>
</Filter>
<Filter Include="addons\ofxXmlSettings">
<UniqueIdentifier>{877F005D-13E6-0592-1D97-F2E3}</UniqueIdentifier>
</Filter>
<Filter Include="addons\ofxXmlSettings\src">
<UniqueIdentifier>{CCB2AC63-49D2-977C-CFE8-AEAD}</UniqueIdentifier>
</Filter>
<Filter Include="addons\ofxXmlSettings\libs">
<UniqueIdentifier>{687714A8-1662-FA1C-261F-50F0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\ofApp.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxBaseGui.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxButton.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxColorPicker.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxGui.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxGuiGroup.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxGuiUtils.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxInputField.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxLabel.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxPanel.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxSlider.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxSliderGroup.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxGui\src\ofxToggle.h">
<Filter>addons\ofxGui\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxXmlSettings\src\ofxXmlSettings.h">
<Filter>addons\ofxXmlSettings\src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\addons\ofxXmlSettings\libs\tinyxml.h">
<Filter>addons\ofxXmlSettings\libs</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="icon.rc" />
</ItemGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
\ No newline at end of file
ofxGui
ofxXmlSettings
File added
File added
// Icon Resource Definition
#define MAIN_ICON 102
#if defined(_DEBUG)
MAIN_ICON ICON "icon_debug.ico"
#else
MAIN_ICON ICON "icon.ico"
#endif
 ofApp.cpp
2DCollission.vcxproj -> D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\bin\2DCollission_debug.exe
2 D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\libs\fmodex\lib\vs\Win32\
*EXTRA File 6018560 D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\bin\FreeImage.dll
1 D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\libs\FreeImage\lib\vs\Win32\
*EXTRA File 1266176 D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\bin\fmodex.dll
*EXTRA File 1312768 D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\bin\fmodexL.dll
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.28.29333:TargetPlatformVersion=10.0.18362.0:
Debug|Win32|D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\|
B^D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\2DCollission.vcxproj
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXBASEGUI.CPP
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXXMLSETTINGS\LIBS\TINYXMLERROR.CPP
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXBASEGUI.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXBUTTON.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXCOLORPICKER.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXGUIGROUP.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXINPUTFIELD.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXLABEL.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXPANEL.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXSLIDER.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXSLIDERGROUP.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXGUI\SRC\OFXTOGGLE.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXXMLSETTINGS\LIBS\TINYXML.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXXMLSETTINGS\LIBS\TINYXMLERROR.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXXMLSETTINGS\LIBS\TINYXMLPARSER.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\ADDONS\OFXXMLSETTINGS\SRC\OFXXMLSETTINGS.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\SRC\MAIN.CPP|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\SRC\OFAPP.CPP
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\ICON.RES|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\MAIN.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFAPP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBASEGUI.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBUTTON.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXCOLORPICKER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXGUIGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXINPUTFIELD.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXLABEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXPANEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDERGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXTOGGLE.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXXMLSETTINGS.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXML.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLERROR.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLPARSER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\LIBS\OPENFRAMEWORKSCOMPILED\LIB\VS\WIN32\OPENFRAMEWORKSLIB_DEBUG.LIB
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\ICON.RES|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\MAIN.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFAPP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBASEGUI.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBUTTON.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXCOLORPICKER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXGUIGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXINPUTFIELD.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXLABEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXPANEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDERGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXTOGGLE.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXXMLSETTINGS.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXML.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLERROR.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLPARSER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\LIBS\OPENFRAMEWORKSCOMPILED\LIB\VS\WIN32\OPENFRAMEWORKSLIB_DEBUG.LIB
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\ICON.RES|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\MAIN.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFAPP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBASEGUI.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXBUTTON.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXCOLORPICKER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXGUIGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXINPUTFIELD.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXLABEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXPANEL.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXSLIDERGROUP.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXTOGGLE.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\OFXXMLSETTINGS.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXML.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLERROR.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\OBJ\WIN32\DEBUG\TINYXMLPARSER.OBJ|D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\LIBS\OPENFRAMEWORKSCOMPILED\LIB\VS\WIN32\OPENFRAMEWORKSLIB_DEBUG.LIB
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\ICON.RC
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\ICON.RC
B^D:\PROGRAMMING\OPENFRAMEWORKS\OF_V0.11.0_VS2017_RELEASE\APPS\MYAPPS\2DCOLLISSION\ICON.RC
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>D:\Programming\OpenFrameworks\of_v0.11.0_vs2017_release\apps\myApps\2DCollission\bin\2DCollission_debug.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
\ No newline at end of file
#include "ofMain.h"
#include "ofApp.h"
//========================================================================
int main( ){
ofSetupOpenGL(1920,1080,OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp());
}
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
w = ofGetWidth();
h = ofGetHeight();
bg.set(w, h);
bg.setPosition(w/2, h/2, 0);
player.setPosition(200, 200, 0);
player.set(100, 100);
npc.setPosition(400, 400, 0);
npc.set(100, 100);
points = 0;
playerColor.r = 0;
playerColor.g = 0;
playerColor.b = 255;
preCol = player.getPosition();
}
//--------------------------------------------------------------
void ofApp::update(){
if (collide() == true) {
points++;
playerColor.r = 0;
playerColor.g = 255;
playerColor.b = 0;
player.setPosition(preCol.x, preCol.y, preCol.z);
}
else {
playerColor.r = 0;
playerColor.g = 0;
playerColor.b = 255;
}
//Velocity
player.setPosition(player.getX() + playerVel.x, player.getY() + playerVel.y, 0);
//PreColission
preCol = player.getPosition();
}
//--------------------------------------------------------------
void ofApp::draw(){
ofSetColor(100);
bg.draw();
ofSetColor(255, 0, 0);
npc.draw();
ofSetColor(playerColor);
player.draw();
ofDrawBitmapString("The points are: ",200, 100);
ofDrawBitmapString(points, 500, 100);
}
//--------------------------------------------------------------
void ofApp::keyPressed(int key){
if (key == 97)
{
playerVel.x = -0.5;
}
if (key == 119)
{
playerVel.y = -0.5;
}
if (key == 100)
{
playerVel.x = 0.5;
}
if (key == 115)
{
playerVel.y = 0.5;
}
if (key =='r')
{
resetR();
}
}
void ofApp::resetR() {
player.setPosition(200, 200, 0);
}
bool ofApp::collide() {
bool ret;
//Collission
if (player.getX() + player.getWidth() / 2 > npc.getX() - npc.getWidth() / 2&& player.getY() + player.getHeight() / 2 > npc.getY() - npc.getHeight() / 2&& player.getX() - player.getWidth() / 2 < npc.getX() + npc.getWidth() / 2&& player.getY() - player.getHeight() / 2 < npc.getY() + npc.getHeight() / 2){
ret = true;
playerVel.set(-playerVel.x, -playerVel.y, 0);
return ret;
}
else // no Collision
{
ret = false;
return ret;
}
}
//--------------------------------------------------------------
void ofApp::keyReleased(int key){
playerVel.y = 0;
playerVel.x = 0;
}
//--------------------------------------------------------------
void ofApp::mouseMoved(int x, int y ){
}
//--------------------------------------------------------------
void ofApp::mouseDragged(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mousePressed(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseReleased(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseEntered(int x, int y){
}
//--------------------------------------------------------------
void ofApp::mouseExited(int x, int y){
}
//--------------------------------------------------------------
void ofApp::windowResized(int w, int h){
}
//--------------------------------------------------------------
void ofApp::gotMessage(ofMessage msg){
}
//--------------------------------------------------------------
void ofApp::dragEvent(ofDragInfo dragInfo){
}
#pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int button);
void mouseReleased(int x, int y, int button);
void mouseEntered(int x, int y);
void mouseExited(int x, int y);
void windowResized(int w, int h);
void dragEvent(ofDragInfo dragInfo);
void gotMessage(ofMessage msg);
//Background
ofPlanePrimitive bg;
//Measurements
int w;
int h;
//Characters
ofPlanePrimitive player;
ofPlanePrimitive npc;
ofColor playerColor;
bool collide();
//Points
int points;
//Velocity
ofVec3f playerVel;
//Reset
void resetR();
//Pre Colision stuff
ofPoint preCol;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment