0
votes
0answers
3 views

pygame.display.update(list) updates entire screen, not just rectangles in list

I have two "sprites", one following the mouse and one that moves with WASD. They aren't really pygame.sprite.Sprite objects, but they move like this: Paint over original position with that piece of ...
0
votes
0answers
8 views

How to take a screenshot with java from directX

I'm looking for a way to take a screenshot with a Java application of any running directX game. I use the following code Robot robot = new Robot(); GraphicsConfiguration config = ...
-2
votes
0answers
11 views

What's happened with Panda3D project?

Maybe the question is not correct but I can't not ask. Some time ago I've found exiting game engine, which core was in C++ so it was fast and which functions I could call from python so it was very ...
1
vote
1answer
20 views

Is it a bad idea to couple action and animation?

I'm making an ARPG (like Legend of Zelda but with more action), and this question raised during the development: Should action and animation be coupled? Or should they be independent? With this I ...
0
votes
0answers
14 views

Implementing a group formation behavior

I am trying to implement a group formation behavior where all the units in my group follow a leader and maintain their position throughout. So far I am able to move them, rotate and follow the leader. ...
0
votes
1answer
41 views

How to handle game objects in DirectX

Coming from XNA, I would use the content pipeline and create XML files for game objects. However, if I changed something in the XML, I would need to do a rebuild of the project so it will create the ...
1
vote
2answers
35 views

A Star pathfinding algorithm, multiple node set optimization

I'm trying to determine if this is an optimization I should pursue or if this is way to complicated to be worth my time. I've successfully implemented the A Star Algorithm for my video game. I used ...
1
vote
0answers
12 views

Direct X 11 2D Books/Resources [on hold]

I would like to learn Direct X 11 (coming from XNA) but I cannot find any good resources. All the resources I found either focus exclusively on 3D, or use so many third-party solutions it does not ...
0
votes
1answer
61 views

How to specify colour in a single 32 bit value

I'm writing my first game using OpenGL 2 ES (for Android), and I've currently got a particle engine and some player sprites running successfully. I'm using 4 floats for the colour of each particle ...
0
votes
1answer
53 views

Are there any advantages to different programming paradigms specifically releated to game programming? [on hold]

I have been researching three different programming paradigms namely procedural, object oriented and functional. So far I have been able to find a lot of good information regarding general differences ...
1
vote
2answers
52 views

Save a mouse coorinates after a specific number of seconds

I have a specific method that saves my mouse x and y coordinates. I want that mouse coordinates be saved by specific time (for example after 1000ms). How I need to do that in Java? Please add a simple ...
-1
votes
2answers
41 views

Word for a relationship specifying that 2 objects don't affect each other

I am aiming to create an Enum for a terrain_surface_layer.type property. The 3 types of terrain_surface layers I wish to implement are the following: Single - only a single type of terrain_surface ...
2
votes
1answer
218 views

Handling game-state updates in an MMO while the player is logged out

I have a plan to build MMO strategy game like Goodgame Empire or Travian for windows phone. I want program it in C# Monogame (because I have some good experiance with it). But I still can't figure ...
3
votes
1answer
59 views

Large 2D Arrays Causing Garbage Collection

I've been working on a game in Java that, for this post's sake, looks like Terraria and has random world generation. I've been using Vectors to contain my tile/block objects, but recently due to the ...
0
votes
1answer
59 views

More vertices vs more textures

I'm currently working on a dynamic 'door' creator, and I'm trying to decide which is more efficient. Not much experience with 3D render speeds, so I'm asking before I choose which direction to go ...
0
votes
0answers
43 views

What is GPU bandwidth?

Does it refer to the bandwidth between the RAM, Northbridge and GPU, or internal bandwidth within the GPU? How much data is it possible to send to the GPU in a single frame?
0
votes
1answer
25 views

Can't go above max speed with RigidBody2D.AddForce()

