GooderSteel Posted June 22, 2016 Share Posted June 22, 2016 Hello! There was such problem. I understand with examples for C ++. And to me gives out the following error almost in each of them of following type: Error 23 error C2653: ' Draw ': is not a class or namespace name E:\CreateGame\test_functions\Source\App.cpp. Prompt, please, that I not so do? How to make, that this function found? Quote Link to comment Share on other sites More sharing options...
martyj Posted June 22, 2016 Share Posted June 22, 2016 You need to use Context. Context::SetBlendMode Quote Link to comment Share on other sites More sharing options...
GooderSteel Posted June 22, 2016 Author Share Posted June 22, 2016 Me in the given example the line more interests: Draw::Text(aabb.Debug(), 2, 2); How to be with it? Context::SetBlendMode, by the way, does not work, says to me that it is an error ( Quote Link to comment Share on other sites More sharing options...
martyj Posted June 22, 2016 Share Posted June 22, 2016 There is no "Text" function. There is "Context::DrawText" http://www.leadwerks.com/werkspace/page/api-reference/_/context/contextdrawtext-r731http://www.leadwerks.com/werkspace/page/api-reference/_/context/contextdrawtext-r731 Quote Link to comment Share on other sites More sharing options...
GooderSteel Posted June 22, 2016 Author Share Posted June 22, 2016 Thanks. Has understood as it is necessary to write) //Display the object debug data context->SetBlendMode(Blend::Alpha); context->DrawText(aabb.Debug(), 2, 2); context->SetBlendMode(Blend::Solid); Only it turns out that the majority of examples has become outdated then. ( It will be heavy studies. Quote Link to comment Share on other sites More sharing options...
martyj Posted June 22, 2016 Share Posted June 22, 2016 Were are you getting your examples? Quote Link to comment Share on other sites More sharing options...
GooderSteel Posted June 22, 2016 Author Share Posted June 22, 2016 http://www.leadwerks.com/werkspace/page/documentation/_/object/objectdebug-r27 http://www.leadwerks.com/werkspace/page/api-reference/_/object/objectaddref-r579 1 Quote Link to comment Share on other sites More sharing options...
GooderSteel Posted June 22, 2016 Author Share Posted June 22, 2016 There still it is a lot of such. Quote Link to comment Share on other sites More sharing options...
reepblue Posted June 23, 2016 Share Posted June 23, 2016 It's old documentation I assume. Hopefully Josh will fix this. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! 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.