Jump to content

MexSource

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by MexSource

  1. I think i got it. I tried removing the Time::GetSpeed() completely, because it's not very effective, and i found out that it seems to run perfect. On slow pc's also on fast. I think Josh added this to the UpdatePhysics() function already. Works fine
  2. Yep i will do, just need to install bandicam now. Wait, does leadwerks come with video recording? Or only the functon to upload videos? PS: will not do it today (busy with trying to implement raknet)
  3. no I think i explained me wrong. I mean the character speed is higher (e.g. he can run faster). What you showed me seems is only something about the debug mode is faster than release mode
  4. 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?
  5. oh that seems to work, thanks rick
  6. 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
  7. i think it should be C:\Users\<Username>\AppData
  8. 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
  9. after reinstalling Windows 7 the editor start's and everything seems to run fine. Whyever
  10. 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
  11. I have the same (or nearly same problem) I can't figure out why it doesn't start.
  12. Nope that doesn't work I tried it 3 times (with the x64 too)
  13. 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
  14. 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).
  15. 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/)).
  16. 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
  17. But maybe we can fix the problem on your laptop . Tell us more
  18. Thanks . When I can't get it to work with the log tomorrow I will upload it here
  19. 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
  20. 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
  21. would it be possible to get a code blocks file for windows too? (using code::blocks with leadwerks on windows)
  22. woh oever made this, could add that you have access to beta updates on steam
  23. 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....
  24. 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....)
×
×
  • Create New...