Jump to content

YouGroove

Members
  • Posts

    4,978
  • Joined

  • Last visited

Posts posted by YouGroove

  1. I know shader as the mix function, but it uses a fixed value we put in the shader for the percentage of mixing textures.

    But it is possible to do it throught time and control it ?

     

    I mean yo have some character with fire texture and with some user action like keypressed , the texture fade to another ice texture on diffuse map and on glow map.

    Pressing another key , the texture would fade from ice to fire.

  2. Dude it's a game engine not game MAKER

    So Unity i a super game maker if you consider such tool as not needed or not common used.

    I don't consider tools like : shader, cinematic, mecanim, states behaviour, time line editor etc ... as game maker, but project boosters and gigantic project time saviours.

     

    Coder and 3d artist, we can't understand each other on 3D engines i think laugh.png

     

    Creating the game in LE3 and compared to some other 3D engines workflow, i just post a suggestion when i see some feature or tool is like missing.

    I am not asking make this tools , it is just some 3D artist feedback that Josh is free to drop it or consider it for later.

  3. It works but only if it is saved as a new file.

     

    If i add particle to the model and save it to overwrite the old prefab, the saved overwritten prefab don't have particles at runtime.

     

    Only saving as a new prefab file and it works, so i think there is some problem with prefab saves that can happen at some point where you can only save as a new file name to get last changes.

    post-3271-0-93025200-1445082969.jpg

  4. Use animating atlas shader or if really necessary AVI plugin or something like that. I think there was one around here.

     

    Is there some out of the box in LE3, ready to use functions without needing to code it ?

    like

     

    LoadAnimTexture( .. ... , xSizeUnit, ySizeUnit)

    PlayAnimTexture(speed)

     

    We don't have that for playing animation effects we could import.

    So this is why i asked Gif as a workaround solution.

  5. It caused problems when I wanted to attach things to limbs.

    We could have the choice.

    For me it's a pain, as i need to attach to characters only 2 percent of the developping time.

     

    If it is robot, building or structure hierarchy , i won't attach anything also, so displaying the hierarchy just annoys scene lisibility.

  6. I made a particle attached it as child to a model that has a script.

    When the game runs , the particle is not visible or started.

     

    I also tried in the parent script to init the particle with Play() , but it also does not work.

     

    function Script:Start()
    
    self.effect = self.entity:FindChild("effect")
    self.effect:Play()
    
    end
    

    post-3271-0-05458300-1445037006_thumb.jpg

  7. I just tried your syntax

     

    if self.state == "idle" then   
      self.animationmanager:SetAnimationSequence(self.state,0.02,200)
     end
    
     if self.state == "walk" then   
    	 self.animationmanager:SetAnimationSequence(self.state,0.05,200)
     end
    
     if self.state == "attack1" then
    
    	  if self.attackType == 1 then 
    	   self.animationmanager:SetAnimationSequence("attack1",0.05,200,1,self,attack1Done)
    	  else  
    	   self.animationmanager:SetAnimationSequence("attack2",0.05,200,1,self,attack1Done)
    	  end
     end   
    

     

     

    It doesn't work good and worst than keeping "self." . Keeping all anims calls in UpdateWorld all just works good.

     

    I posted some example , you can play with it.

  8. What happens when you attach an empty script to the light?

    I don't know, but i just expect a simple light to not interfere with a physic object.

     

    The script is just a physics moving script attached to a physic sphere , than the light is added as child of the sphere.

    Without the light the sphere movement is ok.

  9. I have a prefab fireball moving , but adding a light to the prefab fireball and it just no more moves.

     

    How to test :

    Dezip in directory "test" at your project root

    load map "prefabTest.map"

    Launch to see fireball just not moving

     

    Change fireball prefab of the yellow launcher to "fireball.pfb" to see fireball without lights moving.

    post-3271-0-49731400-1445025910_thumb.jpg

    test.zip

  10. The image is not colored when it is drawn on screen.

     

    Here is my PostRender code :

     

    if self.drawAttack then
     context:SetBlendMode(Blend.Alpha)
     local posX = math.floor((context:GetWidth() - self.imageAttack:GetWidth()))/2
     local posY = math.floor((context:GetHeight() - self.imageAttack:GetHeight()))/2
     context:DrawImage(self.imageAttack, posX, posY)
     context:SetBlendMode(Blend.Solid)
    end
    
    

    post-3271-0-84719100-1445023364_thumb.jpg

  11. I have that :

     

    world=World:Create()
    world:SetLightQuality((System:GetProperty("lightquality","2")))

     

    Than search on official API, but nothing about to set up anti aliasing or shadow quality manually , or are they on some topic i didn't find ?

×
×
  • Create New...