I think if it is set to 0.0, The filter is still processed, as the filter were activate, so It consume resources.
Type: Posts; User: carlo697
I think if it is set to 0.0, The filter is still processed, as the filter were activate, so It consume resources.
It works perfectly now, The effect look very good!
Intel(R) G41 Express Chipset, with the updated blend appears only one error:
Hey Jackii, It appears these errors:
right click on those lyrics > Save file as...
Thank you! I'm thinking on record an small video of the game, I will make some changes before that.
Well, any help are welcome! :D you have to take into consideration that This game is not for high computers, So take care about polycount. I taiga would be nice (also named boreal forest), I don't...
Hey, when I open your 32 bits build, appears the error: blender.exe is not a valid win32 application:
The only platforms of bge are: windows, linux and mac.
Hey, your project looks really good, I love shading of characters and world and animations look great. ;)
Added two new images to items and craftings icons.
Well, I have had a single computer in my life, and it's 32 bits, so I don't know much about that, the only thing That I know is if you have 32 bit, you can't run 64 bits applications, if you have 64...
I think When I publish the game, I will do it on every platform: windows, mac, linux.
Remember, the explain I did is not the all system, it is more complex, but I put the main to get it working,...
Well, that's a good idea but it will be bit difficult because the script of the inventory have 1077 lines, the names of functions and variables are in spanish, and it's designed for using another...
Thank you :D I'm thinking on remodel some objects, as crafted knife, string and the pine, to make them more detailed (but as always, taking care about perfomance).
Replaced the pixelated annoying circles of the HUD with a circle texture and "fixed" a "bug", when the game replace a texture with video texture module, For any reason sometimes when the...
The bge module don't have any attribute named data. Bge python api
If you are trying to get an object, use this:
scene = bge.logic.getCurrentScene()
object = scene.objects["object name"]
Well, It only happens to me one time, I resolve the problem deleting the bad shapekeys, but It never happen again, maybe It's a bug, or anything more, do you have modifiers? can you show screenshots...
Explaining the inventory:
1 - Items window: It show all item slots, but not crafts icons.
2 - Craftings window: It dissapear all item slots show only crafts...
Just a simple and natural rock...It will replace the old rock model (which is just ugly).
And these are two axes that I made some months...
Congratulations! and who will organize the next BGMC? Smoking_mirror or Thatimster?
New submenus in items' options:
At the moment every button works, except all from "move to".
And testing it with a little...
You can disable mipmapping using this script:
from bge import render
Do you want that each face cover the complete texture individually? something like this:
try pressing "u" and select "reset".
I make my 3d models, I mainly take images from cgtextures.com, but sometimes from other sites (I always check the license), to edit the images I take from the web I use gimp and photoshop.
There is a some work to do before an playable game, but from scratch I have thought to public the game on every OS (Windows, Linux and Mac). :)
Hello, let me show you a game that I have been developing.
It's a survival game (yes... another one, I know there's a lot of their), I was making it for the BGMC 11, on that time the game was just a...
The unit of blender are meters, so this is the default cube:
It is 2x2 meters on every face.
For test the terrain...use a player, there is templates in the forum.
Why don't suppend physics of the flags when the player is far from it?
Maybe using a collision sensor, and with python get the velocity of the object in z cordinate (world), and use it value to rest life. You need to have a min value, of this manner the player won't...
This is a blender related question, not bge, anyway, Exactly what do you mean when you say that doesn't work, does it not create the vertex groups? try deleting all groups from the mesh and try again.
You can't change ghost in runtime, there is no attributes or functions to do it, what you can do as BluePrintRandom said, if you parent a object to another one, the ghost of the firts object will be...
Try disabling the alpha in all the materials, and deactivate backface culling is a bad idea, It give to the game a good perfomance, if you have problems with the normals, invert them, not deactivate...
With that button you make a screenshot, later go to paint and press ctrl+v
There is no thousands of blocks in minecraft, I mean, not literrally, every chunk is only a mesh, and this mesh do not have cubes inside, this mesh only have the shape of the terrain, and it does not...
Well, this with this node system you can get that effect.
Just change the blue, yellow and grass to red, green and blue and use a separate RGB node to replace each color with a texture.
If you use python, you can use: object.getActionFrame(layer), it is the same that MarcoIT said, but with python.
I think not, you have to use python to adjust the position of a block, but even with python you can't get a efficient block terrain(because the perfomance), if you want to have a voxel system, I...
More screenshots of my survival game, I'm still scripting things about the inventory, the new things now are:
-Lenguaje system, there is 2 lenguages: spanish and english.
Set the energy of a lamp to 0.
scene = bge.logic.getCurrentScene()
lamp = scene.lights["name of the light"]
lamp.enegy = 0.0 #Some value
Also, you can make an animation in...
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).
The game looks great! I really like the cars.
You can see the poly count in the screenshots.
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...
My example works in BGE.
Here's a simple example using a red, green, blue image as stencil, as pohjan said.
It uses material nodes.
Setting the sensors to tap does not fix the problem, if you put " and Property == True" in the expression controllers the problem disappears.
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...
Windows Xp professional, 32 bits.
I made an example to show how to use the globalDict and configparser for menu options:
Click the up and down arrows to increase and decrease the value, and click the save button to save the...
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).
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...
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...
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...
If the radar sensor is not touching anything, the "hitObject" will return a Nonetype value, try something this:
cont = bge.logic.getCurrentController()
Some screenshots of my survival game that I'm making:
Inventory (I'm still programing it, and the buttons are in spanish...):
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...
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...
If you use logic bricks, use the "Frame property" of the action actuator. It sets the selected property as the current frame.
Then, use a property sensor to check if the property is greater...
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...
Well, I could not finish the game, anyway, Good luck to all! :)
I'm ending the robot sprite, the menus are ready, the history will be shorter because I don't have time!
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...
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...
Working on levels:
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...
Screenshot from my game for the BGMC.
I hope I finish it before the challenge end :)
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...
Is this what you search for?
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...
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...
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.
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 ...
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...
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...
Even when I try to spawn the object executing the script in the main scene the errors still appears:
overLayScene = [scene for scene in bge.logic.getSceneList() if scene.name ==...
I make this blend for show the problem:
An empty run this script in the overlay scene "overLayScene":
overLayScene = bge.logic.getCurrentScene()
mainScene = [scene for...
I see you don't know much about python, the line: "Target=sens.hitObject" make reference to a variable(sens) that does not exist.
cont = bge.logic.getCurrentController()...
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 #Get the children
in the script, replace "shape" in the last line...
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:
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 =...
You need to store in a property if the object is already visible or invisible.
This is an example usig logic bricks:
But it is more easy to do with python, see the Mperonen example.
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.
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...
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?...
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...
Look at my last post, variance shadows don't support alpha shadows.
Ok, your file not work because you are using variance shadows, only simple shadows have support for alpha shadows.
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...
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...
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...
That isn't true, the spot lamps through surfaces:
It depend of the normals. But, you can enable shadows to avoid it, but point light have no shadows.
I make this example a some time ago, have a simple bullet hole and enemy health system.
The ray is casted using a sensor.
Edit post>Go advanced>Prefix=SOLVED.
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...
Some modifiers not work in realtime, and other works, but with bad perfomance. So, apply the modifiers.
This is the modifier:
The problem is texture it, is there to texturized it sphere...
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...
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...
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...