Jump to content

Advice/help for implementing SpriterPlusPlus in a DirectX based application


Alejandro Ramirez

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...