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 [logic-bricks]

Logic bricks are the sensors, controllers, and actuators in the Logic Editor. They are used in the BGE.

1
vote
0answers
12 views

Decrease motion speed by proximity

I have an object controlled with motion actuator and need to decrease the speed on all axes as it gets closer to another object with certain property. How do i achieve this?
0
votes
1answer
17 views

BGE: Change Actuator's Track-to Time value using Python?

I want to change the Time value for an Edit Object: 'Track to' actuator in-game. Seems like something that should be achievable with Python - but I can't find any documentation on this. To add to the ...
0
votes
0answers
22 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
10 views

Can you have a timer on suspended dynamics in blender game engine?

Can you have a timer on suspended dynamics in blender game engine?
0
votes
0answers
18 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
13 views

How do I move the camera to a global location using logic bricks?

I'm using blender 2.78 and I have a scene set up with images laid out in a grid at specific global locations. The camera is placed looking down on the first image. What I need is a logic brick set up ...
1
vote
0answers
28 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 ...
0
votes
1answer
34 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 ...
1
vote
0answers
43 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
0answers
42 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. ...
0
votes
0answers
13 views

Game Engine: Animation and motion

I'm playing around with the BGE. I've made this snowman that I want to jump forward in a straight line, and once in a while, he'll have to jump to the sides to avoid different obstacles. I've made ...
0
votes
0answers
15 views

Update/modify `<Object>.game.actuator` type and mode with `bpy` not `bge`

Why does one need to reassign act = obj.game.actuators.get(aName) after changing an actuator's type before being allowed to ...
0
votes
0answers
24 views

Making a scriptless digital speedometer

My racing game have a digital speedometer.How to make a top speed of a car,reducing the number on the speedometer and correct acceleration without scripts
0
votes
1answer
38 views

Changing colors for BGE [duplicate]

I want my games that have function that can changes the character colors.I have try this a few times.I can make it changes colors in the menu but the colors doesnt change when I click start button. ...
1
vote
1answer
32 views

Burst fire in bge

What I'm trying to achieve is some kind of python script or logic brick system that allows me to tap a key or button once and then through that action send out a burst of messages to an object that ...
0
votes
1answer
27 views

use of contoller in bge

I have explore BGE for a long time.But I only know about how to use and,python and nand controller.Can anybody help me about how to use or,xor,nor,xnor and expression controller. Many thanks for any ...
0
votes
0answers
32 views

Catapult animation

Hi guys I'm totally new to game design, I managed to make a very simple catapult and it shoots and moves fine, the problem is when I turn the catapult to face another direction and tell it to fire it ...
1
vote
1answer
60 views

BGE car game problem

I have model two car.the first car is okay but the second car is flying when I turn right or left. here is the blend file many thanks for any answers.
0
votes
0answers
37 views

Make the tire spin in BGE

I already model a car for my racing game.I want to make the tire spin without seperating the tire from the car. im using blender 2.79b
0
votes
1answer
48 views

How to track an object to a specific property in the Blender Game Engine

I make a game with the Blender Game Engine. I would like to make a cube (Enemy) which moves inside a navigation mesh. This cube should follow all the objects with a specific property. The cube also ...
0
votes
1answer
18 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.
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
1answer
20 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!
1
vote
1answer
30 views

How to change where you fall

i'm trying to make a gravity game where you can use keys to change the direction you fall, solving puzzles etc. so how do i change the direction you fall entirely?
0
votes
0answers
34 views

Video game character rotation

I’m trying to make a 3D Super Mario 64 like fan game using blender. I wanted to use the traditional WASD keys to control Mario(or Luigi) but for some reason when I use the A key to go left he does not ...
0
votes
0answers
7 views

How can I get a sensor to fire continuously whilst mouse button is pressed

I'm trying to get a camera to rotate around an object whilst the mouse is pressed. I can use the movement sensor to get it to move all the time, and the ...
0
votes
0answers
33 views

