Jump to content

C++ Tutorial


freeflyklown
 Share

Recommended Posts

Hi,

 

I started playing around with the engine. In the C++ tutorials, it says there should be an exampel actor class in the source folder of my project. However I only have main, and app? Are the tutorials outdated or am I doing something wrong? Could anyone please guide me trough setting up a C++ project? Also, is it possible to compile for X64?

Link to comment
Share on other sites

The Actor class is included as any other Leadwerks class. 
 

C:\Program Files (x86)\Steam\steamapps\common\Leadwerks\Include\Classes\Actor.h

 

There is already a C++ setup for you when you create a project. Just open \Projects\Windows\"projectname".sln in Visual Studio and there you go

AV MX Linux

Link to comment
Share on other sites

I think you are coming across the bug I mentioned here:

where the tutorial is not fully in line with the code.  The actor class is there and should work out OK but it's unfortunate that the tutorial and code don't fully align.  For a tutorial this is an unfortunate (perhaps even unacceptable?) oversight.

 

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.

 Share

×
×
  • Create New...