Jump to content

Yue

Members
  • Posts

    2,449
  • Joined

  • Last visited

Everything posted by Yue

  1. Yue

    Car System

    --#********************************************************* --# Proyecto : Sistema Vehiculo. --# Programador : Yue Rexie. --# Sitio Web : http://www.iris3dgames.ga --# Nombre Fichero : Jeep.lua --#********************************************************* --# Obervaciones : Fichero enganchado a una entidad --# Jeep (Malla) --#********************************************************* -- Clases. import("Scripts/Vehiculo/Clases/vehiculo.lua") -- Suspención. --*************** -- Ejes traseros. Script.ejeAmT1 = nil --entity "Eje T1" Script.ejeAmT2 = nil --entity "Eje T2" -- Ejes delanteros. Script.ejeAmF1 = nil --entity "Eje F1" Script.ejeAmF2 = nil --entity "Eje F2" -- Ejes Dirección llantas delanteras. Script.ejeDir1 = nil --entity "Eje DF1" Script.ejeDir2 = nil --entity "Eje DF2" -- Llantas Traseras. Script.llantaT1 = nil --entity "Rueda T1" Script.llantaT2 = nil --entity "Rueda T2" -- Llantas Delanteras. Script.llantaF1 = nil --entity "Rueda F1" Script.llantaF2 = nil --entity "Rueda F2" function Script:Start() -- Se crea el objeto jeep. jeep = vehiculo:New() -- Se crean los amortiguadores traseros. jeep:InitSusp(self.ejeAmT1,self.entity) jeep:InitSusp(self.ejeAmT2,self.entity) -- Se crean los amortiguadores delanteros. jeep:InitSusp(self.ejeAmF1,self.entity) jeep:InitSusp(self.ejeAmF2,self.entity) -- Se crea los motores ruedas Traseras. jeep:InitMotorRuedas( self.llantaT1, self.ejeAmT1) jeep:InitMotorRuedas( self.llantaT2, self.ejeAmT2) -- Se crea los motores ruedas Delanteras. jeep:InitMotorRuedas( self.llantaF1, self.ejeDir1 ) jeep:InitMotorRuedas( self.llantaF2, self.ejeDir2 ) -- Se crea los motores de dirección de las llantas frontales. jeep:InitMotorDir( self.ejeDir1, self.ejeAmF1) jeep:InitMotorDir( self.ejeDir2, self.ejeAmF2) end function Script:UpdateWorld() --self.suspT0:EnableMotor() local ventana = Window:GetCurrent() if ventana:KeyDown(Key.J) then self.entity:AddForce(0,25000,0) end end
  2. It's a lighting entity, a directional light. It's very strange, the error happens sporadically, what does not happen to you, is that even if I went out of leadwerks and entered again, it also happened, so I had to close a good time leadwerks and everything returned to normal, also if I made a copy of that entity, the copy if it worked. It seems that something stuck in the ram.
  3. Yue

    Car System

    In-process suspension system System Car.mp4
  4. Propierty pos error. Script.pos = pos(10,20,30) --pos "Player Pos"
  5. A Vec4 property does not work correctly to set properties, it does not save the data.
  6. Yue

    Car System

    This is a small project, to create a simple car system to sell to whoever is interested. And some of the content from my Spanish-language Leadwerks website.
  7. This really pleases me a lot, I thought I would never have an expensive device like that, but it turns out I can have a very cheap one. Thank you very much. And that's in Spanish, it's great for virtual reality.
  8. About mobile games, leadwerks 4.x is only for computers, however the new engine that works Josh, using the Vulkan Api, possibly if it supports mobile games.
  9. You are absolutely right, they are very varied factors in that this gets stuck, however I think I need more organization, invest some money in this if I want to do something really fun, like activate my steam account, but the main point that is, lack of organization, precisely the book I'm reading talks about it, says that every game starts in the mind but passes to a paper and tells the story of which Pacman invented, his game wrote it on a napkin. Translated with www.DeepL.com/Translator
  10. Yue

    Vulkan Nitty-Gritty

    The good thing about all this is that to create a simple triangle, you might pass us a function that is "CreateTriangle" with some parameters. And save us a lot of pain...
  11. Thank you all for your comments, I've chosen to blog the things I've learned with Leadwerks. I thought to find more people interested in developing video games that speak my native language. :) http://www.iris3dgames.ga/materiales-en-leadwerks/
  12. That confirms my suspicions, you are a programmer, I play to believe that I am, I know that you will succeed.
  13. Reading a book, on how to make idies games, mentions that the biggest failure is that motivation fades, and it is due to several factors. A very big project: At this time most people come from playing AAA games, this implies that the project covers a lot and instead of creating things this is in a learning process so the project ends up stopped, in the garbage. Then it says that people who have grown up with games from the 50's, 60's, have greater ease in creating a game, and that's where I get to understand why I'm not passionate about 2D games. I didn't grow up at that time. So he says, make a very small game, simple, unless you have enough money to invest, not only in powerful engine, but in human talent. This is where I get stuck, I've been through a great learning process, but there's always something new to learn, the problem is that this has no end, so doing something simple is the key. Do you have any suggestions, they are welcome. Translated with www.DeepL.com/Translator
  14. No, I don't consider myself a real programmer, that is to say the magic is done by the engine, I have no idea how to create a light, I have no idea how that light casts shadows on a static or dynamic mesh, I think that in this era of globalization we are made to believe that we are programmers when we use powerful tools such as Leadwerks, where the greatest work is already done, on the other hand we are users, creators of possible games, but the programmer in all this riddle is really you, the one who has the necessary tools for people like us to think we are programmers and create something fun. Translated with www.DeepL.com/Translator
  15. The best wishes in this project will surely be very pleasant results for users like us who are not real programmers.
  16. http://glslsandbox.com/e#53433.12 http://glslsandbox.com/e#53486.5 http://glslsandbox.com/e#53350.0
  17. I think you should get the surface first. Material* material = ((Model*)player.model->GetChild(1))->GetSurface(0)->GetMaterial();
  18. I don't understand this error that the script editor returns to me. ( Model limb not found. ), Any suggestions?
×
×
  • Create New...