I'm having trouble making a character move faster than a certain limit using RigidBody2D.AddForce(). My game is a top-down 2D game (constrained to the x/y plane). I'm using a float 'MovementSpeed' to ...
3
votes
2answers
79 views

Lerping character moving up and down slope tiles

So, when interpolating position against a standard 'horizontal' platform, everything works great. What happens is something like this..... (Question continues after graphic) Now, the question I ...
-1
votes
1answer
23 views

Finding and reading a script on a mouse-selected GameObject

I can't work out how to access and read changes in a script of a gameObject that has been selected. The script selects enemy objects with right mouse button and player objects with left mouse button. ...
2
votes
1answer
47 views

Colision detection of disc (Maximum Material Condition aka “Flatness”)

I have a 3D-laser scanner which gives me a series of points of a real-world object. The points are related by a common origin. I know I can derive the equation of a plane from 3 points and that the ...
-1
votes
0answers
52 views

What makes a game jam worth participating in? [on hold]

I'm looking to start my own game jam competition which would encourage people to actually finish a game (I've read a lot of game devs often procrastinate, or never finish a game because they have ...
1
vote
0answers
19 views

Scripting Documentation

I'm working in a game which will support scripting. I have seen that popular games supporting this feature usually ends up setting up a wiki from where one can obtain information about how to script ...
1
vote
0answers
17 views

Phaser / PIXI: World size vs. Stage size

I am using Phaser to build a "zoomable / pannable" 2D galaxy with the intended functionality being that the player's home planet is always in the middle of the World coordinates. I have a problem ...
3
votes
1answer
24 views

Weird texture binding bug on Mali-400 MP

On Mali-400 MP, there's a weird bug with texture binding. Sometimes, shaders use textures from wrong samplers. On other mobile and desktop GPUs, the same code works fine, but on Mali, almost every ...
1
vote
0answers
27 views

Copy a folder in Assets/Resources folder programatically depending upon a constant

I have a Unity3d project in which I have 200 games and some 350 scenes. Now I want to make separate builds for each game. All my assets are present in Assets/IgnoredAssets/ABC folder. To include these ...
1
vote
0answers
72 views

How to properly do top-down aRPG melee attacks?

I'm reposting this from my own thread in reddit's gamedev community, since there were too few responses: I've been looking for some info on that, but I mostly find articles on the design of such ...
1
vote
1answer
30 views

How to sync gamestate between server and clients in turn based 4x game?

Background information: I am developing a game similar to other 4x games like Sots, MoO,... I am storing all information about the game(like star/planet/ship/fleet positions, owners and a lot of ...
-1
votes
1answer
29 views

Recording time since last collision

I am trying to record time since the last collision happened.But this is not working as I expect it to. So, numberLimitOfCollision is equal to 0 only in the begining, Basically, what I am trying to ...
0
votes
3answers
88 views

How do game servers / clients handle data?

How do servers handle data? I understand the concept of the client sending the player pos and then the server sending back the area to display and also sending other player positions and such. But ...
1
vote
2answers
50 views

Traditional Chunk Loading vs. Chunk Swapping

I'm designing a voxel-based game (aren't we all?), and just yesterday implemented infinite terrain generation. I'd already had the terrain generation working off of simplex noise, so this wasn't a ...
0
votes
1answer
43 views

How to move a body from one world to another?

I have a Box2D world for each level in my game. When a level is completed, I want the player to be removed from the completed level's world and added to the next level's world. How do I do this?
1
vote
1answer
36 views

Numerical integration of multiple off-center forces on a solid body

I am trying to develop a little simulation (for the sake of learning a little bit about physics) involving a circle (mass m, radius r, regular density) and two forces f1, f2 that can be applied on any ...
0
votes
0answers
18 views

Render isometric TMXTilemap with antialiasing method

I'm currently working on a cocos2d-x project that uses isometric tile maps.all the tiles are as small as 64*64 px.So I have to scale the map up a little bit.TMXTilemap is handy but its render method ...
1
vote
0answers
27 views

How to produce a texture to represent a vector field

