Search found 35 matches

by SolarLune
Sun Feb 13, 2011 1:05 am
Forum: Interactive 3d
Topic: Python setGLSLMaterialSetting not working 2.56
Replies: 5
Views: 2029

Oh, yeah, I think you may need to restart the game for the changes to take effect.
by SolarLune
Sat Feb 12, 2011 10:15 pm
Forum: Interactive 3d
Topic: Can't see volumetric textures in Blender game engine!
Replies: 2
Views: 1446

The BGE doesn't support volumetric materials in the BGE, although I managed one when I did volumetric smoke by using normal-aligned images and such. If you want to see it, check it out at http://www.mediafire.com/?kg4hxk9flx18tnj.
by SolarLune
Sat Feb 12, 2011 10:11 pm
Forum: Interactive 3d
Topic: Python setGLSLMaterialSetting not working 2.56
Replies: 5
Views: 2029

That doesn't sound right... The problem might be that you're using 'import bge.render' - by default, you can access the render module by just using 'import bge' and then referring to it as bge.render, I think. import bge # and then use bge.render.whatever, or the method below, from bge import render...
by SolarLune
Fri Feb 11, 2011 8:28 pm
Forum: Interactive 3d
Topic: adding a cursor to a game
Replies: 4
Views: 3864

Ah, I'd forgotten about that. That is the correct way to get the standard OS cursor to appear, so if you don't want a custom cursor, use that method (put it in a script and attach it to a Python controller).
by SolarLune
Thu Feb 10, 2011 6:12 pm
Forum: Interactive 3d
Topic: Uploading my game with sound
Replies: 1
Views: 1217

You may not have packed the sounds in. Assuming that they're used in normal sound blocks, you'll need to go to File > External Data > Pack Into Blend File. That will put all external data like sounds, textures, and models into the actual blend file. After this, you simply export the executable and y...
by SolarLune
Thu Feb 10, 2011 6:07 pm
Forum: Interactive 3d
Topic: adding a cursor to a game
Replies: 4
Views: 3864

1. Add an overlay scene and create a cursor (just an alpha-enabled plane in that scene). Make sure that the cursor is not collision-enabled - it's just for show. Also, you'll need an invisible plane that the mouse will detect mousing over (it will need collision) - this is how to get the cursor to f...
by SolarLune
Thu Feb 10, 2011 6:48 am
Forum: Interactive 3d
Topic: Blender crashes after running game engine
Replies: 6
Views: 2610

So it works in Linux, right? Which version of Blender are you using (2.49, 2.56, etc.)? The computer sounds more than capable to handle almost any BGE game at a full-speed...
by SolarLune
Thu Feb 10, 2011 1:41 am
Forum: Interactive 3d
Topic: Blender crashes after running game engine
Replies: 6
Views: 2610

Yeah, you're not giving enough information. What version of Blender? What OS? Is there any other programs running in the background? What kind of computer are you working on?
by SolarLune
Wed Feb 09, 2011 3:25 am
Forum: Interactive 3d
Topic: i need help making a tournament generator.
Replies: 5
Views: 2364

No problem. Arrays are really powerful; using them correctly can make or break a game idea.
by SolarLune
Wed Feb 09, 2011 3:24 am
Forum: Interactive 3d
Topic: Exporting to the web
Replies: 6
Views: 4400

@phreak - You're referring to running the game in a web browser like a Flash game, correct?
by SolarLune
Wed Feb 09, 2011 3:22 am
Forum: Interactive 3d
Topic: Make a sound effect when enemies die
Replies: 5
Views: 1997

You should be able to just connect the controller that activates the death to the 'death' sound actuator. You might need to make sure that the sound actuator is running 'Play End'.
EDIT: If it still doesn't work, play the sound and switch states, and in the second state, end the object.
by SolarLune
Tue Feb 08, 2011 8:06 pm
Forum: Interactive 3d
Topic: Problems with alpha texture in GLSL materials!!!
Replies: 11
Views: 4509

Put the blend file up on MediaFire, Box.net, or another file-hosting service and link the download back here.

However, if you're still having problems, it's probably with your Material. Make sure that the material Alpha is at 0 with the texture alpha setting at 1.0.
by SolarLune
Tue Feb 08, 2011 8:02 pm
Forum: Interactive 3d
Topic: Need help building tilt-table in game engine!
Replies: 3
Views: 2161

You said you wanted a table that tilted down on impact? Use an IPO for the animation and play it whenever an object collides with the table. You'll probably have to use Python to ensure that it's only when the object is falling with sufficient force, something like from bge import logic cont = logic...
by SolarLune
Tue Feb 08, 2011 7:57 pm
Forum: Interactive 3d
Topic: Help with Weapon changing
Replies: 1
Views: 1592

I'm presuming you're not using Python for this, but logic bricks. If this is the case, switch states - when 'havegun' is false, make the normal gun visible in state 1. When 'havegun' is positive, make the normal gun invisible in state 2. When in state 1, the normal gun will shoot, but won't in state...
by SolarLune
Tue Feb 08, 2011 7:51 pm
Forum: Interactive 3d
Topic: i need help making a tournament generator.
Replies: 5
Views: 2364

Ok, I think I understand you - you're planning to have it so that a contestant has to lose twice to be removed from the game, correct? If this is the case, then you will need to keep two different brackets (arrays) - one for the winners and one for the losers. If a team loses in the losing bracket, ...