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.

5
votes
0answers
333 views

Animation showing last frame when played?

To make this simple I have a .blend that you can look at. I have simple logic: 1) When the prop "Active" is true, our object is visible. When false, invisible. 2) When Spacebar is hit, "Active" ...
5
votes
0answers
804 views

help with exporting game as .exe

I've been working on a game with levels. I know how to use scenes and transferring to scenes for the levels but it's getting laggy and slow. I know I can just do 'Start Game From File'. That will ...
5
votes
0answers
386 views

Save screenshot (bge) without writing to disk

This is a little odd but I need to save a screen-shot as an array (numpy array for eg) without writing to disk. The idea here is to create and then call the array once per frame in an external script ...
4
votes
0answers
18 views

Move along track in blender game engine

I have a problem with making a game like Sonic Rivals. As you see in the game Sonic tracking his way from down to up and from right to left. In the game, I'm just pressing right and left and Sonic ...
4
votes
0answers
50 views

Is it possible to use Alembic in BGE?

I am thinking to make some cool looping animation, bake it into Alembic and have it working as BGE demoscene animation (looping). But is it possible to use Alembic animation in BGE?
4
votes
0answers
85 views

Spawned Enemy Ships Fire Stationary Bullets in the BGE?

I'm making a prototype game of a scrolling shooter game, but I'm having issues with the bullets that the enemy ships will fire. I've set everything up correctly as far as I know, with objects ...
4
votes
0answers
705 views

Controll cube with arduino + mpu6050

So i have an arduino with an mpu6050 attached to it. It is currently set up to send the raw data from the imu sensor to my computer. I would like to use this data to control a cube in blender with ...
4
votes
0answers
56 views

Standalone player enter key is considered a character (Linux)

What happens in the 'in-Blender' player: What happens in the 'Standalone' player: Any ideas on how to fix this?
4
votes
0answers
253 views

Volume rendering an image stack in Blender Game Engine

I'm trying to create an interactive scientific visualization tool using the Blender Game Engine (BGE). One of the things I want to include is a volumetric rendering of an image stack. An image stack ...
4
votes
0answers
63 views

I can't figure out how to make my animation work in my blender game

I can't figure out how to make my animation work in my blender game. Can I get some help? Can someone just see if you can get the animation to work in the blender game and post it back up here? I want ...
4
votes
0answers
159 views

Disabling “use frame rate” slows logic/animation/etc?

I've recently solved an issue to remove my frame-rate cap, but it caused another issue. I have my animation tic rate at 60, my framerate at 60, and that's always been working only when I have "use ...
4
votes
0answers
560 views

nodes in blender game engine

I have an issue while tring to set up a material for blender game engine. You can see the setup on the image, and the BGE doesn't render my purple object that's on the View panel.
4
votes
0answers
33 views

Delete datablocks in GE?

I have a lot of useless datablocks for animations, models, materials, and others just lying around doing nothing. How would I delete them? Thanks.
4
votes
0answers
153 views

Differences between the internal and blender players