I would like to be able to produce a texture that essentially represents a 2D vector field (eg red represents vector {1, 0}. What I would like is to draw a path and the vector at the point on the ...
1
vote
0answers
21 views

Unity 3d 4.6b New GUI system doesn't take touch when already a touch event is occurring in 3d scene

I know this is beta version but.. I have a Canvas->Button which works fine when I tap it normally. I have a joystick in my scene which is drawn by separate camera other than mainCamera. now, while ...
1
vote
1answer
133 views

OpenGL (ES 2.0) Function Dependencies

In OpenGL (ES 2.0), there are many functions that can be called in any order, and still others that must be called after other functions had been called and not before. For example, attaching a shader ...
0
votes
0answers
27 views

Animation is not playing

Some animation cannot be applied on the character.This the code I have used to play a animation on the character.Can anybody help me solving this issue? void OnMouseEnter() { Debug.Log ...
1
vote
2answers
37 views

most effective storage of logged information

I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method. To log when a player connects and disconnects to a the server it ...
0
votes
1answer
35 views

Downloading 10 images and storing their data with WWW

I would like to download 10 images, and store their texture data into my list. I don't really know how to do that - I heard that for this you use the WWW class, so I went: List<byte[]> ...
1
vote
1answer
65 views

From 3d rotation, snap to nearest 90 directions

I have a 4x4 transformation matrix, made only from successive rotations and translations, and I'd like to "snap" my object to the "nearest" of the 24 orthogonal (multiples of 90 degree) rotations. ...
0
votes
1answer
30 views

Tilemap collision problem

I have a method here that returns true if a collision is detected between the player and tile. private bool CheckCollision() { foreach (CollisionTile tile in ...
1
vote
1answer
12 views

MonoGame SharpDX Error 'The Parameter is Incorrect' when using graphics.DrawUserPrimitives

Below is a small section of code that is meant to draw a multicolored triangle to the middle of the screen in a MonoGame game. This uses the basic function DrawUserPrimitives to draw the triangle. ...
1
vote
1answer
46 views

Why are shadows not snapping to the objects?

I'm using a directional light in Unity to cast shadows. However, the shadows don't appear to be "snapped" to the objects creating them. The object appears to be floating in mid air while it actually ...
-2
votes
0answers
32 views

How to create Timed Mode in Unity

I am creating a 3d Road rash kind of game in unity. My player(bike) does not move in z axis but the track and enemies are moving towards it and hence make it appear to move. I can already calculate ...
2
votes
2answers
37 views

Box2d bodies that are really close together, are getting “stuck”

I'm using a tiled tmx map, and I created a class that adds bodies to each tile within a certain layer. This has been working great so far except for when a character or an enemy moves around on the ...
1
vote
1answer
65 views

How to resize my 2d game to fit the screen?

I am currently making a 2D game using Java (Java 2D). I want to make my game resizable. If you play any game on an emulator (e.g. legend of Zelda in fceux emulator) in full screen mode, you'll see ...
-2
votes
0answers
39 views

Creating a DirectX 11 Project with VS 2013 on Wndows 8?

I have problems to set up a DirectX 11 Project [no App] on VS 2013 Pro. I read that Win 8 already has the SDK integrated, but how can I use it's headers/library? Where are the library/include fodlers ...
0
votes
1answer
29 views

Predicate methods and not logically related fields

After getting something up and running, I want to do some refactoring (to improve extensibility). From this, two problems about composition and design arose: If Creature have a public getHealth and ...
-1
votes
0answers
74 views

Best real-time method for fast glass rendering (like cups, vases, sculptures etc.) in WebGL

I am looking to use the best method available for fast rendering glass architectural features (like cups, vases, sculptures) in WebGL. I am not interested in writing a full ray-tracer. I was ...
1
vote
0answers
10 views

How to create scrollable text in AndEngine?

I'm creating some tutorial text that the user should be able to scroll. Is there any way to make vertical scroll in AndEngine so that we can easily view all the content by scrolling up and down?

15 30 50 per page