Jump to content

bandrewk

Members
  • Posts

    215
  • Joined

  • Last visited

Everything posted by bandrewk

  1. Bump, I am also interested in a solution.
  2. Sometimes prefabs turn invisible for me and are unable to be picked in the editor. I attached an example that contains just CSG. I'm not entirely sure how to reproduce this as it happens in a kind of random manner, but maybe you can spot something wrong in the attached file. Thank you. square.zip
  3. If you don't want to use Steamworks features in your game simply remove the steam_appid.txt from the project's root directory.
  4. C++ user here, I am receiving an access violation from inside World::Update().
  5. Hi, the scene browser does not display a horizontal scroll-bar when the hierarchy grows in width: Thank you
  6. We had the same problem, see this topic: http://www.leadwerks.com/werkspace/topic/10380-character-controller-gets-stuck-on-thin-objects/
  7. Last week we’ve been in cologne (Germany) at the gamescom, a trade fair for video games. I’ve talked to a few publishers gathering information on strategies to distribute a game on the world-marked, payment system providers for game and in-game purchases and last but not least, advertisers. They gave us quite a bit of information brochures, haven’t had a chance to read through it yet. After all, the most important aspect was getting some contacts into the game industry, which we seem to have now. We had the opportunity to talk to a few persons and introduce them to the concept of Remaining Days, everyone we have talked to was excited and curious. Here is a picture of some of our loot: Other than that we've been working on the in-game and menu user interface, which is finished now. The inventory slots that were missing are now there and an in-game menu. Video settings have been added to the main menu. Here is a screenshot of the new in-game menu: To view the full announcement and more screenshots visit our official blog post @ http://www.remainingdays.net/2014/08/developer-diary-week-34/ We're also on Social Media, any likes / favorites / follows are appreciated! Twitter: https://twitter.com/remdays Facebook: https://www.facebook.com/remainingdays Instagram: http://instagram.com/remainingdays Indie-DB: http://www.indiedb.com/games/remaining-days Steam Greenlight: http://steamcommunity.com/sharedfiles/filedetails/?id=289687495 YouTube: https://www.youtube.com/channel/UCiCxaKZi2uxU_v89zZ0-oXA Google+: https://plus.google.com/u/0/b/100240371628223412273/100240371628223412273/
  8. Hello, the active context is not resizing correctly when changing the window layout without rendering a world. Resizing while rendering a world: Resizing without rendering a world: Example code: bool App::Loop() { //Close the window to end the program if (window->Closed()) return false; if (window->KeyHit(Key::J)) { window->SetLayout(window->GetX(), window->GetY(), 1920, 1080); } if (window->KeyHit(Key::K)) { window->SetLayout(window->GetX(), window->GetY(), 1024, 800); } //Press escape to end freelook mode if (window->KeyHit(Key::Escape)) { if (!freelookmode) return false; freelookmode=false; window->ShowMouse(); } //if (freelookmode) //{ // //Keyboard movement // float strafe = (window->KeyDown(Key:) - window->KeyDown(Key::A))*Leadwerks::Time::GetSpeed() * 0.05; // float move = (window->KeyDown(Key::W) - window->KeyDown(Key::S))*Leadwerks::Time::GetSpeed() * 0.05; // camera->Move(strafe,0,move); // //Get the mouse movement // float sx = context->GetWidth()/2; // float sy = context->GetHeight()/2; // Vec3 mouseposition = window->GetMousePosition(); // float dx = mouseposition.x - sx; // float dy = mouseposition.y - sy; // //Adjust and set the camera rotation // camerarotation.x += dy / 10.0; // camerarotation.y += dx / 10.0; // camera->SetRotation(camerarotation); // //Move the mouse to the center of the screen // window->SetMousePosition(sx,sy); //} Leadwerks::Time::Update(); //world->Update(); //world->Render(); context->SetColor(0, 0, 0, 1); context->Clear(); context->SetColor(1, 1, 1, 1); context->SetBlendMode(Blend::Alpha); context->DrawText("10x10", 10, 10); context->DrawText("100x100", 100, 100); context->SetBlendMode(Blend::Solid); context->Sync(false); return true; } Comment / Uncomment the world update and rendering and press J and K a few times to resize.
  9. Try changing SetPosition(0, 1, 0) to SetPosition(0., 1., 0.) and do the same for all other SetPositions
  10. Hello everyone, I am experiencing some issues with the Window::Show/HideMouse methods. When calling both of them multiple times they basically stop working. For example: bool App::Start() { //Initialize Steamworks (optional) /*if (!Steamworks::Initialize()) { System::Print("Error: Failed to initialize Steam."); return false; }*/ //Create a window window = Leadwerks::Window::Create("cc"); window->ShowMouse(); //Create a context context = Context::Create(window); //Create a world world = World::Create(); //Create a camera camera = Camera::Create(); camera->Move(0,2,-5); //Hide the mouse cursor window->HideMouse(); std::string mapname = System::GetProperty("map","Maps/start.map"); Map::Load(mapname); //Move the mouse to the center of the screen window->SetMousePosition(context->GetWidth()/2,context->GetHeight()/2); window->ShowMouse(); window->HideMouse(); return true; } In the above example the mouse pointer will be visible, but it should be hidden.
×
×
  • Create New...