The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
3answers
1k views

What caused “falling out of the world” and what fixed it?

A lot of early 3D games had the problem where you'd be trundling merrily along and suddenly everything was black, with an island of what looked like the hollow facade shell of the scene you'd been ...
7
votes
3answers
3k views

What's a good entity hierarchy for a 2D game?

I'm in the process of building a new 2D game out of some code I wrote a while ago. The object hierarchy for entities is like this: Scene (e.g. MainMenu): Contains multiple entities and delegates ...
6
votes
3answers
2k views

Split a 2D scene in layers or have a z coordinate

I am in the process of writing a 2D game engine, and a dilemma emerged. Let me explain the situation... I have a Scene class, to which various objects can be added (Drawable, ParticleEmitter, ...
6
votes
1answer
810 views

How to generate portal zones?

I'm developing a portal-based scene manager. Basically all it does is to check the portals against the camera frustum, and render their associated portal zones accordingly. Is there any way my editor ...
5
votes
3answers
2k views

Scene transitions

It's my first time working with actual scenes/states, aka DrawableGameComponents, which work separate from one another. I'm now wondering what's the best way to make transitions between them, and how ...
4
votes
1answer
69 views

Unity scene performance - better to use one scene and toggle what is active?

Unity scene performance questions In Unity, were one to have a scene that is basically identical in all but a few ways, would it be better to keep them as separate scenes, or to have them be one ...
3
votes
2answers
2k views

Create Adventure Game Scene/Room/Backdrop from Real Photo

Is there a suitable software or a good tutorial for creating 2D rooms/scenery for adventure games from real photos? Is it possible to achieve good results by using photos, or the hand-drawn style ...
3
votes
2answers
112 views

What is the Basic Game Screen/Scene Life Cycle?

Question What is the standard or basic game screen/scene life cycle used in most games? What is Screen/Scene? The term screen or scene refers to the current displayed entity holder where game ...
3
votes
1answer
244 views

Is there a standard camera position / orientation?

I've come across a need to position a camera for an arbitrary (unknown) scene. The camera can be updated later, but I thought I'd give it a reasonable default, and the thought crossed my mind that ...
3
votes
2answers
125 views

Unity Change Sceneview to camera view

On selecting camera, I get the camera preview. In Unity, while editing the scene, I wish to switch in such a perspective view that is exactly visible by the main camera. Is there a short cut to ...
3
votes
1answer
1k views

Scene Graphs and Entity Component Systems

I am trying to determine how to move my current implementation of nodes in a scene graph to an entity component system and am struggling to wrap my head around how the two can work together, if at ...
2
votes
2answers
232 views

State propagation in modern OpenGL

When last I dabbled in game development, I managed my geometry in a tree. Every node would call the render method on it's children, prior to resetting it's transformations, thus allowing the ...
2
votes
3answers
992 views

Integrating Scene Graphs and Physics Engines

For some specific reasons, i will have to use a graphic engine based on Scene Graphics with a Physic Engine without this concept. I was thinking about a clear way to integrate both representation but ...
2
votes
1answer
2k views

Showing Parallax entity and AutoParallax entity on same scene in AndEngine

How do I create both a parallax background and an autoparallax background in the same scene using andengine? The problem is, I want one entity to move at a constant speed regardless of the camera's ...
1
vote
2answers
512 views

NPC daily routines and scene loading

I'm making a basic survival RPG in Unity 3d. I'm separating my world into different scenes to save memory but I'm not sure how I'm going to program NPC daily routines. For example, if the player ...
1
vote
1answer
327 views

How to design the scenarios in a platform game?

I am developing a 3D platform game like Metroid Fusion with XNA. I have many classes for different elements as models, game screens, post-processing and so on. Now I want to start designing the ...
1
vote
3answers
193 views

Unity: how do I edit a second scene when my objects are still in the first?

I have my game set up so that objects like the Canvas and the main character are set to DontDestroyOnLoad; they're only initiated in the first scene. However, this means that when I load my second ...
1
vote
1answer
349 views

Creating big scene and little size chasing camera

I would like to create a climb based game, so I need to have a big scene and a camera that cover only a little part of it and chase my player. This image explains easier what I want: How can I do ...
1
vote
1answer
365 views

Cost of changing scene in andengine

I'm working on a simple 2d puzzle with small textures (in count and quantity). Now after I finished the game logic I'm considering tow options to switch between levels: Remove all objects manually ...
1
vote
1answer
3k views

Problem switching Scenes in AndEngine [closed]

I am Developing a game in AndEngine Gles2. I have splash scene, loading scene, menu scene and Level1 scene. I am using a Screen Manager to manage all scenes so I can easily switch between splash, ...
1
vote
1answer
92 views

Is it ok to use polymorphism as a way of “interfacing” with objects in a scene? [closed]

I'm designing a class that holds values representing a 3D scene. This includes lights, cameras, meshes, materials, etc. The way how I'm setting it up is that each "thing" has a name. A camera has a ...
1
vote
1answer
1k views

Saving an interface instance into a Bundle

All I've have an interface that allows me to switch between different scenes in my Android game. When the home key is pressed, I am saving all of my states (score, sprite positions etc) into a ...
1
vote
1answer
123 views

Level loading philosophy in MMO games

I've been working on project for quite a while, and I've returned to dilemma about level loading. The problem is i trust the client with it's local level loading, when it's done loading it tells the ...
1
vote
1answer
1k views

Load previous (last) scene used in unity3d

Im making a 2D game for android and I made over 200 levels/scenes.I also made a game over scene that opens when the players collides with an obscale.In the GameOver scene I added a retry button which ...
1
vote
2answers
4k views

Retrieve variable from another class and send to another scene in Unity

Sorry for asking a noob question, but I have never used c# in Unity, only unityscript. Basically I have a public int score variable stored in Players Class. I need to retrieve it in the following ...
1
vote
1answer
977 views

How is a splash screen that is disposed upon user input meant to be implemented?

I'm going through Gustavo Steigert's tutorials on libgdx, but I have a feeling that this is more of a design question, rather than specifically regarding libgdx. My question is regarding the splash ...
1
vote
1answer
345 views

Unity3d seamless level loading

I've read that application.loadLeveAdditiveAsync is a pro only feature. I'm looking for an asset that can do something similar. I would like to load assets based on the camera/player position. ...
1
vote
0answers
35 views

Where can I find a collection of photorealistic scenes? [closed]

Where can I find a collection of 10-100 3D scenes with photorealistic levels of detail? For example, the scene rendered here contains photorealistic detail. Note I want the underlying object models, ...
1
vote
1answer
577 views

Clearing an SFML scene with a partially transparent color

Is there way to clear a scene with a transparency (alpha) value, in pure SFML? I'm trying to clear with rgba(0,0,0,128) so the previous frame still partially shows through, which would create a ...
0
votes
2answers
469 views

How is the environment moved in endless runner games like Tiny Wings

I've always wondered how the background scene is scrolled endlessly as the main player is moving (usually to the right). With Tiny Wings I suspect that it's somehow drawn dynamically because when ...
0
votes
1answer
50 views

Scene node system [closed]

I read Real-Time Rendering and the author explains that scene graphs can be used to propagate "materials" and light sources down the hierarchy, that's cool but it really ends right there. There's no ...
0
votes
1answer
26 views

How to put labels at a specific point on any resolution

I am working on a project in Unity 4.6.1 and I put the label at the top: But when I put the Scene in full view this happened: I made a Development Build and when I select my resolution (1366x768) ...
0
votes
2answers
1k views

How can I move objects pixel by pixel in the scene editor?

I'm trying to find a way to move objects pixel-by-pixel(on my screen at least) in the scene editor. I tried a lot of different buttons but nothing seems to work, please tell me Unity has this ...
0
votes
1answer
110 views

Push Notification to start a scene

I was wondering whether I can use APNs in iOS to trigger an event in my game, like start a scene without user clicking the notification. Is it possible to use remote push notifications for events like ...
0
votes
2answers
51 views

different Scenes but each of them loads per frame

well i want to have something like restaurant that divided in 3 sections.and the user can switch between these but every Scene loads every frame.for example the character is in the first section and ...
0
votes
1answer
63 views

How to set LinearVelocity exactly in onSceneTouchEvent?

I'm beginner in Android programming. And i use AndEngine GLS2 with Body and AnimatedSprite. I have a object ball and i want to move it to follow my hand. This is description for my idea: And my ...
0
votes
1answer
185 views

How to keep track of previous scenes and return to them in libgdx

I have three scenes: SceneTitle, SceneMenu, SceneLoad. (The difference between the title scene and the menu scene is that the title scene is what you see when you first turn on the game, and the menu ...
0
votes
1answer
144 views

What is a correct step by step logic of exporting scene with baked occlusion for loading it at runtime?

I wonder what is a correct step by step logic of exporting scene with baked occlusion (Culling data) for loading that scene at runtime (on fly from the internet for example))? So currently my plan ...
0
votes
1answer
117 views

Game states & passing data between scenes

I'm not entirely sure if I'm doing this right, but I always considered the scene system in Unity as some sort of state management (rather than e.g. a level system) which allows to group the contents ...
0
votes
0answers
24 views

Custom Scene Component Do Not Register Children

I have made a class that is derived from USceneComponent which contains 4 references for itself and two UStaticMeshComponents. Simply I am trying to make a tree structure. When I first create actor ...
0
votes
1answer
51 views

How to reregister gamecontroller changedvalue handler upon game scene reload

I'm working on a tvOS game that uses the siri gamepad controller. Everything works fine the first time out. If the user loses the round I reload the same scene using presentScene. After reloading the ...
0
votes
1answer
117 views

Implementing a SceneManager using OpenFL

I'm trying to implement a basic SceneManager using OpenFL and Haxe. I don't have a lot of experience using OpenFL and Haxe so I have a few problems. Here is how I designed the SceneManager class: ...
0
votes
1answer
56 views

Camera (pole cam) implementation problem

In my project I have simple scene graph to render whole scene and Bullet physics SDK to provide physics simulation. Each rendered object is represented as scene node. Camera always has target and ...
0
votes
0answers
113 views

Rendering an Assimp Scene object in XNA without DirectX or OpenGL

Is there any site that explains how to render an imported Assimp Scene object in XNA/MonoGame using only the Frameworks available in those libraries? I realize that would be at the Vertex/Matrix level ...
0
votes
0answers
46 views

OpenGL - How to use depth checking and alpha blending at the same time? [duplicate]

Suppose I have a semi-transparent object (let's call this "bubble"), a solid object (let's call this "wall"), and the bubble is closer to the camera compared to the wall behind it. If I draw the ...
0
votes
1answer
546 views

Android Device Screen Flicker

I have made sudoku type game. I am about to complete my game in 2d. At present, my game run smoothly on higher configuration devices such as Sony Experia Sola, Samsung Note 2 and Google Nexus. But it ...
-1
votes
1answer
245 views

Game Scene Manager

I'm starting to code my engine's Scene Manager, and after some research in the internet I've found (surprisingly) various posts against the use of a SceneGraph. It does make sense, and the concept ...
-3
votes
1answer
430 views

Which models and scene to use for a dungeon game?

I use jme3 with some builtin models and scenes and I've managed to put together a third person 3D scene. I now want to program some attack and/or fights and I think that skeleton warriors and/or ...
-3
votes
2answers
77 views

what is perfect manner to load scene and than player position.? unity 5.3

Here i have problem with scene and object position. My problem is position of object/player changed after load scene. I don`t know why this happens?. I have saved my object position with ...