Alejandro Ramirez Posted January 15, 2016 Report Share Posted January 15, 2016 So some days ago I started experimenting and trying to get the hang of SpriterPlusPlus. I have now been given the monumental task of implementing this into an application that uses directx to handle rendering. So to my understanding, the idea behind implementing SpriterPlusPlus into code is to extend ObjectFactory and FileFactory? I guess what I don't understand is how this causes the rendering of sprites? Has anyone else tried to do this yet? Quote Link to comment Share on other sites More sharing options...
conceptgame Posted January 17, 2016 Report Share Posted January 17, 2016 The engine I am rendering in is based on DirectX. Even if they are some abstraction layers in between, it is working the same. Look at the smfl example which handles what you basically need. In the renderSprite function (yourEngineimagefile.cpp), it is where you need to put your dedicated Directx rendering code. That's all about rendering itself. Quote Link to comment Share on other sites More sharing options...
Alejandro Ramirez Posted January 17, 2016 Author Report Share Posted January 17, 2016 Thanks a bunch! I think that about does it for me and my understanding of spriterplusplus implimentation. Greatly appreciated! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.