AggrorJorn Posted March 14, 2013 Share Posted March 14, 2013 (edited) This topic lists all my tutorials. Whether it is C++, Lua scripting or editor use. Editor tutorial Project saturn With project Saturn we will make a game entirely from scratch. Using the Leadwerks engine 3 and the Lua scripting language we will look in to the challenges, obstacles and sometimes funny outcomes that happen during game development. See the youtube playlist here: All indiviual tutorials: Picking up items for the inventory C++ and Lua Tutorials You can find all the C++ tutorials source code and media files in the download section of Werkspace: http://www.leadwerks.com/werkspace/files/file/533-c-tutorials-31/. Some tutorials also contain a Lua script. This Lua script is a conversion from the C++ script that is created in the video tutorials. Every tutorial page has a tab for C++ and Lua, unless the video is about Lua or purely meant for C++. (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) (C++ and Lua) Introduction to Android Edited October 24, 2016 by AggrorJorn 15 Quote Link to comment Share on other sites More sharing options...
afecelis Posted March 17, 2013 Share Posted March 17, 2013 I love the idea Aggror, totally looking forward to them. Quote Win8.1 Pro X64/ Intel core I7 @ 3.5GHz / 32GB DDR3 SDRAM / GeForce GTX 660+760/ VC++ Express 2013/ Blender /Unwrap3dpro3 /Modo 8 Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 First C++ tutorial is here! 1 Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 17, 2013 Share Posted March 17, 2013 Good tutorial Aggror! Because the "move ambiguous" error ... i could bet this is because std::move. // edit: Yes ... look at "Leadwerks.h" at line 166... thats why "using namespace" is a bad idea. You can solve this problem by writing ::move in your App::Start method. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 Tutorial number 2: Models 1 Quote Link to comment Share on other sites More sharing options...
cassius Posted March 17, 2013 Share Posted March 17, 2013 I couldn;t get full screen on the second tutorial so it was difficult to see. My eyesight not too good. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 Number 3: Shapes 1 Quote Link to comment Share on other sites More sharing options...
kennar Posted March 18, 2013 Share Posted March 18, 2013 Well done. Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 18, 2013 Share Posted March 18, 2013 Good tutorial aggror! Just one hint : please use c++ casts (static_cast, dynamic_cast, reinterpret_cast, const_cast) and not the old c casts. 1 Quote Link to comment Share on other sites More sharing options...
zumwalt Posted March 18, 2013 Share Posted March 18, 2013 Wonderful tutorials...You convenced me to get the Android and iOS tonight, although on the Mac versions, the Xcode is set for 10.7 but I have Mountain Lion so I have to upgrade the project from out the gate, these tutorials work in XCode just as well. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 18, 2013 Author Share Posted March 18, 2013 Just one hint : please use c++ casts (static_cast, dynamic_cast, reinterpret_cast, const_cast) and not the old c casts. Thanks for the suggestion. I will use that next time. these tutorials work in XCode just as well. Thats the beauty of Leadwerks 3. There may be some small programm tweaks on Mac, but the code should be pretty much the same. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 20, 2013 Author Share Posted March 20, 2013 Tutorial 4: Sound 1 Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 20, 2013 Share Posted March 20, 2013 Your tutorials are centered around creating models, dealing with them by code. Can be good for Minecraft , or generated stuff by code. But for levels made in the editor and characters placed in it, Lua is lot better. It reminds me LE3 and people in C++ had to load the world, load and place entities and ligths (only positions where saved in the world file) so ou had to search them by names and depending on name place a character or light. Than manage an array of entities. Complicated I don't have dig LE3 and C++, im' concentrating in Lua for now. Im' curious if you could make a tutorial that would contain : - make a solid cube floor in the editor not by code - place goblin and barbarian in the editor not by code - load world in C++ - Manage in C++ the barbarian to navigate to the goblin - in C++ play fall animation of the goblin when the barbarian collides with it. In Unity, you create a new C# file that is attached to an entity and you have like script some defined loop and start functions, does LE 3 and C++ can work in that simple way ? Anyway that's great tutorials. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 20, 2013 Author Share Posted March 20, 2013 I will concentrate on the basics with C++ first. When that is done, I want to start combining C++ with Lua. The tutorials are not ment to imply that you would create an entire level by code, that is after all why we have the editor. However it is essential to learn some basics before moving on to the more complex stuff. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 20, 2013 Author Share Posted March 20, 2013 Tutorial 5: Free look camera and spectator camera. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 20, 2013 Share Posted March 20, 2013 I missed something. In VS C++2010, should we must define some LeadWerks include Dll or lib ? i just opened a new C++ created project with project manager in VS C++ 2010 , but it makes one error at debug ? http://www.leadwerks.com/werkspace/page/documentation/_/getting-started/compiling-for-windows-r624 I didn't find the include library part for C++ ? perhaps i missed something else ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted March 20, 2013 Share Posted March 20, 2013 I believe all that is done for you when you go through LE's new project wizard. The VS solution is created for you with all that already defined in it. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 20, 2013 Share Posted March 20, 2013 Stange it did not compiled ? I must have done something in the worng way. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
sidewinder128 Posted March 22, 2013 Share Posted March 22, 2013 First of all Thank you for the tutorials are needed a lot!, Also I remember with LE2 it was great the code tutorials with C++ I learned a lot. Also please I really hope that all tutorials are focused in C++ first, because its what I know to use and I don't need lua or scripting languages. LE 3 with C++ is very powerful. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 26, 2013 Author Share Posted March 26, 2013 Number 6: Raycasting 2 Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 2, 2013 Author Share Posted April 2, 2013 Tutorial number 7 is here: Animation! 1 Quote Link to comment Share on other sites More sharing options...
afecelis Posted April 3, 2013 Share Posted April 3, 2013 Hi Aggror, thanks again for your valuable time. I'm opening the solution in vs2010 express but when trying to compile it I'm getting the following error: "c:\leadwerks\engine\source\Libraries/glew-1.6.0/include/GL/glew.h(1169): fatal error C1083: Cannot open include file: 'GL/glu.h': No such file or directory" I know it's a matter of having the proper include file, but since VS2010 doesn't allow including directories as include/libs, how can I fix it? regards, Alvaro Quote Win8.1 Pro X64/ Intel core I7 @ 3.5GHz / 32GB DDR3 SDRAM / GeForce GTX 660+760/ VC++ Express 2013/ Blender /Unwrap3dpro3 /Modo 8 Link to comment Share on other sites More sharing options...
afecelis Posted April 4, 2013 Share Posted April 4, 2013 Nevermind, I found the answer by googling it. "Headers are in the SDK : C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl" I just had to place a copy of them into "Program Files(x86)" Moving on. Quote Win8.1 Pro X64/ Intel core I7 @ 3.5GHz / 32GB DDR3 SDRAM / GeForce GTX 660+760/ VC++ Express 2013/ Blender /Unwrap3dpro3 /Modo 8 Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 4, 2013 Author Share Posted April 4, 2013 Glad that it works acefelis. Did you create the project via the Leadwerks project manager or via visual studio itself? Quote Link to comment Share on other sites More sharing options...
ESP Posted April 4, 2013 Share Posted April 4, 2013 Hi, Any chance we can get these to view off-line? Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS 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.