0
votes
0answers
5 views

What do most MMO network architextures use a front end server to sort the messages and send them onward to the correct server?

If for example 2 players are in zone3.. players 1 casts a fireball towards the direction of player 2.. Why should this message be sent to the frontend server for sorting when we can just send it ...
0
votes
0answers
6 views

Recommended approach for event system in Java

What are the recommended approaches for an event system of a turn-based RPG's battle engine? The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...
1
vote
0answers
13 views

How can I animate characters' static-geometry eyes?

Here's a Nintendo example: Specifically, the animation of the pupils seems not to animate the geometry. How is this done?
1
vote
0answers
10 views

Why are my sprite outlines partially rendering in the wrong place?

I've been trying to draw an outline around a sprite using the code from this answer. Details My sprite is called Ship2Sprite. This is how I create the rectangle: rectangle = New ...
1
vote
1answer
14 views

Cant center screen between black bars

As I was trying to adapt my game to different device resolutions I ran into a problem when adjusting the game screen between the "black bars." In my case I am using the FitViewport class from the ...
0
votes
0answers
28 views

Is it possible to add characters to a game dynamically? [on hold]

I would like to design a 3D FPS game on a mobile platform which starts off with a set of characters. Periodically I would like to release new sets of characters. The characters, their animations and ...
0
votes
0answers
7 views

Where is “set VectorParam”?

I am going through the 3D Buzz UDK tutorials and reached the parts about toggleable lights etc. I have created my Materal instance constant and have dragged and dropped it onto the flourescent tube so ...
0
votes
0answers
16 views

How do I stretch a C#/Monogame viewport to a desired resolution despite the true window resolution

I am making a 2d game with xna/monogame. I want the main view area to always show 15x15 tiles, or 480x480px. I've got something that sort of works with this guide. It expands the view range if you ...
0
votes
1answer
38 views

Unity create water issue

I use daylight water in my project but by the default it has not got any waves or light tracing effects. But in some tutorials I see how the user add standard water asset and it has got beautiful ...
1
vote
0answers
11 views

problem loading Collada DAE model using Assimp in OepnGL 4.4

