Comments (5)
HI gurkanctn, Ive recently uploaded (windows only for now) a sound extension for the PGE. There is also a demonstration file showing how to use it. Let me know if you have any problems!
from olcpixelgameengine.
Today, I tried to run the sound demo.
I received several (similar) errors about olc::ResourcePack
that it is not defined.
example line (that gives the error):
unsigned int SOUND::LoadAudioSample(std::string sWavFile, olc::ResourcePack *pack)
from olcpixelgameengine.
Oops, ahem, my apologies, I need to upload the latest pixel game engine header which defines it. Im away from my PC right now, but I'll do it as soon as I can. If you want to just get things going, you could just remove the references to resource pack and any code that uses it (which is only in the Load function - but I'll get the update uploaded asap. Thanks for letting me know!
from olcpixelgameengine.
That's OK. No hurries on my side. Glad to know it's a minor thing to be solved :)
from olcpixelgameengine.
just tried the new version (1.12) and it works :)
Now I can happily add some sound FX to my Altay Tank Game :)
from olcpixelgameengine.
Related Issues (20)
- [Request] To set program window position on monitor screen when program start.
- Eliminating some warnings when building the hello world app
- Missing assets/MegaSprite1.png HOT 2
- What would be the closest framework to olcPixelGameEngine on OSX? HOT 3
- Make New More general QuadTree
- ScanHardware bPressed clarity
- Can't paste text when Console is open
- v2d_generic::lerp
- Doesn't build with /Wx and /Wall
- Directly draw on a sprite --> scaled string HOT 2
- Implement PingPong style in Animate2D HOT 1
- olcUTIL_Camera2D: m_vScreenSize is hard coded with no construction update, or means to change
- WASM (Emscripten): font looks ugly (strange underscores) HOT 2
- drawing Decal on Decal --> no transparency possible? HOT 2
- cursor disable and mouse delta values HOT 1
- Not an issue - Font suggestions. HOT 3
- PGEX extensions not usable in dll context
- TEST_Animate2D.cpp does not compile on ubuntu HOT 9
- Integrating render window into MFC or Qt
- have no function loading like mutillang font file or vector diagram as pixel Sprite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from olcpixelgameengine.