Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
29 views

Mirror actuator in BGE

Is there a way to get a whole bunch of planes to mirror themselves along a single axis in game using logic bricks? I have my planes parented to the bones of my armature to make a 2D character and I ...
-1
votes
1answer
73 views

How to add up the total of three different scores in the BGE? [duplicate]

I have 3 properties from three different "throws" in a game in which I want to add up the 3 scores and produce a total. I have 3 properties holding each score and those work fine. I have a 4th ...
0
votes
0answers
31 views

Player character won't look side to side

Okay so I'm making a game, and once I get to the player character I remember it being pretty simple, but the up down mouse movement on the camera and the side to side on the player character. So I do ...
0
votes
0answers
34 views

Logic bricks in BGE OR similar function for animation in blender render

I am using Logic bricks in BGE to move a sun across the sky, I want to use the logic brick function OR similar function to do the same in the blender render for an animation, what would you suggest?
0
votes
0answers
45 views

BGE Navmesh Detection Script

I want the red cube to detect near navmeshes. Is i possible? I need it to change navmesh by its name after reaching the intersection so car will turn on intersections on random.
0
votes
0answers
114 views

Blenderplayer for Android does not include sound file

I been trying to get a sound file to play in Blender player for Android. It does not play.
0
votes
0answers
94 views

Python: UDP server is really slow

I created an UDP server which recieves a position of a player in a game. The player sends their coordinates to the server continiously. The server sends this data to all the clients that are in the ...
1
vote
0answers
38 views

Displaying information in 3D window text object if ray .positive own.text = (object_one)

I have two object in a scene and a text object. I want the reading object to gather information from objects object_one and ...
0
votes
0answers
12 views

How many actions or key-actions can one use in BGE? Is there a limit?

I have baked sound to F-Curve but had run into a problem, I could only use one key action at a time. Is there a limit?
0
votes
1answer
33 views

BGE Game LogicImport