I am loading a model in my OpenGL application using Assimp library like this : bool CGameObject::LoadModelFromFile(char* sZFilePath) { std::string fn = sZFilePath; std::string td = "\\"; std::string ...
1
vote
1answer
36 views

Scale around a point

I am trying to create an image editing application for the purpose of generating UV maps in my own format. I am currently working on scaling the image for the purpose of zooming. I can get the image ...
0
votes
0answers
9 views

Mouse coordinate conversion Libgdx

I have a camera: //Map is a my object that wrapper of TiledMap class In the create method: this.renderer=new OrthogonalTiledMapRenderer(this.map.getMap(); this.camera=new OrthographicCamera(); ...
0
votes
0answers
15 views

Libgdx/Box2D PolygonShape has no position… well, what now?

As my prototype works perfectly fine I want to advance to more fun areas of the project and add a more complex player-character body. So for Box2D I figured I'd need multiple fixtures, like one for ...
6
votes
2answers
651 views

How many OpenGL programs should I use to render multiple objects?

My scene has multiple objects in it. (Let's say 3 cubes, 1 cylinder, 8 spheres.) I assume I should create a vertex shader for each. How many programs should I have? Alternatives: One program per ...
3
votes
1answer
43 views

Unity: White line at camera meaning

I'm a new comer to Unity. In Unity, when I click to main camera in Hierarchy view. I see 6 lines: one blue, one red, one green and three white. I know red/green/white lines for (x,y,z) location but I ...
1
vote
2answers
53 views

How do I implement time scaling?

I want to be able to change the game speed, to speed up or slow down all animations and gameplay. Ideally, this could also be set to a negative number to make everything go backwards. I tried this: ...
12
votes
4answers
2k views

Why are gaming graphics not as beautiful as animated movies?

I remember watching the Tomb Raider pre-rendered trailer, and wished those graphics could be in the game itself. Why there is such a big difference between the trailer and the actual game? I ...
-4
votes
1answer
47 views

Which programming languages can I use with Unity?

I am fairly familiar with Unity and I know how to work most of the features within it. But I don't know what programing languages to use for my Unity game. I have heard that it might be C#, but I am ...
1
vote
0answers
26 views

MonoGame - Get the 2D area of a 3D object

I'm writing a 2d game, but decided to make some 3d objects that my 2d character can pick up. I've got them displaying on the screen - but can't work out how to get the 2d area that the 3d object is ...
1
vote
1answer
76 views

Implementing Galaga Style Enemy Behavior in Unity

I've been trying to work on a space shooter with the idea of having enemies behaving like it is shown in this video : https://www.youtube.com/watch?v=3p7u8uCR6yw In the video above, enemies fly from ...
-2
votes
0answers
48 views

Content is null [on hold]

I finally got the tileset to work, but after I got it working I was hit with a a content null error. Which is from: this.content = new ContentManager(content.ServiceProvider, "Content"); The first ...
0
votes
0answers
19 views

Book recommendation for Game Design? [on hold]

After being a developer for some years, i'd like to learn about game design. I've searched quite a lot of books but have no idea which one to start with. Is there one kinda like a standard that is ...
0
votes
0answers
9 views

LibGDX ShapeRenderer graphical glitches

So drawing something static on the screen with the ShapeRenderer is fine but whenever I try to move something it starts glitching out. Here's a vine to show what I mean: https://vine.co/v/OBxFi1P2IO9 ...
0
votes
0answers
19 views

Unity Physics Material - Character Slides Too Much

I am currently working on a 2D platformer in Unity. I am using a prefab from the AssetStore for my character (The last paragraph contains a link to the prefab). The character has a circle collider for ...
1
vote
1answer
33 views

What does the “random element” do in Cellular Automata

I'm reading this post on TutsPlus regarding procedural level generation using cellular automata. My question arises in this code snippet: float chanceToStartAlive = 0.45f; public boolean[][] ...
0
votes
0answers
30 views

Multiple tile drawing in monogame is slow

So I have this drawing function (which is by the way recomended as an solution here). It draws tiles on the whole window with no problem but my game slows down to ~30fps after maximizing it to ...
-1
votes
0answers
29 views

Is it possible to make a 4-player P2P Flash game? [on hold]

I found out about P2P in Flash just minutes ago, and I was wondering if it's possible to make a 1v1v1v1 game with it. If so, does anybody know of any tutorials? This P2P stuff is really interesting.
0
votes
0answers
16 views

How can I create a raster from a custom Pixel array?

I have a rasterizer that I am building. It will first load a .obj file and create points to draw. Then, an image will be plastered over the wire frame and from there become an image on the next frame. ...
0
votes
0answers
24 views

Deferred Lighting - Mapping generated texture on to screen when there size don't match

A while ago I asked how to map to the generated texture to screen and I was told to use Load function. I found this answer to be fine when the texture and screen size match but it doesn't work when ...
4
votes
3answers
523 views

What is a direction vector and why should it be normalized?

I've been trying to get the hang of vectors and I read Wolfire's blog about linear algebra and I seem to understand most stuff except when it comes to storing a direction as a vector and using it by ...
0
votes
0answers
10 views

Handling multiple clickListeners (LibGDX)

I have two methods which draw two buttons in my game. private void drawOnePlayer(float dt) { final Texture texture = new Texture( Gdx.files.internal("Assets/buttonOnePlayer.png")); ...
2
votes
1answer
48 views

Screen coordinates to isometric coordinates?

I know this has been discussed here before, but I couldn't find an easy solution for my particular problem. I have a tile system and I'd like to convert screen coordinates into isometric tile ...
2
votes
1answer
59 views

Balancing Attack to Defense in a text based RPG

I understand that there is no correct or incorrect way of doing this, and its all down to a matter of trial and error in terms of perfecting the system. What I am after is some advice or even get ...
1
vote
0answers
67 views

Is it reasonable to use a 2D texture as a lookup table in GLSL

I need a lookup table in a shader. The input values would be color values and the output other color values. Something like: uniform float lut[256]; color = vec3(lut[int(color.r*255.)], ...
2
votes
1answer
16 views

Refresh rate in PSM apps

In main loop of PSM app: public static void Main(string[] args) { Initialize(); while (true) { SystemEvents.CheckEvents(); Update(); Render(); } } we are not ...
2
votes
3answers
45 views

Fullscreen transition time

I'm not sure whether this is the correct site to ask this question, but why does it sometimes (game-specific, usually) take really long to enter / exit a fullscreen game (black screen for ~1-5s)? And ...
-1
votes
0answers
15 views

Connecting together multiple classes JAVA [on hold]

In my previous question I learned to divide one class into multiple classes. I divided them into a couple of classes, but it is not working! It just shows blank screen. Map isnt loading nor the ...
0
votes
1answer
25 views

How do I properly import an fbx 3D model into Unity3D?

I am trying to properly import a 3D model that was made for my game in Unity3D. I was able to import the model, and I put the texture on it, but there are several other files that go unused. I think ...
-3
votes
0answers
26 views

While loop not working in breakout game? [on hold]

Below is the simple breakout game, i am using the while loop in draw() to continuously move the ball but its just showing the white blank screen ,not even showing the pad. #include<windows.h> ...
-1
votes
1answer
33 views

Using multiple strings within the path to Write to Text File [on hold]

In Unity3D, How would I use something like this: path = "C:\Users\Jonathan\Documents\FileData" + fileName + ".txt"; so I can make a for loop and create several text files under desired path? The loop ...
1
vote
0answers
12 views

Best practice for saving content-dependent metadata? [on hold]

What is the best practice (compliant with the 3D pipeline) for saving content-dependent metadata, such as barycentre? I don't want to render the metadata, but I want to inform the users about it. I ...
0
votes
0answers
36 views

Multiple Body Code?

I've been working on one game, 3D RPG with Ogre graphic engine and I wondered if there is a code for multiple bodies? Currently there is only one body model and if I want to add a new one, the ...
0
votes
0answers
16 views

C# XNA 2D Tile Lighting Problems [on hold]

Hi guys im trying to implement 2d smooth lighting effect like terraria.But there is some issues like this: http://oi61.tinypic.com/2udwdy0.jpg Border blocks has 0 light, why i dont know. ...
1
vote
2answers
54 views

Command Interface design for RTS

Commands may have different target type; like NONE, COORD, UNIT. Some example commands may be: Attack (target UNIT), Move (target COORD), AttackMove (target COORD), Stop (target NONE), UseAbility ...
1
vote
0answers
23 views

Implementing debug “overlay” info

This question is actually about GameEngine2D which is part of PSM SDK (for PlayStation Vita development), however as stated in documentation it's loosely based on cocos2d library. I hope that my ...
0
votes
0answers
22 views

Deploy javascript game on andorid and ios [on hold]

I have a javascript game (html5) developed for web, which i want to launch on android and iphone app stores. i have surfed the web and i found this platforms.. CocoonJS, Game Closure, PhoneGap, ...
-1
votes
0answers
54 views

What language should I use, and how should I go about this? [on hold]

After a few weeks of trying to decide what my personal game project will be, I finally came up with one. I'm a pretty decent programmer, but I don't know if I am coming at this the right way. I plan ...
-1
votes
0answers
15 views

What would be the best business-model used for free game apps for mobile?

Do you have any recommendations and tips in order to start making or building business model mobile phone game apps (for Android and iOS) especially if it is free version? How will make it successful ...
1
vote
0answers
39 views

How do I convert a Source engine NPC model to a player model?

The Source engine's NPC and player models differ: An NPC model applied to the player has no animations. It cannot walk and holds its arms out to the side by about a foot. The weapon is held in the ...
4
votes
0answers
54 views

“Normal” Blend Mode with OpenGL Trouble

I've been having a lot of trouble trying to get a OpenGL blend function to work as I'd expect it to with like what I'd expect (or from any sensible image editing program). As an example, I'll use ...

15 30 50 per page