Search:

Type: Posts; User: carlo697

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. 333197 Receive: can the object receive casted...

    333197

    Receive: can the object receive casted shadows from other objects?
    Cast: can the object cast shadows?

    So, disable it on every material, and enable it on the objects you want to cast...
  2. Replies
    5
    Views
    272

    [SOLVED] There's many minecraft build system examples in...

    There's many minecraft build system examples in the forum, you can do a build system like minecraft (what it is not to difficult), the thing that is hard to do is get a good perfomance, because...
  3. If you use logic bricks, use the "Frame property"...

    If you use logic bricks, use the "Frame property" of the action actuator. It sets the selected property as the current frame.
    330947
    Then, use a property sensor to check if the property is greater...
  4. Here's the python apy of the...

    Here's the python apy of the getCurrentController() if you see, there's a button that says "Return type"(you can click it), the getCurrentController() return the class...
  5. Replies
    23
    Views
    1,129

    Well, I could not finish the game, anyway, Good...

    Well, I could not finish the game, anyway, Good luck to all! :)
  6. Replies
    7
    Views
    563

    I'm ending the robot sprite, the menus are ready,...

    I'm ending the robot sprite, the menus are ready, the history will be shorter because I don't have time!
  7. Replies
    7
    Views
    563

    328755 328756 328757

    328755
    328756
    328757
  8. Replies
    7
    Views
    563

    Well, the BGMC end tomorrow at midnight, so if I...

    Well, the BGMC end tomorrow at midnight, so if I fishish the game at time, it would be in Finished Games forum, I hope I finish the game.


    Load level system complete, and also the save of data...
  9. Replies
    7
    Views
    563

    Thank you. :) I'm coding the load level...

    Thank you. :)


    I'm coding the load level system, but the LibFree function is not working, there's not error on the console, but apparently it not work, because the LibLoaded objects are still...
  10. Replies
    7
    Views
    563

    Working on levels: 328459

    Working on levels:
    328459
  11. Replies
    7
    Views
    563

    BGMC 13 | Crazy Robots [unfinished]

    Hi, this is the game that I'm working for this BGMC. :D

    The history basically this:

    It is the year 2014(this year...), the army was hiding combat robots that nobody knew, also laser guns, all...
  12. Replies
    2,217
    Views
    358,359

    Sticky: Screenshot from my game for the BGMC. 328193 ...

    Screenshot from my game for the BGMC.
    328193
    I hope I finish it before the challenge end :)
  13. Replies
    11
    Views
    531

    The game looks good! I like the ship spaceship....

    The game looks good! I like the ship spaceship. Are you thinking in make a video?


    Just post your game in the Finished Games forum before the end of the challenge, with this name: BGMC 13 | *Name...
  14. Is this...

    Is this what you search for?
  15. Replies
    14
    Views
    371

    Well, I'm not surprised, that amount of objects...

    Well, I'm not surprised, that amount of objects is really high.

    I'm also working on a survival game, each tree is cuttable, but they are only one object, at the moment of cut the tree, I spawn a...
  16. [SOLVED] Actually that's what I most wanted to avoid,...

    Actually that's what I most wanted to avoid, because the idea is can "create new content" easily, the concept that I use for items and trees(and there will be more things like craftings, maps) is...
  17. [SOLVED] Yes, you're right, I can't replace a mesh in the...

    Yes, you're right, I can't replace a mesh in the overlay scene with one that is in another scene. I don't have idea of what I will make.
  18. [SOLVED] Well, I'm going to just spawn an object that is...

    Well, I'm going to just spawn an object that is in the overlay scene and replace his mesh...anyway Thank you! sometimes I struggle to understand some things ...
  19. [SOLVED] I know that! In the script I have acces to the...

    I know that!

    In the script I have acces to the another scene using the ge.logic.getSceneList().

    But in another file(this file has nothing to do with it), it has objects that are in some...
  20. [SOLVED] Thanks, now i understand, so i can't add a object...

    Thanks, now i understand, so i can't add a object that resides in another scene(only call KX_GameObject), unless it is libloaded(or if it comes from an external source), right? The problem is even if...
  21. [SOLVED] Even when I try to spawn the object executing the...

    Even when I try to spawn the object executing the script in the main scene the errors still appears:


    import bge
    overLayScene = [scene for scene in bge.logic.getSceneList() if scene.name ==...
  22. [SOLVED] Add a object that is in the main scene in a overlay scene?

    I make this blend for show the problem:
    325937

    An empty run this script in the overlay scene "overLayScene":


    import bge
    overLayScene = bge.logic.getCurrentScene()
    mainScene = [scene for...
  23. I see you don't know much about python, the line:...

    I see you don't know much about python, the line: "Target=sens.hitObject" make reference to a variable(sens) that does not exist.

    This work:

    import bge
    cont = bge.logic.getCurrentController()...
  24. Also, I realized that it is not necessary have...

    Also, I realized that it is not necessary have the object parent(i don't know why i did it), just delete:

    shape = own.children[0] #Get the children
    in the script, replace "shape" in the last line...
  25. I think the only way to toggle ghost in realtime...

    I think the only way to toggle ghost in realtime is parent the object to another, but makes your object can not move.

    To do what you want maybe you will try use collision groups and mask:
    324685
  26. If you will use a mesh You can use python to get...

    If you will use a mesh You can use python to get the distance from the start of the ray to the hit position, and use it as value in one of the axis of scale.



    import bgecont =...
  27. Replies
    9
    Views
    332

    You need to store in a property if the object is...

    You need to store in a property if the object is already visible or invisible.
    This is an example usig logic bricks:
    324348
    But it is more easy to do with python, see the Mperonen example.
  28. That's parallax mapping, it's very complex...

    That's parallax mapping, it's very complex because it needs a shader. You can write a GLSL shader or use the material noding. Some examples:
    This use nodes., and this is a video. This is another.
    ...
  29. Thread: Wild craft!

    by carlo697
    Replies
    6
    Views
    645

    Looks good, but I do like not the slime(the...

    Looks good, but I do like not the slime(the position of his eyes and mouth).
    I sad in the screenshots that the game does have not HUD(specifically inventory), but there is buildings, so you just put...
  30. Replies
    11
    Views
    739

    Well, I like the game, I always liked games based...

    Well, I like the game, I always liked games based on physics.

    I think that the amuddypizza's post was a little exaggerated, sincerely...

    A question little question, what do the pow() function?...
  31. Replies
    4
    Views
    252

    If you want that the armature not collide with...

    If you want that the armature not collide with the character, set it to "no collision", there is no reason for having it set to ghost(no collision and ghost are not the same) and for your original...
  32. Replies
    16
    Views
    842

    Look at my last post, variance shadows don't...

    Look at my last post, variance shadows don't support alpha shadows.
    319653

    319652
  33. Replies
    16
    Views
    842

    Ok, your file not work because you are using...

    Ok, your file not work because you are using variance shadows, only simple shadows have support for alpha shadows.
  34. Replies
    16
    Views
    842

    That option is only for renders, it not works in...

    That option is only for renders, it not works in the bge.



    Realtime alpha shadows not work in the preview, try open the game pressing "P" or use the standalone player and make sure these...
  35. Replies
    6
    Views
    289

    Why a gun need collision? if you talk about guns...

    Why a gun need collision? if you talk about guns on the floor, that use a low poly mesh as collision mesh. About the collision bounds, i don't know if tris are better than quads, because I normally...
  36. Replies
    6
    Views
    289

    This is the method that I use: 1)Model the...

    This is the method that I use:

    1)Model the gun: I just model every model poly by poly.
    2)Unwrap the gun: I use seems, even for structures.
    3)Make the textures for the gun: diffuse map, normal...
  37. Replies
    7
    Views
    259

    That isn't true, the spot lamps through surfaces:...

    That isn't true, the spot lamps through surfaces:
    318031

    It depend of the normals. But, you can enable shadows to avoid it, but point light have no shadows.
  38. Replies
    11
    Views
    480

    [SOLVED] I make this example a some time ago, have a...

    I make this example a some time ago, have a simple bullet hole and enemy health system.
    The ray is casted using a sensor.
    317738
  39. Replies
    35
    Views
    760

    [SOLVED] Edit post>Go advanced>Prefix=SOLVED.

    Edit post>Go advanced>Prefix=SOLVED.
  40. Replies
    9
    Views
    496

    Do you speaks spanish? I see you properties are...

    Do you speaks spanish? I see you properties are named with spanish words. I speak spanish.

    See the frame rate information, see the physics, that value is extremely high! maybe a blend file would...
  41. Replies
    34
    Views
    1,181

    Some modifiers not work in realtime, and other...

    Some modifiers not work in realtime, and other works, but with bad perfomance. So, apply the modifiers.
    This is the modifier:
    317219

    The problem is texture it, is there to texturized it sphere...
  42. Replies
    10
    Views
    473

    [SOLVED] However, looking you not going to use GLSL, the...

    However, looking you not going to use GLSL, the skybox or skydome are the best methods for you. If you going to use GLSL in the future: information about lamp setup, and martinsh's sky shader modidy...
  43. Replies
    10
    Views
    473

    [SOLVED] As say monster, you can use a skybo or a skydome....

    As say monster, you can use a skybo or a skydome. If you want moving clouds, use a skydome that have not clouds in the image, and have the clouds in a separate mesh, to animate it you can use a...
  44. Replies
    34
    Views
    1,181

    The game looks funny. :) But sincerely, i not...

    The game looks funny. :)
    But sincerely, i not like the textures, why? the colors are very light, and it lacks a bit of randomness, for example the grass: yellow and green very light, and need some...
  45. Glossiness? you mean specular? :confused: 316763...

    Glossiness? you mean specular? :confused:
    316763
    I think this kind of question is more a blender question, not a bge question...
  46. I think it change the frame property of the...

    I think it change the frame property of the action actuator. propName
  47. Replies
    5
    Views
    950

    Looks good. I think the object color can be...

    Looks good. I think the object color can be useful, maybe you can use it as intensity for each weather. For example you can use the red value as intensity of the rain. So if it rains(in game), use a...
  48. Replies
    42
    Views
    4,223

    La verdad que no se donde...normalmente cuando...

    La verdad que no se donde...normalmente cuando texturizo algo es:
    1)unwrap el objeto.
    2)Exporto en una imagen los uv del objeto.
    2)Conseguir muchas fotos del objeto.
    3)Usar gimp para cargar la...
  49. Replies
    4
    Views
    163

    A easy way is use a timer property to know if you...

    A easy way is use a timer property to know if you passed 2 seconds after the collision.
    Example:

    collision = ....
    if own["health"] >= 1:
    if collision.positive:
    own["health"] -=...
  50. Replies
    42
    Views
    4,223

    Bueno, veo que hablas español, o eso parece. Los...

    Bueno, veo que hablas español, o eso parece.
    Los modelos 3d se ven muy bien, Espero verlos cuando estén texturizados, y lo que ya estan texturizados se ven bien, aunque algunos son un poco oscuros y...
  51. If you want to copy a scene of a blend file, to...

    If you want to copy a scene of a blend file, to another, use linking(see this) or append(it do a copy).
    If you want to load a scene from a blendfile to the game in realtime Use dynamic loading with...
  52. Replies
    19
    Views
    489

    Try locking the x translation in physics tab....

    Try locking the x translation in physics tab.
    315730
    It is for dynamic and rigid bodys.
  53. Replies
    11
    Views
    548

    You can use a fragment shader (2d filter) to do...

    You can use a fragment shader (2d filter) to do the cell shading, for the tessellation, i think it need a geometry shader...which aparently bge has no support.
  54. [SOLVED] Thank you! I had no idea.

    Thank you! I had no idea.
  55. [SOLVED] [Weight Paint]All values over 0.0 deform the mesh as a value of 1.0

    I model a hand, and I'm in the process of rigging.
    315083
    This is not my first rig, but I was always satisfied with the automatic weights, but now I need manually place the weights.
    I can't upload...
  56. Replies
    14
    Views
    416

    Use: bge.logic.getSceneList...

    Use: bge.logic.getSceneList
    And a easy way to get the scene using the getSceneLis, see this.
  57. Replies
    11
    Views
    529

    Also, some shaders have a variable named samples,...

    Also, some shaders have a variable named samples, decrease it to obtain an improvement in the performance, and other have somenthing like this: #kernel_size = 3, try reducing it.

    As MrPutuLips...
  58. Replies
    3
    Views
    192

    What you need is: 1)Need a value that can easily...

    What you need is:
    1)Need a value that can easily be accessed, example, a global variable, the value can be for example: a value between 0 and 2, you can load this value from a file, and when one...
  59. Replies
    3
    Views
    177

    You mean cascaded shadow(also have other names,...

    You mean cascaded shadow(also have other names, like frustum shadows, split shadows) mapping? No, that is a technique that need to edit the source code to implement.

    Kupoman was making a cascaded...
  60. Replies
    3
    Views
    192

    1)Resolution, use this...

    1)Resolution, use this python function.
    2)Sound volumes, use a global variable or load it from a file, and use it as volume.
    3)Draw distance, like the above, but i'm not sure if one can change the...
  61. Replies
    17
    Views
    574

    [SOLVED] Ok, I was researching, and the setParam only work...

    Ok, I was researching, and the setParam only work with 6dof constraint and the values need to be in radians.

    Test this code:


    constraint_type = 12 #12=6dof constraint
    headConstraint =...
  62. Replies
    17
    Views
    574

    [SOLVED] 0.01 is a very low value, try increase it. Also,...

    0.01 is a very low value, try increase it. Also, you want to limit the rotation or the movement? with that code you are limiting the movement in the local axis X a value of 0.01 and what type of...
  63. Replies
    17
    Views
    574

    [SOLVED] You need to store the constraint in a variable: ...

    You need to store the constraint in a variable:

    constraint = constraints.createConstraint....


    And use the attribute setParam with it variable:


    constraint.setParam(0, 0.0, 0.0) #Limit the...
  64. Replies
    6
    Views
    249

    Two errors: 1)In the line 5: the class that...

    Two errors:

    1)In the line 5: the class that manage the scenes not have attributes or functions that are named "object", maybe you mean "objects":
    Change:

    cube = scene.object["Cube"]
    With:
    ...
  65. Replies
    6
    Views
    249

    Use code tabs for put the code, and always open...

    Use code tabs for put the code, and always open the console to see the errors of the script.

    worldOrientation return a 3x3 matrix, you can't acces to it like a euler(like the worldPosition), try...
  66. [SOLVED] Thanks monter :) add a vertice that is inside the...

    Thanks monter :) add a vertice that is inside the view of the frustum cone work and I think also the update of the bounding box on an animation would be a good request.
  67. [SOLVED] Actually the armature not are animated, i just...

    Actually the armature not are animated, i just set a simple position(visible from the camera), and I add an action actuator with a animation that only are one frame(in the recent version of blender,...
  68. [SOLVED] Cannot solve problem with armature and frustum culling

    I dowload a model from blendswap(fps hands) and I add a simple node setup for a fake subsurface scattering.
    My problem is the object disappears when is near to the camera, this is not a cliping...
  69. Replies
    23
    Views
    614

    Also if the mesh have a good topology you can use...

    Also if the mesh have a good topology you can use the edge loop tool for decrease the polygon number, select a row of edges using ALT+MOUSE RIGHT BUTTON, press X and select edge loop.

    PD: This...
  70. Replies
    16
    Views
    639

    Why no use nodes? use nodes and use some value...

    Why no use nodes? use nodes and use some value for the intensity of the normal map, nodes cannot get acces to game properties, but can get information from lamps, and other things. With this way you...
  71. Replies
    13
    Views
    1,236

    It's a option of blender(render), that can do...

    It's a option of blender(render), that can do waves on surfaces, or somenthing like this.

    http://www.youtube.com/watch?v=b9zHH_YZUG0

    So, the effect showed in the original thread are like...
  72. Replies
    13
    Views
    1,236

    Here is the underwater view what i was making....

    Here is the underwater view what i was making.
    312799

    http://youtu.be/8Fr21Z0stOk

    The nodes of the underwater are organized..but no the nodes of the water...

    Controls:
    -WASD: move
    -Mouse...
  73. Replies
    13
    Views
    1,236

    Yes, but the sofy body are a little buggy,...

    Yes, but the sofy body are a little buggy, sometimes when one start the game the water just flies(sometimes, and also sometimes when change scene layers), right now in the file that i'm working the...
  74. Thread: Option menu

    by carlo697
    Replies
    8
    Views
    364

    The string need to start with a uppercase, if I...

    The string need to start with a uppercase, if I remember correctly....

    EDIT: Nope, I was wrong, apparently, your script work correctly, try dowloading a version of blender from the buildbot, about...
  75. Replies
    13
    Views
    1,236

    I make a simple foam for the water using the idea...

    I make a simple foam for the water using the idea from Jackii.
    312562

    Also, one dont want static objects generate moving on the water, so i change the collision mask of the water, now only the...
  76. Replies
    4
    Views
    190

    The shading are set to multitexture, change it to...

    The shading are set to multitexture, change it to GLSL and set the clip start value more low, with 2.0 looks good.

    EDIT: Richard Marklew you are fast...
  77. You're welcome. ;)

    You're welcome. ;)
  78. Use the enforce...

    Use the enforce attribute.



    contraint.enforce = 0.5 #Need a number between 0 and 1

    Tested, and working.

    PD: there is some interesting things in the api documentation.
  79. Replies
    3
    Views
    214

    Maybe this day/night cycle would be usefull:...

    Maybe this day/night cycle would be usefull: Day/Night cycle setup. No shaders needed, it use a method like what you want, and the scripts used are simple.
  80. Use the active attribute active...

    Use the active attribute active of BL_ArmatureConstraint



    armature = scene.objects["armature"]
    constraint = armature.constraints[0]
    constraint.active = True

    I tested it and work.
  81. Replies
    20
    Views
    683

    Here is an example of shoots using rays..without...

    Here is an example of shoots using rays..without the ray speed, 311719, the rays used here not have velocity, but can be usefull for somebody, and also someone can use it as base for make an example...
  82. Replies
    20
    Views
    683

    I am also interested in what say Jackii, i know...

    I am also interested in what say Jackii, i know the end and start values of the ray can be change in realtime, but how manage each ray hitted, because you can shoot 5 times in a second(an example),...
  83. Replies
    20
    Views
    683

    The rays hit instantly, it no have velocity, what...

    The rays hit instantly, it no have velocity, what do you mean? if you like i'm can make an example(use python). The question remains, what is exactly do you want to make?

    EDIT: i'm making an...
  84. Replies
    20
    Views
    683

    If you going to use a ray, why shoot a bullet?...

    If you going to use a ray, why shoot a bullet? what is exactly do you want to make? kill a enemy? bullet hole?
  85. Replies
    7
    Views
    258

    The ray is for get the position at the moment of...

    The ray is for get the position at the moment of it hit the wall, originally you say you are doing a bullet hole, the idea to make a bullet hole is:
    311559
    -At the moment of the shoot cast a ray...
  86. Replies
    7
    Views
    258

    That is a problem, when a object is moving, it is...

    That is a problem, when a object is moving, it is "teleporting"(even if you are using linear velocity), in a frame the object have a position, and at the next frame have another position, so if the...
  87. Replies
    7
    Views
    258

    I think it's happened because the bullet is going...

    I think it's happened because the bullet is going too fast, there is not problem with end object. To make a bullet hole is recommended cast a ray and spawn the bullet at the position that hit the...
  88. Replies
    4
    Views
    222

    There is not way, a thing that you can do is try...

    There is not way, a thing that you can do is try use a ray, en use ray.hitPosition to get the position, also maybe the object.getReactionForce can be usefull.

    PD: thanks agoose77 for the...
  89. You have blender 2.7? the lamp node only work...

    You have blender 2.7? the lamp node only work with the 2.7 version.

    That looks really nice! also this demonstrate the power of the nodes, you can make things very good with nodes, like this, your...
  90. Replies
    3
    Views
    193

    You can convert the 3x3 matrix of the...

    You can convert the 3x3 matrix of the object.localOrientation to a euler:


    #Convert the matrix
    rotation = object.localOrientation.to_euler()

    #Make the changes that you want
    rotation.x=......
  91. Replies
    7
    Views
    275

    That not looks like a problem, the console always...

    That not looks like a problem, the console always show commands(for the standalone player), when you open the Standalone player but on top of the screenshot I can see errors, but I'm not sure what...
  92. Replies
    1
    Views
    253

    Wrong forum, this is for "resources" of the game...

    Wrong forum, this is for "resources" of the game engine.
  93. Replies
    5
    Views
    352

    I dont know much of glsl programming, just some...

    I dont know much of glsl programming, just some little things.

    I believe that is not a bug, when more lower are "start" value of the camera more white goeing to be the depth texture.

    Try this...
  94. Potatobob, just a tip: you are using "quotes" for...

    Potatobob, just a tip: you are using "quotes" for put the script, do not do that, use code tags.
  95. Replies
    3
    Views
    194

    Don't use bpy within bge(it is not avaible in...

    Don't use bpy within bge(it is not avaible in standalone player, and most of its functions do not work with bge), and it is impossible create a mesh in runtime. You can edit mesh in realtime, but not...
  96. Replies
    1
    Views
    149

    There is a way with python, look at...

    There is a way with python, look at scene.gravity

    Example, invert the gravity:

    import bge
    bge.logic.getCurrentScene().gravity = [0,0,9.8]
  97. Replies
    3
    Views
    222

    Use a particle system using objects and make...

    Use a particle system using objects and make instances of it.

    1)Set blender to "Blender Render".
    2)Go to the particle tab and apply a particle system
    3)Now in the particle tab:
    -Emission:...
  98. Try using groups: -Add all parts of the zombie...

    Try using groups:
    -Add all parts of the zombie to a group.
    -Create a empty with the group of the zombie and put it in a inactive layer.
    -Spawn the empty with the group.
  99. Oh, i forget that, sometimes i simply answer fast...

    Oh, i forget that, sometimes i simply answer fast and I forget some details, anyway Thank you!
  100. The KX_GameObject have an attribute...

    The KX_GameObject have an attribute for get the scene in which it is stored, I think it would be a much easier way, example:


    if object.scene.name == bge.logic.getCurrentScene().name:
    print...
Results 1 to 100 of 500
Page 1 of 5 1 2 3 4