Texturer offsets and scale
Sorry fรถr being unclear. Suppose I have a big sprite for a large object that encapsule a bitmap like the following figure:
The thick frame is the sprite outline.
Now I want to use the same bitmap for a second smaller sprite like the following figure:
However, if I can not set an offset of the bitmap within the sprite the result will be like the following figure:
oxygine-sound
Hello,
I try compile on windows ox-sound with newest oxygine but i have lots of error.
Few of them was only old #include headers, after correct example compile successfull but crashing at sound lib initializng.
It is possible to get instruciton how to run ox-sound with newest version of oxygine?
oxygine-sound
Hi, ox-sound doesn't have any critical changes.
Check example. Is it working?
show me error
Texturer offsets and scale
You can't do it out of box. Maybe Polygon class will help you. check examples/demos/ TestPolygon
oxygine-sound
Yes, I building Example
.
I can correct this by remove oxygine/ from whole #include,
in case oxygine/actor I remove both
and I have this errors:
I can correct, this to log:: from logs:: + include cstdio but I have another error:
Android also doesn't work:
I have NDK properly configured, Hello World and Demo form oxygine examples compiles successfully on android and windows.
oxygine-sound
it is build error. Not runtime error.
Just update Everything to latest commit (master branch) including oxygine-sound
oxygine-sound
Based on newest SDL, oxygine-framework and oxygine-sound from github(master), I don't have code errors mentioned in previous post but last error still exists in Release mode.
VisualStudio version:
In debug moge I have assert:
logs:
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\proj.win32\Debug_v141_xp\SoundDemo.exe'. Symbols loaded.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\SDL2.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\pthreadVCE2.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\zlib.dll'. Module was built without symbols.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libcurl.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Wldap32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr100.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\ssleay32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libssh2.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\OpenAL32.dll'. Module was built without symbols.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Unloaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'
'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Unloaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110.dll'. Cannot find or open the PDB file.
000 build settings OX_DEBUG _DEBUG arch unknown
000 initialize oxygine
000 SDL build
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
013 creating window 960 640
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvoglv32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\nvoglv32.dll'
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvoglv32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Cannot find or open the PDB file.
The thread 0x469c has exited with code 0 (0x0).
The thread 0x2130 has exited with code 0 (0x0).
The thread 0x4980 has exited with code 0 (0x0).
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
The thread 0x30f8 has exited with code 0 (0x0).
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winsta.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
720 display size: 960 640
769 DebugActor::initialize
816 oxygine initialized
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dsound.dll'. Cannot find or open the PDB file.
939 error: Assert! 0 in c:\lukasz-workspace\oxygine2018\oxygine-sound\src\sound\oal\soundsystemoal.cpp:57
Assertion failed!
Program: ...s\SoundDemo\proj.win32\Debug_v141_xp\SoundDemo.exe
File: c:\lukasz-workspace\oxygine2018\oxy...\soundsy...oal.cpp
Line: 57
Expression: 0
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)The thread 0x4360 has exited with code 0 (0x0).
The thread 0x2910 has exited with code 0 (0x0).
The thread 0x484c has exited with code 0 (0x0).
On android I have same problem:
Newest from github oxygine-framework examples work fine on windows and android.
oxygine-sound
After comment 57 line:
App starter but sound doesn't work.
I have external sound processor, which is also my sound card.
After switch to realtek card build in motherboard, sound works.
So, I still have problem with android and release mode in windows.
I create app which require sound on android, windows is second priority.
What can causing this problem on android?
I have properly configured NDK and SDK.
oxygine-sound
you haven't properly configured NDK, check log file above:
NDK not configured
Global Z ordering
Hello
Is it possible to handle Z priority on global/scene level ?
I need to have actor that is linked to parent, and render another non-linked actor between them.
(Desired results in green picture... Anime character is linked to red square, while cog is not linked to anything)
When I set red actor to z priority to 0, anime actor to 100 and cog to 50 I get something like this.
If this is not possible, i'll implement this feature my self. Any suggestions on where to start would be appreciated Thanks in advance.