I'm getting this warning, which component should replace it.
Check out this project to get started on a roScreen based keyboard
https://community.roku.com/t5/Roku-Developer-Program/keyboard-code-example/m-p/428400
You have to use roScreen. It's hardly a drop-in replacement, but it's better/faster.
Can i use it for custom keyboard, with search results shows within the same page? Because in roScreen documentation I've seen this note, Other screen components cannot be intermixed with roScreens as the roScreen display stack is maintained independently from the main screen component display stack.
With roScreen you pretty much have to draw everything yourself. You can create your own keyboard with search results, but it's a lot of hassle. I've used the scene graph stuff as the UI before launching a game that uses roScreen. It's not the prettiest option, but it beats having to create every component myself.
Is there a reason you are not using SceneGraph?
You can't create a game in Scene Graph (at least not easily). That's just one of many reasons why I'm not using it. 🙂
okay, you did not mention you were making a game. You mentioned search results which you would typically find in a video channel not a game...
Depending what type of game you would like to make you can use Scenegraph
This is 100% scenegraph https://channelstore.roku.com/details/576304/monstrum-match
It would be more difficult to make a game in roImagecanvas even if it wasn't depreciated.
Building a custom keyboard in roScreen is not that difficult. I have built them for other games high score entry. Handling search results may be a little more involved.
Check out this project to get started on a roScreen based keyboard
https://community.roku.com/t5/Roku-Developer-Program/keyboard-code-example/m-p/428400
@necrotek wrote:okay, you did not mention you were making a game. You mentioned search results which you would typically find in a video channel not a game...
Depending what type of game you would like to make you can use Scenegraph
This is 100% scenegraph https://channelstore.roku.com/details/576304/monstrum-match
I was answering for me, not the OP. 🙂
That's cool, but that had to be a PITA to do in Scene graph! I guess I just hate SG so much I'm not even willing to give it a chance for something like a game.
Hi Jim, Since this game was mostly menu based, it seemed a good fit for SceneGraph. SG is not too bad to work with once you get used to it. SG is kind of a souped up roImageCanvas. It is more natural for changing scene states, building lists for menus and animation components that can be leveraged. you can still use the draw2d components to manipulate an image and save it to device an feed it back to SG to display as a poster. I am sure it was quicker to put together in SG than it would have in roScreen. Any type of action oriented game I would of course do in roScreen.