I'm doing some game with city traffic in BGE. I'd like to spawn driving cars near player using script but I want to give them different Game Logic on spawn dynamically and randomly (for different ...
0
votes
1answer
87 views

How to get a camera to copy location of character from a different scene in BGE

I have a movable character in one scene (though it is a "2d" game, so it only moves left and right, up and down) and a camera is focused on it, but I need a camera in a different scene to copy the ...
2
votes
1answer
74 views

How to shoot a character from one platform to another. (BGE)

So my character (character physics) will be traveling through the level and I want him to be able to jump into a cannon of sorts, and when a button is pushed, he gets fired upwards along a parabolic ...
1
vote
1answer
75 views

How does BGE handle Python class definitions?

I have a game (toy) that works in PyGamek, and I'm trying to port it to Blender. I'm very familiar with both Blender and Python individually, but not together. In this case, I have a class called "...
0
votes
1answer
118 views

How can I check a game Property?

I need a bpy.data.objects["object name"]["property value"] or a command like this.
1
vote
1answer
22 views

How can I make a warning sign appear when an enemy is behind my character in game engine?

I have a First person shooter game with enemies that are constantly seeking my character. How can I make a warning sign appear when an enemy is behind me? I have tried the near sensor, but it didn’t ...
0
votes
1answer
52 views

How to check if an object at on a specific position/how to get the position of an object

I'm working on a project and I need to get the position of an object (not necessarily by python code) and at the same time I need to know how I can check if the position is on a special point like (0,...
0
votes
1answer
28 views

How can I move the position of a cue for the second shot in a pool game

I am trying to build a pool game but having difficulty with the position of the cue after the break shot. I can get the cue to move in a number of ways but none of them face the cue in the right ...
0
votes
1answer
60 views

How do I set up a 3rd person character with multiple animations in the Game Engine?

I am using the Blender Game Engine to make a 3rd person game. I want the main character to have separate armatures/animations for the upper body and the lower body. For example I'd want my character ...
0
votes
0answers
30 views

How to fix the movement of an object?

There is a UV movement script. I need to make this script run only if the object moves in space. If he stands still, then UV should not move. I suppose we need to compare the coordinates of the object ...
0
votes
0answers
21 views

BGE: Armature Animation Problems

Yes, I know this question has been asked before, but the questions I have found answered for some reason simply don't work! How do I get armature animations to work with an object that is parented to ...
0
votes
0answers
83 views

game engine - remove objects with condition

I have test.blend file as example. You can putting "pipes" with left mouse button and rotate it with right mouse button. There are a 4 kind of pipes (L , T , I , end) . When I connect and close them ...
0
votes
1answer
25 views

Troubles when using Pause in the game from “New Game”

Pause works great in the Main and "Are you sure want to quit?" scene But if i press "YES, i want to quit" - i go to main menu and if i start New Game there are always problems with graphics and if i ...
0
votes
1answer
19 views

Movements done in script do not show in game view

I am attempting make change spatial properties of a cube by using a Python script which is triggered by keyboard logic. After pressing W the following script gets executed: ...
0
votes
1answer
41 views

Material colour in BGE is different

I highlighted the colour that i would like to get and the colour on my loading screen in BGEngine. They are different! is it possible to have the same colour as from material panel? Followed the ...
0
votes
1answer
95 views

Why does my action not play after another action?

Below is my Logic editor of this problem. I have my armature always playing a walk action, then when it collides with a property called "Player," it is supposed to play a die animation. (It is an ...
1
vote
1answer
190 views

How do I export a blender game to be played within my website?

Basically what the title says. I haven't made the website yet, so I'm not looking for a specific solution. Is there ANY way that it is GENERALLY possible to play a blender game in-browser?
0
votes
0answers
93 views

Blender's cube projection unwrapping doesn't work anymore in Unity

I have Unwrapped my level in Blender using the cube projection Option. the results were exactly what I wanted The level looked also looked fine in Unity for a while. However I'm not sure what ...
0
votes
0answers
17 views

How to rotate object without changing physics variables?

At the most basic level there is an object which can have its dynamics suspended/restored at the press of a button. I want to be able to rotate this object 180 degrees (or any amount) on the Z-axis ...
0
votes
0answers
13 views

Lighting all whited out in play mode

I have made a menu screen for my game but when I press P everything is whited out.(edit, I realized I was in solid mode, sorry, but the wall still isn't rendering)
0
votes
0answers
10 views

Metarigs and origens being weird

I set up the metarig in edit mode and once I went back to object mode to join the model and the rig it dissapeared, yet the origin is still there. Origin to geometry and vice versa are not working, it'...
0
votes
0answers
20 views

How do I keep animations from interrupting each other?(BGE & UPBGE)

I've been working on a little game demo for a while and its supposed to mimic a hack'n slash game. I prepared 4 action-animations that would transition smoothly into each other. The animations are ...
0
votes
0answers
44 views

BGE Parent actuator not working as expected with multiple objects

I'm trying to make a object rotate around either of two empties, swapping between them when a key is pressed. Logic bricks are as pictured: The plan is when a key is pressed the current parent empty ...
0
votes
0answers
32 views

BGE Helicopter won't lift player, propeller won't keep position relative to chopper

I'm making a game in the BGE where the player's goal is to get to the roof and get in a helicopter, which is supposed to fly away once the player gets inside and collides with an invisible plane. When ...
0
votes
1answer
78 views

Is it possible to set the pivot point origin of an object in BGE with python

So what I am asking is WHILE, the game engine is running, is it possible to change the current pivot point origin of an object to a new location of the object, I'm making a car game and i want to set ...
0
votes
1answer
74 views

How do I know the path to the file in the Blender Game Engine?

In BGE, in an initialization script, I have these instructions: var=bge.logic.expandPath("//") print("====== path=",var,"=======") and now the variable "var" is ...
1
vote
0answers
96 views

Exporting Text with Curve Modifier Animation to Unity 3D

I'm making a simple text animation following this tutorial: https://www.youtube.com/watch?v=bF3O4qbaMqs. Basically, it's making text running in circles by applying a circle/bezier curve modifier on it....
0
votes
1answer
23 views

Remove Console visualization on Blender Game Closing

I create an application .exe of a blender game engine. Everything works fine except when I close the .exe window the console appear. I would like to avoid this behavior and just close the executable. ...
0
votes
2answers
31 views

How can I move my character's foot in the direction I chose with a key input?

I'm trying to make a game with some aspects similar to octodad but for this to work I need something that will allow me to move my characters foot in the direction I chose with a key input, it may ...
1
vote
0answers
55 views

Game rotation limits

I'm having a problem keeping my playing field inside my box. Is there a way to make my box a rotation limit/boundary? If you notice the x-axis and y-axis can rotate beyond the bottom of the box. Also ...
3
votes
1answer
117 views

Is it possible to take control of Blender with a standalone Python instance?

I intend to make a framework for BGE using wxPython, being able to manage blend file libs, datablocks of the blends, alternative ways to make logic and ease the project management in general. I need ...
0
votes
1answer
51 views

Is it ok to remove NGons with triangulation in order to import a model in a game engine?

Sometimes the model ends up having a very messy geometry, is it a problem in games engines such as Unity?
0
votes
1answer
53 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
1answer
81 views

How to rotate a child opposite of its parent in BGE?

What I want to do is, rotate the parent-object (while playing the game), and its child (which will revolve around the parent) to rotate in the direction opposite to its parent: This is the original ...
0
votes
1answer
59 views

Is it possible to make a non-animated rope for game engine?

I need a wire rope (cable) for my crane in BGE. Multi-segmented rope of capsule-shaped pieces as rigid bodies continues to stretch, pull apart, and deform despite my efforts. This rope will need to ...
0
votes
1answer
130 views

Blender - 3D view does not refresh with my python script

I have an Arduino connected in serial with my Mac, it works, I get my datas in blender but the visualisation of the 3D view does not work. ...
1
vote
1answer
74 views

Scripting - Proportional edit mesh

I want to move a polygone using its 4 vertices. I get the MeshProxy of that vertex then I change its XYZ positions. The problem is that it separates the whole polygone from the object. I want to ...
0
votes
0answers
19 views

How do I set up a targeting bone in BGE?

I'm fairly new at Blender, and trying to make a FPS game. I watched a simple tutorial on how to make a turret that will track an empty, then I kind of modified it to make it fit my needs. Each of ...
0
votes
0answers
57 views

BGE python deform mesh in realtime

I'd like to send a ray that deforms a mesh it hits by a given strength. think of it as sculpting the mesh with raycasting. I read about raycasting but counldn't figure it out how to do it. Much ...
0
votes
1answer
62 views

Custom mouse pointer slows the game down

I have implemented a custom mouse pointer in a separate scene. It mostly works fine as a mouse pointer, however when it is used as a overlay scene for my main game world, the logic shoots up to around ...
0
votes
1answer
106 views

Sound won't play from Python script

I get the error AUD_FileFactory: File couldn't be read. Other files from same path will work. Logic Brick works on the same file. Using Blender 2.79 on Windows 7. ...