Search:

Type: Posts; User: carlo697

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    345

    [SOLVED] The changes are not too important in the 2.72,...

    The changes are not too important in the 2.72, http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Game_Development, If I were you, I would not upgrade (if my files would not work).
  2. Replies
    56
    Views
    5,410

    The game looks great! I really like the cars. ...

    The game looks great! I really like the cars.

    You can see the poly count in the screenshots.
  3. Replies
    2,231
    Views
    366,173

    Sticky: Thank you! I did an explanation of the tree...

    Thank you! I did an explanation of the tree cutting system here


    sdfgeoff your game looks very good! The "box-mapping" (what is exactly this? I guess It is a technique used to texture surfaces in...
  4. Replies
    6
    Views
    317

    My example works in BGE.

    My example works in BGE.
  5. Replies
    6
    Views
    317

    Here's a simple example using a red, green, blue...

    Here's a simple example using a red, green, blue image as stencil, as pohjan said.
    It uses material nodes.

    340470

    340469

    Red: sand.
    Green: grass.
    Blue: rock.
  6. Setting the sensors to tap does not fix the...

    Setting the sensors to tap does not fix the problem, if you put " and Property == True" in the expression controllers the problem disappears.

    339829
  7. Replies
    6
    Views
    315

    If you activate a actuator with python it will...

    If you activate a actuator with python it will continue activated until you deactivate it, deactivate it with: controller.deactivate("actuator name"), and I think the method you are using for move...
  8. [SOLVED] 337059 Windows Xp professional, 32 bits.

    337059
    Windows Xp professional, 32 bits.
  9. I made an example to show how to use the...

    I made an example to show how to use the globalDict and configparser for menu options:
    337044
    Click the up and down arrows to increase and decrease the value, and click the save button to save the...
  10. Try to use this...

    Try to use this, I don't know if it work on newer versions (I just use it one time, and it was only a test).
  11. For two and three, you have to save data in a...

    For two and three, you have to save data in a place from where it can be accessed easily, there 3 options:
    bge.logic.globalDict = A dictionary on where you can store whatever you want, and also you...
  12. Replies
    12
    Views
    391

    Well I see the script, I don't think the random...

    Well I see the script, I don't think the random number is the problem: if you don't have the lmb sensor set to triggering, or if you don't press it too many times, and if you are pressing the two...
  13. Replies
    12
    Views
    391

    Maybe is the random number that you generate, is...

    Maybe is the random number that you generate, is it running every line? in this case, it will generate a random number every frame, so every time the generate number is different than the last one...
  14. Replies
    12
    Views
    391

    If the radar sensor is not touching anything, the...

    If the radar sensor is not touching anything, the "hitObject" will return a Nonetype value, try something this:

    import bge
    cont = bge.logic.getCurrentController()

    hitSensor =...
  15. Replies
    2,231
    Views
    366,173

    Sticky: Some screenshots of my survival game that I'm...

    Some screenshots of my survival game that I'm making:
    336248
    Inventory (I'm still programing it, and the buttons are in spanish...):
    336250
    Tree cutting:
    336251
  16. 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...
  17. Replies
    5
    Views
    289

    [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...
  18. 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...
  19. 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...
  20. Replies
    23
    Views
    1,226

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

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

    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!
  22. Replies
    7
    Views
    620

    328755 328756 328757

    328755
    328756
    328757
  23. Replies
    7
    Views
    620

    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...
  24. Replies
    7
    Views
    620

    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...
  25. Replies
    7
    Views
    620

    Working on levels: 328459

    Working on levels:
    328459
  26. Replies
    7
    Views
    620

    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...
  27. Replies
    2,231
    Views
    366,173

    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 :)
  28. Replies
    11
    Views
    553

    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...
  29. Is this...

    Is this what you search for?
  30. Replies
    15
    Views
    524

    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...
  31. [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...
  32. [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.
  33. [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 ...
  34. [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...
  35. [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...
  36. [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 ==...
  37. [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...
  38. 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()...
  39. 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...
  40. 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
  41. 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 =...
  42. Replies
    9
    Views
    359

    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.
  43. 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.
    ...
  44. Thread: Wild craft!

    by carlo697
    Replies
    6
    Views
    668

    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...
  45. Replies
    11
    Views
    773

    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?...
  46. Replies
    4
    Views
    259

    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...
  47. Replies
    16
    Views
    916

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

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

    319652
  48. Replies
    16
    Views
    916

    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.
  49. Replies
    16
    Views
    916

    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...
  50. Replies
    6
    Views
    302

    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...
  51. Replies
    6
    Views
    302

    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...
  52. Replies
    7
    Views
    268

    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.
  53. Replies
    11
    Views
    512

    [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
  54. Replies
    35
    Views
    800

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

    Edit post>Go advanced>Prefix=SOLVED.
  55. Replies
    9
    Views
    512

    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...
  56. Replies
    34
    Views
    1,226

    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...
  57. Replies
    10
    Views
    497

    [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...
  58. Replies
    10
    Views
    497

    [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...
  59. Replies
    34
    Views
    1,226

    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...
  60. 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...
  61. I think it change the frame property of the...

    I think it change the frame property of the action actuator. propName
  62. Replies
    5
    Views
    1,007

    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...
  63. Replies
    44
    Views
    4,757

    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...
  64. Replies
    4
    Views
    167

    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"] -=...
  65. Replies
    44
    Views
    4,757

    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...
  66. 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...
  67. Replies
    19
    Views
    494

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

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

    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.
  69. [SOLVED] Thank you! I had no idea.

    Thank you! I had no idea.
  70. [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...
  71. Replies
    14
    Views
    433

    Use: bge.logic.getSceneList...

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

    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...
  73. Replies
    3
    Views
    201

    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...
  74. Replies
    3
    Views
    183

    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...
  75. Replies
    3
    Views
    201

    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...
  76. Replies
    17
    Views
    584

    [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 =...
  77. Replies
    17
    Views
    584

    [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...
  78. Replies
    17
    Views
    584

    [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...
  79. Replies
    6
    Views
    264

    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:
    ...
  80. Replies
    6
    Views
    264

    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...
  81. [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.
  82. [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,...
  83. [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...
  84. Replies
    23
    Views
    638

    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...
  85. Replies
    16
    Views
    675

    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...
  86. Replies
    13
    Views
    1,327

    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...
  87. Replies
    13
    Views
    1,327

    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...
  88. Replies
    13
    Views
    1,327

    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...
  89. Thread: Option menu

    by carlo697
    Replies
    8
    Views
    386

    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...
  90. Replies
    13
    Views
    1,327

    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...
  91. Replies
    4
    Views
    196

    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...
  92. You're welcome. ;)

    You're welcome. ;)
  93. 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.
  94. Replies
    3
    Views
    219

    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.
  95. 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.
  96. Replies
    20
    Views
    723

    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...
  97. Replies
    20
    Views
    723

    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),...
  98. Replies
    20
    Views
    723

    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...
  99. Replies
    20
    Views
    723

    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?
  100. Replies
    7
    Views
    265

    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...
Results 1 to 100 of 500
Page 1 of 5 1 2 3 4