Jump to content

khotan

Members
  • Posts

    190
  • Joined

  • Last visited

Everything posted by khotan

  1. I think it is incomplete your code to make a running smooth, you need to see the code with a premade as "CameraControls.lua" and then compare with your code on what it is wrong ... You need mouse as well and a setup of camera to view from world Hope that it helps you. Good luck.
  2. Yeah, UltraEngine 0.9.6 is very awesome ! Check it this news : UltraEngine 0.9.6 Pretty nice and useful to some features Happy coding !
  3. Yes why not to switch both from FPS and TPS
  4. TPS please ! I would like to learn it and it is the most fun too Thank you !
  5. Nice ! Good job !
  6. khotan

    engine.jpg

    Super cool !
  7. Hello Pleca, thank you it works now
  8. khotan

    bunny

    imported from bunny model (stanford)
  9. Hi I have a problem for adding image in gallery section... And it creates two stuff in gallery, don't know if it is a bug but it make slow to add it... Sorry about that, can fix this issue please ? Thanks.
  10. khotan

    MSAA + Effects

    Awesome !
  11. Hi Is it possible to create 2D game in Ultra engine ? And if yes, then what functions are used for ?
  12. Hi Josh, Can I create as game template in open source showing the source codes in Github ? Possible or not ? Cause I would like to share for everyone with a learning purpose Thanks in advance.
  13. In waiting for that of course and if it can help you, I suggest to read or buy a book from "Introduction to Game Developement by Steve Rabin (2e edition)", It make you more to understand on how to create a simple game
  14. Yes, please if someone have experiences in game templates, please share us it is useful for beginners , thank you to all
  15. Wow ! Thank you for sharing ! Awesome your work
  16. khotan

    monkey

    Testing in Ultra Engine Pro Steam from the model in Blender :) It is nice ! It works for me ^^
  17. Hi Josh ! Have you thinking to include some game templates in Ultra Engine as Leadwerks ? Please some us wanna to learn on how to make a good game from this all Example of game simple : FPS, Third Person shooter and other any kind of games are welcome too for learning ! Because all projects created in Ultra Engine are void... Some us are thinking hard to make one so no easy and attract some news users as well too for starting their project and mine Hope this things will be heard ? And done by you to make a better games that we will be inspired by your ^^ Thank you for your hard work, please keep it up cause Ultra Engine is better than previous, that is for sure !
  18. Testing again, strange it works to load it but I don't see my scene after compiling in VS 2022...
  19. Ok there is a zip for my map, I make simple from the content of Ultra Engine I put a cube, a light and a camera. Hope that you can check whait is the problem ? my_cube.zip
  20. Ok a lot of testing I try to camera->Move(0,5,-10) it works I see the green ground plane ! But for loanding my_cube.ultra doesn't work well though...
  21. Ok later I modified the source from the base code but with a black window now : #include "UltraEngine.h" #include "ComponentSystem.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { RegisterComponents(); auto cl = ParseCommandLine(argc, argv); //Load FreeImage plugin (optional) auto fiplugin = LoadPlugin("Plugins/FITextureLoader"); //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); //Create a framebuffer auto framebuffer = CreateFramebuffer(window); //Create a world auto world = CreateWorld(); //Create a camera auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetFov(70); camera->Move(0, 0, -10); //Create a light auto light = CreatePointLight(world); light->SetPosition(0, 10, 0); light->SetColor(2); //Create ground auto ground = CreateBox(world, 20, 1, 20); ground->SetPosition(0, -0.5, 0); ground->SetColor(0, 1, 0); /* //Load the map WString mapname = "Maps/my_cube.ultra"; if (cl["map"].is_string()) mapname = std::string(cl["map"]); auto scene = LoadMap(world, mapname);*/ //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { world->Update(); world->Render(framebuffer); } return 0; }
×
×
  • Create New...