I have a script that I borrowed from the companion files that came with the book, Game Development With Blender (it's a creative commons script). It looks like this: ...
3
votes
0answers
108 views

Python - Making a “character” jump to another object's x, y ordinates while facing the 'go to' objects front

I know little of code so this is a bit difficult to me. This is just the set up for a 'player' to grab a crate and pull it back and forth. I have 4 empty triggers set up so the crate can be grab from ...
3
votes
0answers
444 views

I can't export my BGE game as .app

I have created a game in BGE and I am trying to export it as an .app. I went into Add-Ons and activated Save Game As Game Engine Runtime. When I go to File > Export > Save As Game Engine Runtime, it ...
3
votes
0answers
115 views

How can I make a homing attack in BGE?

Basically I made a 3D person game where you can run around with a sword etc. It is set up so that if you touch an enemy then you slice through them. I wanted to make it so that if you are close ...
3
votes
0answers
248 views

Make a Car AI in the BGE

I am making a racing game and I need to make an AI for my opponent racers, but I have no idea how to. The idea is that there will be opponent cars that: Use the vehicle wrapper Drive on the road and ...
3
votes
0answers
178 views

Calculate collision point of rigid body in BGE

I have a sphere (active rigid body) that bounces on a plane (passive rigid body) and afterwards hits another plane (passive rigid body). I would like to get its coordinates when it hits the second ...
3
votes
0answers
182 views

Objects pulse to sound?

Is there any way to make an object pulse to sound? I want to make my camera pulse to the beat of some music WITHOUT ANIMATION.
3
votes
0answers
85 views

GameEngine: KX_BlenderMaterial vs KX_PolygonMaterial

I have a question about the material types in the game-engine. e.g.: http://www.blender.org/documentation/blender_python_api_2_66_4/bge.types.KX_PolyProxy.html#bge.types.KX_PolyProxy.material When ...
2
votes
0answers
41 views

objects experience THE SHAKE at great distance from center

here is the problem in detail https://www.youtube.com/watch?v=Pyr5lWPqfkk&feature=youtu.be does anyone know how to fix it? Or work around ? i wanna create 1:1 scale space flight simulator so ...
2
votes
0answers
22 views

The animation on the child is not creating keyframes

Basically, my question is the title. I have a "battle" tank, and am using the "Blender Game" engine to make a simple animation by recording the movements in-game. When I move it with WASD, it creates ...
2
votes
0answers
122 views

How can I make “planetary gravity” or such in the game engine?

I want to make a space game where you launch a satellite and see how far you can get it using "gravitational slingshots" (using planets to have your satellite orbit the planet for a short period of ...
2
votes
0answers
124 views

How to get render to texture working?

I have read the manual, watched tutorials, and read forum posts. So far they have all been based on GLSL and using Python. Including multi-texture in my search results in tuts about applying multiple ...
2
votes
0answers
44 views

Make a car drive perpendicular to normals on certain surfaces given certain conditionsin BGE

What I have in mind is to make a car I made (using the car physics, the one with the rigid body and non-solid wheels) be able to drive up steep surfaces and go around loops and corkscrews and other ...
2
votes
0answers
344 views

BGE: when testing the game the screen glitches

I am making a game in which I am giving controls to a car. I am using the Blender game engine. The problem is that when I play the game to see how it works the screen glitches. What is the problem and ...
2
votes
0answers
193 views

Why is my Blender Game lighting the same regardless of where I put the light?

I'm making a game in Blender Game Engine and I've come across another problem. If I don't have any lighting at all when I go into game preview mode it shows up lit. This looks very cartoonish and ...
2
votes
0answers
798 views

How to create a realtime 3D walkthrough with Blender?

I am not a game developer and its not my domain. I am a Biotechnology student. A part of my project requires making a realtime walkthrough of a 3D house. Someone suggested me to use Blender. But here ...
2
votes
0answers
80 views

How to Fix a Broken BGE Animation

I made an animation in the Blender Internal renderer with a robotic arm and a bone rig. the animation looks like this: However, when I try to play that animation in the BGE, the red cube (palm) is ...
2
votes
0answers
171 views

Physics driven character movement

I've got an armature with a collision-mesh hooked up to it. The idea is now that by only using animations the character would move around in the world. For example pushing off a wall in Zero-G would ...
2
votes
0answers
340 views

Passing bge.texture an array

I can extract a frame from a camera in a scene and process it with numpy but I can't then use the results as a texture. The problem is VideoTexture will only except a path to an image but can't be ...
2
votes
0answers
187 views

Running Blender Game Engine in background

I'm currently using the blender game engine to simulate robotics. In order to evolve quickly in my research, I'd like to start simulations running with the Blender Game Engine on a distant cluster, ...
2
votes
0answers
81 views

Lock game object to its own x-axis

Just been messing about with the game engine. I have a side scrolling shooting thing but when my ship is hit by an enemy bullet it gets knocked along the y-axis and off its current x axis direction. ...
2
votes
0answers
301 views

New BGE mouse look actuator causing camera shake

Bone-parenting the camera to an armature being rotated by a control object with the “mouse look” actuator on it causes the parented mesh shake all over the place, at least in my experience, I'm on 2....
2
votes
0answers
333 views

Super Monkey Ball / Neverball level rotation system

Im making a sort of remake of Super Monkey Ball 2 (Gamecube) / Neverball (PC) is simillar too, but i have already encountred problems: In SMB (Super Monkey Ball 2) or Neverball, you dont move the ...
2
votes
0answers
93 views

Refraction planes texture view vector mapped

Refraction planes texture view vector mapped? My blend to test: https://dl.dropboxusercontent.com/s/1a9yqhqfis5wlrx/mIN5.blend Principle is: texture is fixed, whenever you move object texture will ...
2
votes
0answers
160 views

How to randomly spawn objects a limited distance from another object?

I have a cube 'static' with a collision sensor to my character, and near that cube there should spawn in nearby distances, but random, another cube. When the player walks against the other cube there ...
2
votes
0answers
92 views

My characters walking animation breaks after jumping

When I test my game everything works perfectly until I jump. No animations except for the Idle one I have will work.
2
votes
0answers
297 views

Movement of array along curve in BGE

I am new with Game Engine, and I have a problem with something similar to bike chain. During simple animation, I used array modifier to duplicate those single chain elements, and then I used curve ...
2
votes
0answers
194 views

Why object is white in viewport and textured when I hit “P”?

Why object is white in viewport and textured when I hit "P"? I'm in GLSL and I can't see the object textured.
2
votes
0answers
83 views

Materials and properties, color changes react differently

in my game I have a ray sensor in my player-object searching for the property "block". If the "block" property is found in a target-object, it changes the color of the target-object from [ 0.0, 1.0, ...
2
votes
0answers
254 views

Add object won't work in standalone BGE player with linked objects

Here's my test scene setup: Basically, the cone spawns objects every 30 frames. So, the sphere is located in another layer, it is present in the scene natively. Everything works fine in both embedded ...
2
votes
0answers
137 views

Unapplied curve modifier not applying after export?

This is my conveyor belt in game. its actually translating instead of rotating around the middle in a chainlike fashion, which it is doing in blender. I did this by moving the bone, and it rotates the ...
2
votes
0answers
97 views

Text Properties in Blender 2.68

I have a game that I want to use dynamic text for a Points system and a Lives system. The problem I run into is that when I create a Text Property for the dynamic text, the property name is Text - for ...
2
votes
0answers
113 views

Changing material in a non active scene from python (BGE)

I have two scenes, sceneA and sceneB, which I run in game mode. While I am running sceneA, I would like to change a material in sceneB (but only at a later stage move to sceneB). I can access the ...
2
votes
0answers
311 views

Shadows/lighting not working with image texture

I've been trying to texture a planet with a spherical image that I have. I did a UV unwrap of the sphere and created a new material, then created a new image texture and selected a UV map using map I ...
2
votes
0answers
326 views

Use X Ray in BGE

How can I activate X Ray to an object in BGE? so, it will always be visible, even when other objects are over. I tried activating X-RAY option in Object tab, Display. I also red about using Z-Offset ...
2
votes
0answers
357 views

GLSL Lightsaber (per vertex lighting)

Here's my script, which I activate in the game engine with a python controller, applied to a cylinder. I managed to achieve a pretty good result by following the tutorial on http://en.wikibooks.org/...
2
votes
0answers
378 views

Is there any tool for fast exporting to unreal engine 4?

In Zbrush you can with one click: generate normals, UVs, make mesh low poly,bake texture and save all of these to files. So only thing is left to import those files to engine. Is there some plugin for ...