Skip to main content

Questions tagged [logic-bricks]

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

0 votes
0 answers
55 views

UPBGE Actions Using Joystick Control

I am in the process of creating a playable character in UPBGE 0.36.1. I’m setting it up with a USB gamepad so that A) the character moves faster or slower according to how much the left analog stick ...
Caleb Holmberg's user avatar
0 votes
1 answer
152 views

how do I create bricks in an object with geometry nodes?

I want to create a brickwork repeating an object (arbitrary shape) with the correct layout. How can this be done? thank you in advance! How can I create another row of bricks? and make the seams the ...
Andrey Re's user avatar
  • 143
0 votes
0 answers
73 views

UPBGE error. Why can't I run my script via Logic Node Editor?

Why does an error occur when running a script using a "Run Python Code" node? For some reason, in the error description my script is called a module
Давид Сировский's user avatar
0 votes
1 answer
135 views

How to make a dice logic in UPBGE 0.3?

I'm trying to restore a dice created in the Blender Game Engine so it can work in UPBGE 0.3. The last time I saved this file was in Blender 2.79b. I tried to purge the elements but there is some ...
chicOrtiz's user avatar
  • 485
0 votes
1 answer
802 views

How to increase FPS? (UPBGE)

I'm nearing the completion of my game, but I've noticed that average FPS on my gaming PC is 30FPS, which makes me think that on regular PCs it will be unplayable. 1)Any general ideas on how to ...
Minato's user avatar
  • 65
0 votes
1 answer
207 views

How to edit speed on python script?

This might be a very simple problem but my knowledge on programming is limited to logic bricks. I ironically have a player script which determines the speed of my character and was wondering how I can ...
Minato's user avatar
  • 65
0 votes
1 answer
344 views

FPS drops when I add an overlay (health bar) to my camera view? (UPBGE)

when I run my game it plays at 30fps which is fine, but when I add a health bar overlay this drops down to 20fps for some reason. Is there any way of having an overlay in camera view without a ...
Minato's user avatar
  • 65
0 votes
1 answer
596 views

How to increase character movement velocity over time? (UPBGE)

I found a 3D character controller setup online and one thing I wanted to ask is how to make movements smoother by easing velocity. Is there a way to edit the python script to make acceleration and ...
Minato's user avatar
  • 65
0 votes
1 answer
106 views

How to use camera to control direction while moving?

I have a current setup whereby the camera can pan 360 around the character when stationary, but how can I make it so that forward movement snaps towards the direction of the camera? I.e. you can use ...
Minato's user avatar
  • 65
0 votes
1 answer
327 views

Add a delay before shooting bullet (UPBGE)

When I mouse click the bullet fires automatically. Is there a way for the bullet to fire a second (or any set time) after the mouse click? I feel like other questions have addressed how to add delays ...
Minato's user avatar
  • 65
0 votes
1 answer
702 views

How to make Mouse Look work in the logic bricks editor in UPBGE 0.3 Alpha?

I have the following bricks in the editor: But nothing happens when I move the mouse in the play mode. What am I doing wrong?
Montegasppα Cacilhας's user avatar
0 votes
0 answers
116 views

How to reset motion with a button click in UPBGE?

I am working on a game where you can zoom in and out with the camera (which is linked to a character controller) using the mouse wheel. Would it be possible to reset the camera to the starting ...
Minato's user avatar
  • 65
0 votes
2 answers
1k views

Rigify automatically link UI text file in 2.8

Rigify rigs rely on their rig_ui.py file to generate the addon's interface. If you link a character collection into a new file and proxy the rig, the UI does not generate because the rig_ui.py file is ...
Ascalon's user avatar
  • 6,647
0 votes
1 answer
65 views

Wrong door behavior in an BGE game

I’m trying to make a simple psychological horror game at BGE, but I found a problem that I couldn’t find a solution anywhere i.e. interaction with doors. It may seem simple, but a system that comes to ...
Diego Pereira's user avatar
0 votes
1 answer
49 views

Key Delay In Logic Editor

I want to make it so when the player presses spacebar they cant press it again in another 1,5 seconds, im not sure how to use the state or delay sensor/actuator someone please help :)
gulika's user avatar
  • 1
1 vote
0 answers
72 views

Trouble making an Xwing aim with a crosshair and sight

I have been working on a flight simulator game for a while now, and have run across a problem I can't figure out. The spaceship is an x wing and I have all the logic with shooting and all that, but I ...
John Smith's user avatar
1 vote
1 answer
355 views

Is it possible to make reflections in (UP)BGE?

I'm working on a game and would like to know is it possible to make a reflective surface for stuff like mirror and high rise windows (via textures). The image is from LEGO: Marvel Superheroes how to ...
Script-X Studios's user avatar
1 vote
0 answers
32 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?
Thiago M.'s user avatar
0 votes
1 answer
232 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 ...
Mentalist's user avatar
  • 19.3k
0 votes
1 answer
21 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?
user64292's user avatar
1 vote
1 answer
407 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 ...
Mentalist's user avatar
  • 19.3k
1 vote
1 answer
516 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 ...
Mentalist's user avatar
  • 19.3k
0 votes
1 answer
506 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. ...
mr car's user avatar
  • 106
1 vote
1 answer
75 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 ...
kanuki's user avatar
  • 366
0 votes
1 answer
176 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 ...
mr car's user avatar
  • 106
0 votes
0 answers
113 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 ...
Mark's user avatar
  • 1
1 vote
1 answer
182 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.
mr car's user avatar
  • 106
0 votes
0 answers
78 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
mr car's user avatar
  • 106
0 votes
1 answer
236 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 ...
Striga's user avatar
  • 35
0 votes
1 answer
59 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.
user64292's user avatar
0 votes
1 answer
75 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?
user64292's user avatar
1 vote
1 answer
51 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!
user64292's user avatar
2 votes
0 answers
50 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?
12 year old trying to use BGE's user avatar
0 votes
1 answer
117 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 ...
Eagle Gamma's user avatar
0 votes
1 answer
388 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 ...
EthanZone Coding's user avatar
0 votes
1 answer
209 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:
ZCGamer's user avatar
1 vote
2 answers
251 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?
user57674's user avatar
0 votes
1 answer
390 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. ...
Sanchest's user avatar
0 votes
1 answer
351 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 ...
user avatar
0 votes
1 answer
78 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 ...
user avatar
0 votes
1 answer
296 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 ...
user avatar
0 votes
3 answers
189 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). ...
oculometric's user avatar
0 votes
1 answer
94 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!
user avatar
2 votes
3 answers
306 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 ...
user avatar
1 vote
1 answer
367 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 ...
user avatar
0 votes
1 answer
39 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 ...
smithian's user avatar
0 votes
1 answer
172 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 ...
RATIU5's user avatar
  • 611
0 votes
1 answer
284 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 ...
Sven Koppers's user avatar
0 votes
1 answer
71 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 ...
Silas's user avatar
  • 366
-1 votes
1 answer
136 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 ...
Shawn Barfield's user avatar

15 30 50 per page
1
2 3 4 5
8