Jump to content

All Activity

This stream auto-updates

  1. Today
  2. I bought and installed the Ultra Engine again, this time as a standalone version (not the Steam version). I don't know why, but now both versions are working. Both the Steam version and the standalone version open again under Beta 0.98e. The only problem now is that when I activate tessellation, and i build a terrain the FPS drops to 10 ( 512x512) in the client 3D view. ( 64x64 fps 39) So, at the moment, I can only work with tessellation turned off. Projects are up to date in the project manager. But for the moment i am happy to work again at my project.
  3. Ah, I see why. I fixed that so it will work.
  4. Ah, actually it was AppDir() that failed me in real case. Just found it after a more research. It cut path to non-latin chars. For example Instead of "D:/Workspace/Тест" it returns "D:/Workspace/"
  5. You must specify a wide string: auto stream = ReadFile(L"Тест/Test.txt");
  6. Happy December Everyone! Here's a cool new track I just created for my Sci-Fi 13 page: "THE STREETS OF CYBERTROPOLIS" https://soundimage.org/sci-fi-13/ As always, it's 100% free to use with attribution, just like my thousands of other music tracks. OTHER NEWS Just began work on the music score for "Neon Hearts City," a new game in production from the same studio that created "Devil's Hideout," another game I scored. Fun stuff! Hit me up if you need help with your projects! :-)
  7. ReadFile is not loading a file, if path contain non-latin (or at least Cirycilic) symbols. #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { auto stream = ReadFile("Тест/Test.txt"); if (!stream) { Print("Fail to load"); } else { WString text = stream->ReadString(); Print(text); } return 0; } Тест.zip
  8. Just pushed an update that should fix this...sorry for the inconvenience....
  9. Same in c++, tried even example from Learn. Font is not loading
  10. Thank you Josh, it's working now.
  11. Yesterday
  12. Okay, it should work with the update I just uploaded. You need to update your project to get the latest binaries.
  13. Stay tuned, I know the cause of this...
  14. Here is a simple font test project using the example from the docs. There's a possibility I'm doing something wrong, but I really don't know what. FontTest.zip
  15. Yeah, you're right font isn't loaded, so it's NULL. However, I created a new project and tried running the example from the docs, and I got the same result. -- Get the displays local displays = GetDisplays() -- Create a window local window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[1], WINDOW_TITLEBAR + WINDOW_CENTER) -- Create a framebuffer local framebuffer = CreateFramebuffer(window) -- Create a world local world = CreateWorld() -- Create a camera local camera = CreateCamera(world, PROJECTION_ORTHOGRAPHIC) camera:SetClearColor(0.125) camera:SetPosition(framebuffer.size.x * 0.5, framebuffer.size.y * 0.5, 0) -- Create sprite local fontsize = 36 local font = LoadFont("Fonts/arial.ttf") local sprite = CreateSprite(world, font, "Hello, World!", fontsize) local rect = CreateSprite(world, font:GetTextWidth("Hello, World!", fontsize), font:GetHeight(fontsize), true) --sprite:SetPosition(0,0,0) rect:SetPosition((framebuffer.size.x - rect.size.x) * 0.5, (framebuffer.size.y - rect.size.y) * 0.5, 0) sprite:SetPosition((framebuffer.size.x - rect.size.x) * 0.5, (framebuffer.size.y - rect.size.y) * 0.5, 0) -- Main loop while (not window:Closed()) and (not window:KeyHit(KEY_ESCAPE)) do -- Update world world:Update() -- Render world world:Render(framebuffer, true) end Not sure what I'm doing wrong, but I keep getting these errors: Loading font "Fonts/arial.ttf" Error: Failed to load font. Error: Failed to load font "Fonts/arial.ttf" Deleting font "Fonts/arial.ttf" I'm sure arial.ttf is present in the Fonts directory.
  16. Make sure that font is not NULL.
  17. Has syntax for CreateSprite function changed? The following line of Lua code produces an error, even though it worked perfectly fine yesterday. local statsSprite = CreateSprite(world, font, "", fontsize)
  18. Has any parms. changed with this command? I'm getting errors with this line of code since updating. self.ui = CreateInterface(world, self.font, framebuffer.size)
  19. 0.9.8 Optimized player physics. Assert function is replaced with a more efficient macro.
  20. Surface numbers appear what effected so you know what to place in that surface by what texture saved for that object. In leadwerks they are numbered but until you apply something you do not know where it applies.
  21. Last week
  22. 0.9.8 Fixed some problems with player collision. Works really nicely now! Navmeshes loaded from scene files will be invisible by default.
  23. 0.9.8 Brushes are always created with zero edge size and bevel disabled. Fixed render layers setting not reloading in editor. Fixed navmesh position and rotation not being saved / loaded in scene file.
  24. Oh wow, I knew this was possible but thanks for the example. I hope more couch co-op games are made because of this post.
  25. Works. Thank you but shouldn't you be asleep now? Looking forward to tomorrows Weekend workshop Youtube video. As much as I would love to join the disscussion, being at 05:00 on Sunday morning its just not going to happen:)
  26. Can you do an uninstall / reinstall of the engine (not the whole client, just press the uninstall button and then press install.) I had to re-upload it, but since it is the same file and the file time did not change, the downloader does not detect the change.
  1. Load more activity
×
×
  • Create New...