0
votes
1answer
18 views

OpenGL How to render a voxel based world scene with many objects

I am working on a voxel game engine using OpenGL binding for JVM languages (scala is my case) - LWJGL 3 for OpenGL version 4.5 . Currently I'm stuck with chunk rendering (32*32*32 blocks). To render ...
0
votes
1answer
17 views

Design Pattern for card game objects

In my game, I will have more than 100 types of cards, and before the actual game, player can select 6 of them and will be shown as 6 buttons on the scene. The card have its own ID, card name, and a 3D ...
0
votes
0answers
7 views

How to create an android mobile controller for a game in pc using unity?

Basically i need the android device to send touch inputs to the pc. I have searched extensively but can't any relevant articles to do so. Please help me !
0
votes
1answer
14 views

Runtime Error dealing with SDL_Events

I do not know if this is the best way to handle these SDL_Events, but I am attempting to create a very abstract and generic code that will update my Game Object. Basicly I have a Scene which in my ...
0
votes
0answers
13 views

How to create scrolling input text field using Unity UI

How to create scrolling input textfield using UI in Unity 4.6.6 problems in my project are 1.Cursor is not masking 2.Scrollbar size is automatically become 0 to 1 size 3.Scrollbar is not working ...
0
votes
0answers
17 views

How to develop and optimize the illusion of meaningful character development between the player and NPCs?

How to develop and optimize the illusion of meaningful character development between the player and NPCs? It's very hard for a game developer to create unlimited dialogue options for just one NPC for ...
0
votes
0answers
12 views

Minecraft Modding - How do I use OpenGL stencil functions alongside the game's GlStateManager?

Note: I am using Minecraft Coder Pack 9.10 for game version 1.8.0 (official release). I am trying to make a multiline text field similar to the game's original net.minecraft.client.gui.GuiTextField. ...
0
votes
0answers
10 views

Tiled tilemapper - isometric

I'm attempting to move from oblique mapping (45 degree angles) to isometric (30 degree angles) in Tiled. I made a test tile in Photoshop: Made an isometric map: But my tile appears completely ...
0
votes
1answer
23 views

Algorithm to fill a shape defined by 4 pixel points?

I'm developing an application in Unity3D where a user can define 4 pixel points on screen, and what I would like to do is fill this shape with pixels using Unity's SetPixel. While I can do this ...
0
votes
0answers
8 views

how to handle movement in sprites map draw in open world 2D game

im trying to make an open world game with procedual map generation. i was trying to display player movement by using block transfer method and drawing in the blank space afterward but, im having ...
1
vote
1answer
15 views

Mixing perspectives in an oblique-perspective game

I've been creating an adventure game using 45 degree angled tiles to create a 3D illusion- aka oblique style. Using 45-degree angles... I can create pretty much any size or shape building I want: ...
0
votes
1answer
8 views

Custom Coloring of Tileset Characters

Games like Dwarft Fortress and Dungeon Crawl Stone Soup are drawing their boards using tiles from a tileset image (I think?). I know you can do color keying and replace the background color with ...
-1
votes
0answers
15 views

Will DirectCompute run this HLSL code

I found a sample about how to run a HLSL code with DirectCompute. https://code.msdn.microsoft.com/windowsdesktop/DirectCompute-Basic-Win32-7d5a7408 This is the HLSL script I want to run ...
0
votes
0answers
16 views

Passing a member function as an argument to a constructor in any class [on hold]

I've looked around on StackExchange sites and I haven't found any answer that can help me or that I understand. My issue is: I have a button class. I want the button class's constructor to take the ...
0
votes
0answers
19 views

Problems installing Haxe [on hold]

I've had some problems installing Haxe I'd very much appreciate it if somebody could give me a clear tutorial for full installing Haxe and how to use it with FlashDevelop to start a game project ...
0
votes
0answers
17 views

Unable to Set Text of another Text Object

