Jump to content

Roland

Developers
  • Posts

    2,953
  • Joined

  • Last visited

Everything posted by Roland

  1. You could have a look at this wiki sample Making a terrain using L3DT
  2. Ok. I guess that 'All Kind Of Files' is the framewerk files. I will have a look at that one.
  3. Aaah. I think I now the reason for that. Thanks a lot for that info.
  4. Thanks macklebee. Added to my TODO list (see first post in this thread)
  5. Hi A BETA of the new updated ProjectWizard in now avaible in the Download section You can report errors here. TODO list for next update (planned for next weekend 6-7 Feb): - Fix paths containg spaces - Remove hardcoded path in some bmax templates, d:\rimfrost\Leadwerks is used instead for $(MediaDir) - Double characters in paths will become single... as in C:\GrassDir -> C:\GrasDir - VS2008 console+gamelib add to many files (probably all framewerks files)
  6. File Name: ProjectWizard 2.3.1 BETA File Submitter: Roland Strålberg File Submitted: 31 Jan 2010 File Updated: 31 Jan 2010 File Category: Tools and Utilities Hi. Now the BETA version of the updated ProjectWizard for 2.3 is avaiable. Download and extract into you Leadwerks directory to replace current ProjectWizard and Templates You may reports any errors in the forum. If you want to restore the old wizard just delete ProjectWizard.exe and the Templates directory and run an update. Roland Click here to download this file
  7. Yes. You will soon earn multidollars for you next game and then you can afford VC2010 Ultra Pro deLuxe B) No problems with keeping the VC2005.
  8. There is plenty of space avaiable, the problem is that my time is more limited. Ok Rick. Sound that I have to continue support VC2005 just for you them B) I'll keep it as it was then and there is no VS2010 released so that will have to wait
  9. My intention is to drop Visual Studio 2005 support in the upcoming ProjectWizard. If anyone still want to use that old studio they could always use the old Wizard. Is this Ok... Anyone against ?
  10. I followed the Tutorial and yes it works nicely. Then I made a test with MakeHuman and BHV animations. I created a male human with MakeHuman and imported the human into Blender. Then I imported a BHV animation and attached it to the imported human. Exported the result to FBX and it works nicely in Leadwerks. Here is the result. http://vimeo.com/9041943
  11. Yes. Thats will have same effect as MessageBoxA. So my the sample will then use MessageBox for Windows (compiled non-unicode) and puts for Console (I might in fact use std::cerr instead).
  12. I have noticed that also. Its fixed in my templates #include "leo.h" using namespace LEO ; #if defined( _WINDOWS ) void ErrOut( const char* pstrMessage ) { MessageBoxA(0, pstrMessage, "Error", 0 ); } int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd ) #else void ErrOut( const std::string& message ) { puts( message.c_str()); } int main( int argn, char* argv[] ) #endif { // Set graphics mode Engine engine("Example - LEO with Framework",1024,768); if( !engine.IsValid() ) { ErrOut( "Failed to set graphics mode."); return 1; } // Create framework object and set it to a global object so other scripts can access it Framework fw; fw.Create(); if( NULL == fw ) { ErrOut( "Failed to initialize engine." ); return 1; } // Set Lua framework object engine.SetObject( "fw", fw ); // Set Lua framework variable Lua lua; lua.Create(); lua.PushObject( fw ); lua.SetGlobal( "fw" ); lua.Pop( 1 ); // Get framework main camera fw.main.camera.SetPosition( Vec3(0,0,-2) ); Material material( "abstract::cobblestones.mat" ); Cube mesh( CREATENOW ); mesh.Paint( material ); Cube ground( CREATENOW ); ground.Scale( Vec3(10,1,10) ); ground.SetPosition( Vec3(0,-2,0) ); ground.Paint( material ); DirectionalLight light( CREATENOW ); light.SetRotation( Vec3(45) ); while( !engine.IsTerminated() ) { mesh.Turn( Vec3( AppSpeed()*0.5f ) ); fw.Update(); fw.Render(); engine.Flip( 0 ); } return engine.Free(); }
  13. But I havent sent any files since 2.14, ages ago!
  14. This error exists in the ProjectWizard delivered today. Tested with a fresh download. Anyway it will be fixed.
  15. Add the file <leadwerks installdir>/CPP/engine.cpp to your project. There was a change in some headers since the current ProjectWizard was released which leads to manually adding this file for LEO projects. This will be fixed in next release of ProjectWizard
  16. Hi One thing I find a bit annoying is that its not possbible to edit a material inside the editor. It would be great if one could select an Entity and hit "Edit material" to bring up the MaterialEditor with the Entitys material file loaded (or default values if it has no material file).
  17. Hi I dont know if there is any difference is FPS between Framewerk/framework. My best guess is that if there is a difference its very small and can be ignored. But that's just my guess. There are currently no plans for supporting Delphi or Pascal in ProjectWizard. But if you could send a complete sample with project files included I may add it. My biggest problem here is that I have no knowledge of Delphi. Roland
  18. Thanks a lot for this very instructive video Great work
  19. Roland

    Easy language

    Well. Even if I dont agree I wish you good luck with this project.
  20. Roland

    Easy language

    Either this is a joke and then its funny, or (horrible thought) it is serious. In that case its a waist of time and effort. Macro languages has never and will never be any success. The only thing they do is to make it harder to follow what really happens.
  21. Macros and inline's are definitely not the same thing. Back to the 80's
  22. The ProjectWizard will not contain any macro-languages. Its absolute enough to support the existing languages.
  23. Thanks macklebee for putting the Blitz code up
  24. Thanks Guys for your contributions. I will work a bit on this during this weekend Lumooja... Who else could make an own language. Well you know my touch about defines.... they should only be used in absolute weird seldom circumstances where a typed variable or constant can't be used. In fact I think the world should have been a better place without defines. Is this the successor to C++ to that you have been talking about
×
×
  • Create New...