Why does Ray sensor in Blender Game Engine cause actuator to activate superfluously?

In Blender Game Engine, version 2.79, an object has a test Keyboard sensor, with an And controller, that activates an Edit Object actuator to add an object. This works fine. However, when I added a ...
0
votes
1answer
90 views

Collision logic brick not detecting collision in BGE

I am making a game in the BGE and I don't want my character going off the platform. I have is set to quit the game when that happens (I am going to change that later), and the walls let him pass right ...
0
votes
0answers
105 views

How best to make endless runner

I am making an endless runner in blender and I wan the snake to run and eat mice. The mice need to start somewhere, go to the snake, and then go back where they started. I will have multiple mice. ...
0
votes
1answer
61 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:
1
vote
1answer
51 views

Is it Possible to create a Online blender-made game without python?

The reason I asked is That I do not really know python, So Do I have to use python? Or am I more likely to Try to create it without python?
0
votes
1answer
100 views

Game Engine - Steering Behaviour Understanding

I am working on a BGE Horror Game right now and I want the enemy to follow the player around, but not directly. I want it to also walk around radon parts of the map even when the player is not there. ...
0
votes
1answer
106 views

Replace Mesh not working?

I have a spaceship that I want to have "flames" come out when the spacebar is pressed. I have set up a replace mesh thing (I have a mesh with flames in a different layer and added some logic bricks to ...
0
votes
1answer
26 views

How to make an object be sensed if it is No Collision in BGE

I am making a space game, but I need to make a boundary. I have four cubes and I'm using a property sensor to detect them and then display text, but I don't want the spaceship to collide with them and ...
0
votes
0answers
75 views

Transparent Cube For Character

how to make a transparent cube so that my character walks inside a building or house and you can see the interior partially, where my character is walking ? in the reference image i make a blender ...
0
votes
1answer
62 views

Unable to add more logic bricks

I recently began experimenting with bge (blender game engine). I’ve got a basic character, with a child containing the actual model (the top level character is simply a hidden physics body shape). The ...
0
votes
1answer
13 views

How can I make text appear on the screen in the game engine when the character enters a certain area?

I am making a game and I want text to appear when the character enters a invisible cube. I have tried to make a overlay scene, but I can't make it work. Thanks!
1
vote
2answers
140 views

combining objects in logic editor

In the game engine, I've created a door handle and door, and am trying to combine the physics in the logic editor so that when I left click on the door handle, it spins, meanwhile also swinging open ...
0
votes
1answer
125 views

Key Sensor | KEY + SHIFT ( with First Modifier )

Good Morning I try to use the first and second modifier in the key sensor, but I can't find more information or examples of this, example I try a simple combination in the pic but it does not work ...
0
votes
1answer
28 views

can messages be passed between states

I've set up some directional movements for my main character; Right, left, up, down, up left, up right, down left, down right. This works ok and I also want to use this information to trigger the ...
0
votes
1answer
62 views

Is it possible to be able to hold the spacebar to make a player jump higher? Game Engine

I would like to be able to have a min jump height as 1 meter, and max jup height as 3 meter. When the spacebar is pressed and ...
0
votes
1answer
83 views

BGE 2.79: How do I change an action in-game with the push of a button/object

Here is the thing, I'm currently working on a project for my internship. It is about an interactive boatride which there are multiple atributes that te boat stops at. After you completed a level the ...
0
votes
1answer
37 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
94 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 ...
1
vote
1answer
32 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

Blender game Engine collision sensor, property value [duplicate]

my problem is that i have 3 platforms that react to a specific object. If the object hits the platform i want to change the property value to 1, so that my game knows theres the object on the platform....
0
votes
1answer
32 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
20 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
73 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
22 views

Blender Logic Editor Sensor Property True If Z Value Less Than Property

The scene has two selection texts saying "Selection (1)" and "Selection (2)". The red circle on the left should be used to make a selection with the keys (up/down). I tried to implement that logic ...