Questions tagged [logic-bricks]
Logic bricks are the sensors, controllers, and actuators in the Logic Editor. They are used in the BGE.
370
questions
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 ...
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 ...
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 ...
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 ...
-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 ...
1
vote
1
answer
51
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
1
answer
124
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
1
answer
46
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
2
answers
49
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
1
answer
173
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
1
answer
49
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 ...
0
votes
1
answer
95
views
Logic Editor - only selected objects of Layer 1 are showing
I am using 2.79a RC. (unfortunately also true as far back 2.78a)
Unless all my objects are on Layer 1, there is no way for me to select and view multiple objects in the logic panel.
Is anyone else ...
0
votes
1
answer
61
views
How to change Parents in my Sliding Menu
but I want to know how to change the order of Parent to slide 3 different menus from the left side to the right
Description: my menu does this currently
when you press the History Mode button it ...
0
votes
1
answer
312
views
How can a changing angle be measured and used as a property in BGE Logic Bricks?
I'm trying to measure the angle of a moving boom and put that moving angle number into a window on-screen. What needs to be done to constantly measure that angle? Can this information be used in a ...
1
vote
0
answers
40
views
Can debug ticks be read and used in logic bricks?
When limits are set for a moving part, and debug is enabled, movement is counted by ticks.
Can those ticks from debug be read and used in the logic bricks (probably as a property)?
I want to use an ...