The Idea: Pressing a button in the canvas will allow the player to select a race. A script is attached to an object which is accessed though the OnClick() function of the button. The script is ...
3
votes
1answer
52 views

How to render a curved horizon when rendering terrain far away

For games with long view distance, it might look at bit weird when you fly high above the ground and the horizon is all flat. So, how can I make a crumb/bend effect, when I fly high above the ...
-4
votes
0answers
18 views

2D Java drawing library? [on hold]

I was originally making a 2D game in c++ but I have been having way too many issues so I decided I want to move the game to Java instead. I'm going to have to rewrite a lot of code, but what I am ...
-5
votes
0answers
22 views

game shop website content [on hold]

I have a website in which i will sell game keys, It is taking so much time to uploading and gathering all the content of each and every single game. Is there anything which I could just copy paste or ...
0
votes
3answers
40 views

How can I pass messages from multiple components to another?

I want to start with an (easy) Entity Component System. I have a question regarding the messaging between Components. Let's say I have a RenderComponent. This component needs 2 integer values x and y ...
1
vote
1answer
50 views

Run HLSL in C++ Basic Sample

I'm considering the idea of taking shaders written in HLSL and running them in an AviSynth plugin to process videos. This would allow accessing various shaders, and also to have GPU acceleration. I'm ...
-6
votes
0answers
38 views

Agar io how can handle thousands of people? [on hold]

Im so curious about that.I know evey room has 100 people capacity but there are 30.000 people hourly.So how the algorithm works exactly?
-1
votes
0answers
20 views

Unity 2D topdown car physics - backward movement

Im trying to implement some movement physics to my car in unity 2D. Im trying to achieve this behavior : if press up - car move forward. if i press down and car is moving - brake deceleration. if ...
-2
votes
0answers
17 views

How to add an image to LibGDX project? [on hold]

I have just installed LibGDX but when I add an image to these folders Desktop/bin Android/assets which are the same for the default image badlogic.jpg, I cannot run my project, I get the ...
0
votes
0answers
12 views

Static blocks - phaser isometric plugin

I'm creating isometric game like minecraft with phaser engine with rotates isometric plugin and I need colliding with player, but when I turn off physics, blocks is not static. Question: How to ...
0
votes
0answers
11 views

Animation not visible

I made an animation with keyframes in Blender with a rig and exported it to a FBX. I then loaded it in into UE4 and I just saw the mesh fine (except for the materials, but that is another story.). So ...
0
votes
1answer
55 views

How can I implement a quaternion camera?

I am trying to implement a quaternion camera in OpenGL 3.3. I have so far used these tutorials below however I have a bug which I cannot work out how to fix. ...
1
vote
1answer
44 views

What is the difference between games technology and games development?

I have firmly decided to be in the games industry. However, I have really hard time choosing a bachelor program because I can't understand what's the difference between games technology and games ...
3
votes
1answer
30 views

How can I make a scrollable text view?

I am trying to do an appication in monogame windows. I have a long text to be displayed on screen. I tried to render it on screen using spriteBatch.Drawstring, was succesful to an extent. But, the ...
2
votes
2answers
80 views

How to manage state in a component-based game engine?

I'm working on a small, data-driven game engine with some friends. We use GameObjects (a.k.a. Entities, Actors, or whatever it is called in your favorite engine) to represent every entity in the ...
-3
votes
1answer
36 views

How can I implement vertex and edge collapsing? [on hold]

I am trying to implement the following function but I would like to know what libraries I need to use in OpenGL because at the moment I have more than 100 errors. I am trying to implement 2 ...
1
vote
1answer
26 views

Finding the “Important” nodes of a grid path

On a Navmesh Grid, all nodes are essentially vertices or turn-points so the returned path is efficient in that it only involves points where an entity must change its direction. A grid path, however, ...
0
votes
2answers
83 views

Swing GUI for games (performance)

I'm developing a game in Slick2D and I'm trying to make GUI. I've already tried TWL library, but it seems to me a bit complicated and it doesn't cover what I need. In my own implementation of GUI ...
0
votes
0answers
16 views

