Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [game-engine]

The Blender Game Engine (BGE) allows you to create interactive 3D applications, game prototypes and simulations.

12
votes
4answers
799 views

Text objects look slightly differently in viewport and game engine

I have text objects in my scene that I'd like to use in the HUD for a game. When they exist as text objects, I get a different result in a viewport and in game engine once I start playing the game. I ...
0
votes
0answers
18 views

Armature animation game engine

In my engineering project I need to add a pre-recorded motion tracking annimation to a blender game engine . The annimation on a blend file works fine but once I launch the game engine there is no ...
0
votes
1answer
13 views

How do I make my game music keep playing between scenes?

I'm making a game where each level has its own scene. When a level is completed it switches to the next scene and restarts the music that's playing. How do I make it so that the music plays ...
0
votes
0answers
10 views

Re-running my script gives `Access Denied`

I am sorry if this has been asked before. I already searched for a similar question but I could not find anything. I have a piece of code from a tutorial to rotate a cube with a potentiometer. It all ...
0
votes
1answer
11 views

props are not showing up in BGE

I have been working on my horror game and I modeled my trees, the problem is that the trees don't show up when I start the game. when I finished modeling I copy & pasted the tree into the game.
0
votes
0answers
20 views

How to make texture visible in unity from blender file

I've imported a tree to Unity that I've made in blender, but the texture of the tree is not visible. Could you please tell me how to make that texture visible? I am a beginer and I don't know how to ...
-1
votes
0answers
11 views

Why does my character move when dynamics are restored? [closed]

When my characters dynamics are restored it starts to spin and move around against the player. How could I fix this?
1
vote
1answer
13 views

Game Engine lags when activating sound with keyboard

I have a basic character set up in an FPS style game I am building. When the player presses W to move forward, I want the game engine to play a walking sound. However, when I link the W keyboard ...
0
votes
0answers
11 views

My player won't stop floating?

I'm making a game where my player is a cylinder. I scaled it down on the Z axis to make it shorter, but all it did was make it LOOK shorter. So when I play, I have a short floating cylinder, like the ...
-2
votes
0answers
17 views

image texture has no shading

im making a game in bge and my forest floor is repeating that texture over a long distance but it is not affected by any sort of light or shade. I tried some other nodes and settings but couldn't ...
0
votes
0answers
12 views

Why is this plane getting weird shadows when exported? Best way to texture this?

Ok Im trying to create a grid room in Unity similar to the feel of this, but in white: What I did was make a grid of tiny cubes using particle system set to vents and used a boolean on a cube to cut ...
0
votes
0answers
13 views

Player movement relative to camera (a la Super Mario Galaxy) in BGE

I'm attempting to create a gravity platformer in the style of Super Mario Galaxy for the Wii. I've figured out the gravity mechanic quite well, but the camera player movement has been difficult to ...
0
votes
1answer
55 views

How do I make a walking and running sound?

I have the sounds, and I have done so when I hold w it starts the walking sound and when released stops. But when I have done wshiftcollision the run sound overlaps the walking sound:
0
votes
1answer
19 views

How do I change the shape of an object while keeping all of its data?

This is my first time making a game in Blender and I've been using the cube that is the first thing on your screen as my player. The player has a bunch of code in it now and I want it to be a ...
1
vote
0answers
34 views

how can i get my shading for an image texture back?

I'm making a game and my floor when I was done with the texture is not affected by any shade or light. what am I doing wrong? I set up my image texture like this what should i add or take away?
0
votes
0answers
16 views

Can u make a character temporarily float?

How could I make my character float temporarily after a jump using logic bricks?
0
votes
0answers
20 views

How do I add an object from one project to another?

I'm trying to add a tree for my game in a forest and they are in separate files. How can I get the tree into my game? I have already tried appending and linking but I want the entire thing. Even what ...
0
votes
0answers
11 views

How would I get cycles materials in the BGE?

I have a city model but when ever I go to the BGE it has materials. I have tried scripts and making the textures internal. Nothing has worked. I can't re-material everything because there are dozens ...
0
votes
0answers
10 views

can i take a texture from blender cycles into BGE? [duplicate]

I spent a while working on the floor for a forest bump map but it wont work in BGE. Is there any way i can make the bump map work in BGE?
1
vote
1answer
29 views

Blender Game - music problem

I have a problem with soundtrack and sounds In the Blender Game (while using blender) sounds and music seems right and i can clearly hear both of them. but when i export my game as game engine runtime,...
0
votes
1answer
12 views

BGE: Getting rigged door mesh to update for collisions

I set off to create a rigged door, thinking a single mesh object with moving parts should be easier to manage than having each part as a separate object - especially once there are a large number of ...
0
votes
0answers
8 views

how do i add gravity in BGE

I'm trying to make a game in BGE but I can't get the gravity to work. I have all the movement set to the correct keys, but I still can't figure it out.
0
votes
1answer
65 views

Does anyone know why I can't screen cast play mode in BGE?

I want to make a video that kind-of advertises my game, but the screen cast option just quits when I push P to play the game. For my old version, I would play the game during my screencast, but in the ...
0
votes
0answers
15 views

My Textures Disappear in Game Mode

A bunch of my textures just straight up disappear/turn into solid colours when I hit P to go into game mode on Blender (beds/walls). Im confused because some of them work fine (floor) and i did the ...
0
votes
0answers
15 views

How can I keep walls from going invisible in Blender Game?

Im using Blender Game for the first time, I've used blender cycle and blender render before as well. However, when I go into my "Characters" view, some of my walls go invisible/see thru. I've tried ...
0
votes
0answers
18 views

