Jump to content

MexSource

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by MexSource

  1. Hey, I noticed (in 3.0 and 3.1) that Time::GetSpeed() doesn't return really useful values. When i opened some programs in the back (my computer is slower) I can run much faster and when my computer is very fast i run very slow. Here's the code i used: playerMovement.z = (window->KeyDown(Key::W) - window->KeyDown(Key::S)) * Time::GetSpeed() * moveSpeed; playerMovement.x = (window->KeyDown(Key::A) - window->KeyDown(Key:)) * Time::GetSpeed() * strafeSpeed; PS: if you activate vsync (context->Sync(true)) you can also run faster and when you disable it (more fps) you will run slower. Does somebody else has these problem's and do josh know about this? Or should i create a new bug report?
  2. oh that seems to work, thanks rick
  3. Hey, I already created some triggers with leadwerks 3.0 but now in 3.1 i have one problem. It says: invalid type conversion at this line: currEnt->AddHook(Entity::CollisionHook, (void*)onCollision); heres my App.h: #pragma once #include "Leadwerks.h" using namespace Leadwerks; class App { public: Leadwerks::Window* window; Context* context; World* world; Camera* camera; App(); virtual ~App(); void onCollision(Entity* entity0, Entity* entity1, float* position, float* normal, float speed); virtual bool Start(); virtual bool Loop(); }; and the important part of my App.cpp [...] //The onCollision function void onCollision(Entity* entity0, Entity* entity1, float* position, float* normal, float speed){ } [...] //and in App::Start [...] list<Entity*>::iterator iter; for (iter = world->entities.begin(); iter != world->entities.end(); ++iter){ Entity* currEnt = (*iter); cout << "Entity loaded: " + currEnt->GetKeyValue("name") << endl; if (currEnt->GetKeyValue("name") == "runner_spawn"){ runner_spawn = currEnt->GetPosition(); } if (currEnt->GetKeyValue("name") == "death_spawn"){ death_spawn = currEnt->GetPosition(); } if (currEnt->GetKeyValue("name") == "runner_mesh"){ runner_mesh = currEnt; } if (currEnt->GetKeyValue("name") == "death_mesh"){ death_mesh = currEnt; } if (currEnt->GetKeyValue("name") == "void"){ currEnt->AddHook(Entity::CollisionHook, (void*)onCollision); } } [...] if you need more code i will give it out, but i think that should be enough Thanks, Mex
  4. i think it should be C:\Users\<Username>\AppData
  5. My windows installation was a little bit corrupted due to installing some other OS's. It don't have to be a problem with the software itself, many programs were no longer functioning since installing ubuntu
  6. after reinstalling Windows 7 the editor start's and everything seems to run fine. Whyever
  7. 2) nope, everything is right. In c++ there is no pre-given fps controller I think. You would have to do it yourself. PS: to create one you could have a look at the lua fps controller script and 'translate' it
  8. I have the same (or nearly same problem) I can't figure out why it doesn't start.
  9. Nope that doesn't work I tried it 3 times (with the x64 too)
  10. Yeah my english isn't perfect. To the problem: my graphics card is: ATI Radeon HD 5500 Series and it's not a laptop and i don't have a graphic card combo or so
  11. i installed Ubunut 12.04 on a second (ext4) partition on the same hdd as windows (with it's ntfs partition) (i shrinked the windows partition to create a new one with the ubuntu installer). And i don't used any other tools than what was in the image (the installer).
  12. currently i have no vs2013 installed and i don't know if any dll's are not present but anyway i would have to reinstall windows i think,something wrong with it, because i can't install the service pack 1 and curiously many windows services stopped working (here's the thread i already opened (http://www.leadwerks.com/werkspace/topic/9322-vs2013-needed/)).
  13. I had no error in the log, and i wanted a fresh log. So i deleted the log and tried to start with admin rights, normal, and over steam... It doesn't create a new log? btw: when i start MyGame.exe in the console it says "Error: Failed to read file "C:/Program Files (x86)/Steam/SteamApps/common/Leadwerks Indie Edition/MyGame/Maps/start.map".". but i think that downsn't matter, it only means there is no start.map //i found this thread: http://www.leadwerks.com/werkspace/topic/8318-leadwerks-doesnt-start-anymore/ it seems the same problem as i have, and i don't have visual studio 2013 installed at the moment. Maybe that's the problem? //i think i will now save all my data and reinstall windows
  14. But maybe we can fix the problem on your laptop . Tell us more
  15. Thanks . When I can't get it to work with the log tomorrow I will upload it here
  16. Ok will try tomorrow, it's 00:16 here and I'm laying in bed. But only to let you know I just reinstalled it
  17. Hello, first to say i had the same problem with the indie edition too. i get nothing when starting over steam and i get a error (0xc000007b) when starting manually in the internet i read it has something to do with wrong dll's (32-bit and 64-bit) but i don't know where to start, and which dll's this could be. Thanks for any help
  18. would it be possible to get a code blocks file for windows too? (using code::blocks with leadwerks on windows)
  19. woh oever made this, could add that you have access to beta updates on steam
  20. I had windows update deactivated completely for a long time. I received no updates then it seems Ubuntu maybe corrupted some part of the windows update system cause I always an error when trying to install the updates and then it reverses all changes....
  21. Windows Desktop... :/ PS: when I run the sp1 installation I get the error 0x80070422 it seems that this means the windows update service is disabled but it's not. It's activated and started... //anyone tested it with vc++2010? :/ (I don't expect it to work....)
  22. Anyone has a solution: I downloaded vs2013 installer, ran it and it says I need a newer version of windows. Googled it, I need sp1 downloaded that. Started it and it said a service can't be started it 'may be deactivated or not installed' or something. In the internet I read about that I need a specific update that provides compatibility for further updates (it's named KB976902 or anything, not sure). I tried installing all the updates from windows update but after 2 fails 'can't configure updates correctly' I tried manual installing the specific update from a .msu file it aborted and sayed my system is not compatible or something... Now I'm sitting here and have no little idea. (I think everything has something to do that I installed Ubuntu some days ago, since then I couldn't choose aero designs (fixed that, had to start a system service manually). ) PS: my last idea was that a system recovery would work but it only shows me any error message that something isn't right configured or so >.> God damn //edit: Is there any possibility to use leadwerks 3.1 with vc++2010? Where are the differences and problems?
  23. Some hours ago i tried to install it too, I had the exactly same issue. I read in the internet that it would work when installing Windows 7 Service Pack 1 but I'm currently stuck after activating the windows 7 update system (no idea why i did this :/). It currently installed 148 updates and then after 2 restarts it said something failed... Then it uninstalled everything and yeah there I am the moment Hope it works
  24. yeah //Offtopic: i ever asked me why seems 30 fps for the human eye laggy when it can only see up to 10-12 fps?....
×
×
  • Create New...