Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

503 Excellent

1 Follower

About Roland

  • Rank
  • Birthday 12/09/1953

Profile Information

  • Gender
  • Location
  • Interests
    Game Development
    Home Music Studio

Recent Profile Visitors

31,295 profile views
  1. auto cam = Camera::Create(); cam->SetFOV(60.0f); cam->SetZoom(1); cam->SetRange(0.1f, 500.0f); cam->SetFogColor(0.7f, 0.7f, 0.7f, 1.0f); cam->SetFogAngle(5.0f, 20.0f); cam->SetFogMode(true); cam->SetFogRange(2.0f, 30.0f);
  2. Then there is something wrong with you VS installation or your paths. Check your Include Directories
  3. Its your problem the same one or something else ?
  4. Debug Working Directory is wrong. Change $(SolutionDir)\..\..\.. to $(SolutionDir)..\.. Se my post here https://www.leadwerks.com/community/topic/16838-upgrading-44-c-projects-to-45/?tab=comments#comment-110509
  5. entity is the one you collided with position is the position of the entity when collision happened normal is the direction of the collision speed is the speed of the collission entity
  6. 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
  7. Maybe this could help A C++/LUA bridge Class
  8. Roland

    A C++/LUA bridge Class

    I have made a small class for helping with reading and writing parameters between C++ and LUA and also calling LUA functions from C++. I'm sharing this little thing here. Using the class is quite simple as shown below LUA - part C++ - part I have included is a test project which looks like this in the editor And like this when executed Here is the LuaBridge class source LuaBrigde.h LuaBrigde.cpp And the complete test project LuaBridge.zip Note: Its
  9. Just a little note. if self.health >= self.maxHealth then self.health = self.maxHealth end if self.health <= 0 then self.health = 0 end could be replaced with self.health = Math:Clamp(self.health, 0, self.MaxHealth)
  10. Updating to VS 2017 goes fine according to your instructions. Josh, now when you are at it, could you make the changes suggested below to get rid of warnings. A good project should compile without warning! Release cl : Command line warning D9030: '/Gm' is incompatible with multiprocessing; ignoring /MP switch Remove <MinimalRebuild>true</MinimalRebuild> from <CLCompile> section ------------------------------------- LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance Add <LinkTimeCodeGene
  11. Solved: In Blender I scaled it up 100 times and the Applied Scale. Exported again and scaled down inside the LE-Editor Now it works
  12. Yes. I understand the problem. Will make some workaround. No problem now when I understand the reason. Thanks Josh
  • Create New...