Game Development Weekly Newsletter
Game Development Weekly Newsletter

Top new questions this week:

How can I make backtracking interesting?

When a player navigates a space for the first time, it is very interesting: the content is new, the dangers are unknown, paths need to be found. However, various situations force the player to …

game-design level-design  
asked by congusbongus 24 votes
answered by Boreal 20 votes

Cache misses and usability in Entity Systems

Lately I have been researching and implementing an Entity System for my framework. I think I read most articles, reddits and questions about it that I could find, and so far I think I am grasping the …

c++ performance entity  
asked by Grimshaw 6 votes
answered by ParadoxicalReality 4 votes

How can I create a contrail effect for a spaceship in motion?

I am curious how I could create an effect similar to the ship's tail in the following picture:

graphic-effects  
asked by SteveL 6 votes
answered by Assorted Trailmix 6 votes

Multiple SpriteSheets break batching

The problem: I can't fit all my 2d animation sprites for all units and environment in 1 spritesheet. Everything batches fine until I use two spritesheets... I noticed the following : all units from …

unity spritesheet spritebatch draw-order  
asked by Ruben O 5 votes
answered by JarkkoL 4 votes

How can I get a list of servers hosted by my players?

I'm writing a multiplayer 2D online game, where game servers are hosted by the players. I want to show players a list of the currently hosted game servers. How would I do that? I know how to let …

java multiplayer online peer-to-peer hosting  
asked by Bryce 4 votes
answered by Philipp 7 votes

What's the point of [HiddenInInspector] (as opposite to [NonSerialized])?

I understand the difference between [HiddenInInspector] and [NonSerialized], what I'm missing is the use case for [HiddenInInspector]: so far every time I've encountered it, it was used by developers …

unity  
asked by Lohoris 4 votes
answered by Heisenbug 3 votes

Algorithm to verify if a shape is inside another

I have a rectangular canvas and I need to verify whether a shape is totally inside that canvas or not. The shape can be lines, ellipses, arcs, rectangles and arbitrary polygons. Does anyone know a …

java 2d  
asked by Bruno 3 votes
answered by Mister Guacamole 4 votes

Greatest hits from previous weeks:

How to improve Minecraft-esque voxel world performance?

After playing Minecraft I marveled a bit at its large worlds but at the same time I found them extremely slow to navigate, even with a quad core and meaty graphics card. Now I assume Minecraft is …

procedural-generation optimization terrain voxels space-partitioning  
asked by SomeXnaChump 43 votes
answered by Gavan Woolery 67 votes

What is the purpose of adding non-gameplay elements to a game?

As an example, I'll reference scientists in Jetpack Joyride. I do understand there are achievements that involve scientists, that you can kill them or you have a nerd repellent, but I am not asking …

game-design  
asked by user16547 16 votes
answered by Byte56 41 votes

Can you answer these?

Transparent diffuse fails to render from all viewing angles

I'm rendering this chunk as a Unity mesh and I have just one material (with alpha) which is applied over all the mesh. Everything in the chunk is automatically generated at runtime, so it's not …

unity shaders rendering  
asked by Stefa168 2 votes

How to read a color of a pixel from texture (cocos2d-js)?

How to read a color of a pixel at [x,y] from a texture (in cocos2d-js)?

textures sprites cocos2d ccsprite cocos2d-x-js  
asked by topright 2 votes

Aligning pathfinding to the center of tiles?

I'm looking to achieve tile by tile movement in a project I'm working on. I employed the use of the asset Simply A* Path-finding to allow a unit to navigate the terrain. Since the tiles are …

unity path-finding grid  
asked by user4985 2 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3