Resizable textured windows

I want to have display a window with a textured background, but the window should be resizable. How would you recommend going about this? Using a 9-sliced image for the background will not work ...
0
votes
1answer
27 views

Segmentation fault on reallocation of memory but why? [on hold]

I have been learning to code in C from this amazing resource http://c.learncodethehardway.org/book/ I am on exercise 17. Basically creating your own simple database using Malloc. I modified the ...
-1
votes
1answer
23 views

Unity Ui slider volume control

I have the ui slider to control my volume, I have my slider to control all the volume of the game. I have make it so when the main slider change value all the other slider change with it but when I ...
0
votes
0answers
15 views

Blender - Fill Up Bezier Curves

I'm having a big problem with the bezier curves in Blender. Im trying to fill up the curves, but i can't. I have already saw some videos from youtube, telling that I have to clic on the 2D button. ...
0
votes
0answers
20 views

SFML Wont draw texture [on hold]

I am trying to load a texture from a different class but when I draw it the image draws white. But when I draw it from the main() it draw fine. Any idea on why this happens?
0
votes
1answer
25 views

OpenTK Ray Picking

I just can't get ray picking to work (I need to drop old working faedback mode, and replace it with color pick, but because my scene can have up to 300K+ objects it is reasonable to filter (it's a ...
0
votes
0answers
16 views

Unity3d iOS build restarts when regaining focus from browser

I have an app made in Unity3d for android and iOS. In it, the user has the ability to link their accounts with Facebook and Twitter. For Facebook I use their Unity plugin, for Twitter, I open an ...
0
votes
0answers
17 views

Scene2d place tables outside stage view

I am trying to create a nice sliding transition between my tables (like in Words with friends), one where I have the main game UI one where I have a freinds list one where I have settings etc I ...
0
votes
0answers
15 views

CreateDelegate need some highlights

I'm trying to understand how to properly use Delegates in c# with Unity3d. What I'm trying to achieve is to dynamically create on Start a list containing all the methods contained in the class so ...
0
votes
1answer
36 views

Moving from HeroEngine to Unity/Torque 3D

Short background: small team with some financial back-up from investors, yet no multi-billion-$ enterprise, working on an MMORPG for PC. HeroEngine looks like the perfect solution. Everything ...
0
votes
0answers
51 views

OpenGL texture seams

I'm atempting to make a game using OpenGL. So far I have loaded an .obj model, and I have generated a terrain as well as a very simple UI. My issue is that it 'seams' (tihi : P) that there are some ...
0
votes
0answers
17 views

Making a node map with PNG alpha channels

I currently creating a 2d game that requires the usage of boats that travel from one country to another. The countries are individual objects with there own png. Nehow I've got the original map of the ...
0
votes
0answers
38 views

The purpose of having a game manager [on hold]

I understand a game manager is meant to keep track of certain things in the game but can't seem to find a more in-depth explanation about what the game manager is suppose to do and what is its ...
0
votes
1answer
23 views

Rectangle Collision Not Correct

As you can see on the top corner it says COL: False/True. This is if the player bounds and the tiles which are solids. The rectangles for the tiles and players are checked if they intercept ...
2
votes
1answer
54 views

Change in direction should slow down object and accelerate in new heading

I'm trying to implement some sort of faux space physics in my 2D game. I have a top down view of my space ship. You can change direction and set a speed up to a maximum which then accelerates the ship ...
1
vote
0answers
14 views

LibGDX - Can't read .ttf file when running Android configuration

when running or debugging my game on android device, i get this error in the logcat: com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: data/fonts/myFont.ttf (Internal) which is ...
-1
votes
1answer
91 views

Using Physics.Raycast inside OnCollisionEnter2D function

void OnCollisionEnter2D(Collision2D collision) { foreach(ContactPoint2D contact in collision.contacts) { RaycastHit raycastInfo; ...

15 30 50 per page