How do I simulate fluid in the BGE?

I am trying to make a game where a player can drive a car. I want to have a lake that the car can drive into and splash. I am not very good with the game engine especially at coding. If I can't ...
1
vote
1answer
101 views

How to End object in BGE after multiple collisions

I am a student from Malaysia studying animation. This is my final year and I decided to make a 3D game using blender. In my game, I want the object in the BGE to end after taking two or more hits. ...
0
votes
1answer
25 views

Blender game engine importing .obj error

i have some .obj model files, which i wanted to use for a game in Blender. Sadly there are some problematic issues. When i start the game engine, the model seems to be sort of inside out...? My first ...
4
votes
2answers
293 views

Objects showing through other objects in the BGE?

I am having trouble with a rig I imported from MakeHuman. When I run the Embedded Player or the Standalone Player my character's facial features come through the mesh. They are positioned properly, ...
0
votes
1answer
22 views

Certain shadows don't appear while playing in BGE

I can't get certain shadows to show in BGE. I have the correct lighting with the sun and hemi lamps. When I'm editing in BGE, all the shadows show like I want. But when I press p to play, all ...
1
vote
0answers
29 views

Changing properties to effect all objects in scene

How do you change the value of all properties among objects that share the same property? Warning this code does not work, just an idea. Example: ...
1
vote
0answers
27 views

How can I make my door open separately?

i followed a very good tutorial, and I managed to create this door completely functional, the mechanics as you can see opens the doors by pressing space bar, I would like to keep this, and I would ...
1
vote
2answers
93 views

Can't turn off x-ray?

I've somehow turned x-ray on for all objects in my project, or so it seems. No matter which object I put in front of the others I will look right through all the layers of objects until I see the last ...
0
votes
1answer
21 views

BGE: Expression to check if Collision Sensor's property is True or False

In this simple demonstration of the problem there is a blue cube. When it falls and collides with an object having the property "obstacle" (while the player is also performing some action) the cube ...
0
votes
1answer
20 views

BGE Animated Fireball Group

In my game I have an Empty that adds my object magicfbgroup to the scene. Magicfbgroup is a fireball I made by using several spheres with the same image texture that spin in different directions. It ...
0
votes
0answers
31 views

What's the best way to bake normal map for multiple textures on single map?

I'm currently working on making buildings for games in blender. For my few previous models, i baked all textures into one single map.. I baked color, specular and normal maps for standart pbr ...
0
votes
1answer
19 views

How to remove the “deleting object” while i'm on certain distance

When i start a standalone player when i go away there is a "fog" that delimits the level of detail. How i modify that?
0
votes
1answer
20 views

count down on button press in blender game engine

In game when I press a button on my keyboard it will start a countdown on a timer until it hits zero. Is this something that is possible to make in blender game engine?
0
votes
0answers
12 views

Stop When Trigger

In BGE (Blender Game Engine), the player is suppose to talk to another object (a cube). When the player talks to the object, the player is suppose to stand there without moving and wait for the ...
1
vote
1answer
35 views

Car AI Blender Game

How does one go about creating an AI of a Car that can find the shortest route around a track? That is my track and the cube is a placeholder for a car. Any help is appreciated :) P.S.: I'm a ...
1
vote
0answers
38 views

BGE: Basic Door & Key Logic

I’m trying to create a door & key system in the BGE, but I’m struggling with the game logic. I followed a video tutorial to understand the basics, but I found that method doesn’t scale very well ...
0
votes
1answer
19 views

game shield in blender game engine

I am trying to make a shield that will end enemies when they come in contact with the shield. The problem is getting the shield to spawn on the character while he is moving. Any ideas? Thank u!
3
votes
1answer
2k views

How do you check for a specific game engine property with python? (2.7x only)

Instead of having several ray sensors each set to look for a specific property, I would like to have one ray sensor that looks at everything and have python decide what to do with what is hit based on ...
4
votes
1answer
63 views

Plane rendering order depends on camera position/angle

I have 2 plane meshes on top of each other within ~0.1 units. The top plane is a small image (with alpha) 'car' that is moved around by input. The bottom is a large image (with alpha) 'terrain' that ...
0
votes
1answer
33 views

bge - EditObjectActuator.time changed at will?

with a script, can we change at will the EditObjectActuator.time ? in my case, I want to add time of life to an object, while the game is running with a property or a message from another object ... ...
0
votes
0answers
38 views

How do I load map rooms through doors seamlessly?

So I'm working on a game in blender similar to Metroid Prime. I'm struggling with how to handle loading parts of the world. The way it works in the Metroid Prime series is: Shoot the door to open it. ...
1
vote
1answer
61 views

“ ***stack smashing detected***: <unknown> terminated” on choosing an object [closed]

Blender 2.79b in ArcoLinux 19.01.4: Upon choosing an object, Blender terminates, with " stack smashing detected: terminated" Any ideas about what may cause this problem?
1
vote
1answer
40 views

How to use blender for reinforcement learning? How to control camera movement and save the rendered images that the camera captured?

I am trying to follow this paper and reproduce their works. But I get stuck with some problems and I really hope that some of you can give me some ideas. So, basically what the paper has done is ...
0
votes
1answer
15 views

locking button press in blender game engine

I am trying to figure out how to lock a button press until the player interacts with a object which then unlocks the button.
1
vote
1answer
18 views

My mouse is displaying even though I made it invisible?

So I am making a game and have been on this one for about a week now. And just now am dealing with this issue. I know how to make a mouse appear and disappear as I wish it to on the game engine. ...