❄️🎁⛄ The Winter Games Tournament is Live! 🎄🎅❄️
Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. When the main window of Leadwerks 5 is on the second monitor, World Settings window doesn't open.
  3. yurembo

    Bullets

    @Josh I use your code from top-down shooter for bullets in my game. If I run my game in debug mode, sometimes later I have this error: In release mode everything is fine. I think the problem above consists in a work with containers: set and map as told in the message. I created a lot of bullets.
  4. @Josh I listened to your new talk on YouTube. You and your colleague were discussing Linux. I'd like to add my own perspective. Historically, two distributions have defined Linux's appearance: Slackware and Debian. However, Redhat has contributed significantly to Slackware's development. Debian uses deb packages for installing applications, while Redhat uses rpm packages. Ubuntu is based on Debian, so it uses deb packages. Buzzite is based on Fedora, which is based on Redhat, so it uses rpm packages, not deb packages.
  5. Today
  6. yurembo

    Camera

    @Josh Yup, this works well! My temporary solution was to create a local camera. You see: a bullets buffer overflow is a second problem.
  7. Hi, can you tell me what graphics card you have?
  8. randomly when i am moving faces or verts all the view windows freeze and dies until i reload the program, i am in a brand new map with a terrain and a few squares i am mapping out a level with. EDIT 1 she is now just randomly freezing when moving objects around.
  9. Yesterday
  10. I added a info bar that shows a message that describe the latest action. Using this is easier to see the points for different captured cubes and calculate the attack points that you need. Here is a screenshot that shows both kings being revealed: Also i thought about a notation for the game similar to chess + board number. Example: B1_A1 , you can also look at the location of the Blue King in the screenshot After playing for a bit , i can say i don't really know what could be the wining/optimal strategies. Im leaning towards not trying to implement an ai player, not much time left and i don't understand what a good ai should do for this game. So it will be just the hotseat mode. Next i will do more polishing for the game.
  11. Josh

    Camera

    The variable you have is probably an Entity object, and you need to cast it to a Camera object: local camera = Camera(self) if camera ~= nil then coord.z = self.camera:GetRange().y farpoint = self.camera:ScreenToWorld(coord, framebuffer) end
  12. The problem had to do with extra NULL collision shapes being created in the physics thread. It will be fixed in the next build that goes up on the beta branch.
  13. Happy New Year, fellow creatives! To kick off 2026, I've created a couple of brand new music tracks to share with you. As always, they're 100% free to use in your projects with attribution, just like my thousands of other tracks: On my Funny 8 page: "A WILD PARTY IN DOCTOR STRANGEVOLT’S CASTLE" – (Looping) https://soundimage.org/funny-8/ On my Chiptunes 5 page: "PIXELTOWN HEROES" – (Looping) https://soundimage.org/chiptunes-5/ OTHER USEFUL LINKS: My Ogg Game Music Mega Pack (Over 1400 Tracks and Growing) https://soundimage.org/ogg-game-music-mega-pack/ My Ogg Genre Music Packs https://soundimage.org/ogg-music-packs-2/ Custom Music https://soundimage.org/custom-work/ Attribution Information https://soundimage.org/attribution-info/ Enjoy, please stay safe and keep being creative. :-)
  14. Josh

    Bazzite

    Yes, but just because you add a shortcut in the task bar doesn't mean the program works on Linux.
  15. I found the left top menu tree which gives the option. First I used Ai and it gave the wrong instruction to find that option. The second Ai got it right, maybe an older version of steam was used in the first I have no idea but all is well and it works fine. Thanks
  16. tumira

    Bazzite

    Is that Leadwerks icon at the panel ? Leadwerks 5.0 ?
  17. If you've already installed Leadwerks through Steam, it is typically stored in a directory like C:\Program Files (x86)\Steam\steamapps\common\Leadwerks. You should be able to run the executable (Leadwerks.exe) directly from this location without needing to be online.
  18. lets say i have a floor and i want to cut a hole in the floor, it gets cut into a bunch of pieces which is annoying to deal with, would be nice if i could right click with a bunch of objects selected and just click merge and it creates a new object and makes it the parent of all objects selected.
      • 1
      • Like
  19. Josh

    Bazzite

    Linux Mint is really good. You can actually replace Windows with this.
  20. Josh

    Bazzite

    Proton could be good for games, but I don't know if it's going to work that well with our editor, because you will often want to open folders in the system's native file browser. And probably other reasons. I'm not sure how I would ever be able to debug this on Linux if it was built on Windows.
  21. Josh

    Bazzite

    It's better than I thought it would be...
  22. Josh

    Bazzite

    I am really impressed by how well the game Cyclone works. I just launched it from Steam, nothing special, and it worked perfectly.
  23. tumira

    Bazzite

    You could also just install KDE environment in linux mint and use that. The default Cinnamon UI is fine for me.
  24. Last week
  25. Hi Have experienced abnormal memory usage when having a lot of instances on screen and performing rotations on huge batches for testing performance. Rotating camera or translate in any direction does not allocate more memory. Rotation of instances (keeps increasing): Translation and just camera movement/rotation : Test program used (SPACE = toggle automati rotation/movement using WASD) : #include "Leadwerks.h" #define MAX_X 100 #define MAX_Y 100 using namespace Leadwerks; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Leadwerks", 0, 0, 1280, 720, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); //Create a world auto world = CreateWorld(); world->SetAmbientLight(1.0, 1.0, 1.0); //Create a framebuffer auto framebuffer = CreateFramebuffer(window); auto cameraPivot = CreatePivot(world); cameraPivot->SetPosition(0.0, 0.0, 10.0); //Create a camera auto camera = CreateCamera(world); camera->SetParent(cameraPivot); camera->Translate(0.0, 3.0, 0.0); camera->SetRotation(40.0, 0.0, 0.0); camera->SetClearColor(0.125); auto pivot = CreatePivot(world); pivot->SetPosition(0.0, 0.0, 0.0); auto tile = LoadModel(world, "Models\\Tile.glb"); // glb and glTF = consumes memory // auto tile = LoadModel(world, "Models\\Tile.obj"); // obj = ok and so is creating cube internal in program inclusive applying materina // auto tile = CreateBox(world); // tile->SetCollider(NULL); // auto material = LoadMaterial("Materials\\Abstract\\MeasureGrid01.mat"); // tile->SetMaterial(material); tile->SetScale(0.9, 0.9, 0.9); float centerX = MAX_X / 2.0; float centerY = MAX_Y / 2.0; for (int y = 0; y < MAX_Y; y++) { for (int x = 0; x < MAX_X; x++) { auto duplicate = tile->Instantiate(world); duplicate->SetParent(pivot); duplicate->SetPosition(-centerX + x, 0.0, -centerY + y); } } tile->SetHidden(true); float speed = 2.0f; bool moveCamera = false; //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { if (window->KeyHit(KEY_SPACE)) moveCamera = !moveCamera; if (moveCamera) { if (window->KeyDown(KEY_D)) cameraPivot->Move(speed, 0, 0); if (window->KeyDown(KEY_A)) cameraPivot->Move(-speed, 0, 0); if (window->KeyDown(KEY_W)) cameraPivot->Move(0, 0, speed); if (window->KeyDown(KEY_S)) cameraPivot->Move(0, 0, -speed); } else { // pivot->Translate(0.1, 0.0, 0.0); // Works pivot->Turn(0.0, 1.0, 0.0); // Absorbs memory when loaded from glTF or glb. OK when loaded from obj or created inside program!! } world->Update(); world->Render(framebuffer); } return 0; } Attached is the files that are loaded from Models when testing (all stored using "save as" for the model in LW5 editor). BR Eirik System = Windows 10, Gfx card = NVidia 1650, latest LW5.01 Pro Steam edition). Tile.zip
  26. Josh

    Bazzite

    Well, I got to the point of wanting to trying out some games through Steam, and it's clear Fedora thinks you should not be doing any 3D work on their OS. With Mint it's very easy, other than that you will be copying and pasting tons of terminal lines of code and praying they still work. I tried Bazzite, Fedora, Kubuntu, and Mint. Although the KDE/Plasma UI is miles ahead of anything else, Linux Mint is the only one that is even trying to make a usable desktop OS. Everything else is just not seriously meant for desktop usage. Even if you can get it working, the longer and more convoluted the process is, the more time it will take when you inevitably have to reinstall the OS and do it all over again, the process will change from version to version, etc.
  1. Load more activity
×
×
  • Create New...