New answers tagged programming
9
A tools programming position is generally about being a force-multiplier for the rest of the development team. The exact nature of the work will of course vary widely from studio-to-studio, depending on the individualized needs of that company.
Primarily, however, you would be tasked with creating software that was going to be consumed by other developers ...
3
A tools programmer is a specialized role, one that is becoming essential to production. You are essentially someone who looks at the pipeline used to create a game and find ways to optimise the process.
As a tools programmer for several triple-A games, I have done:
Create new editors, e.g. level, graph, and sound, for designers to use.
Extend, fix bugs, ...
1
Scenario 1:
Flash and AS3
Sometimes you need to create certain functionalities which will help yourself more in your game production pipeline . By 'tool' it means something that can help speed your development process.
For example Flash basically does not provide with perfect pixel collision detection. So you could either write one yourself or try googling ...
17
In short: Develop programs used by others to create something (i.e. tools).
A popular and easy example would be a level editor for a game.
But this could be a lot more behind the scenes, like some version tracking program, a bug tracker, forums, some checker to verify content is without mistakes, etc.
1
It kind of sounds like you're doing things on update that should be done on trigger. Let's take an example I thought of:
You want a particular puzzle-related light to shine much more brightly if the hero is standing in a particular spot in the room, to alert his attention to it.
You probably shouldn't be checking each frame whether he's there; you should ...
0
If you are very new to all of this I strongly recommend using Greenfoot, it is an environment for learning Java by making games. They have many tutorials and will ease you into Java and Game development.
http://www.greenfoot.org/door
1
Java is an excellent option to start with given the fact that you can put to good use that experience into creating games for Android if you want to. Besides, it's better to start with Java being strong-typed but developer-friendly when it comes to memory management. The best approach is to learn Java and Java2D. You can load your image files but have to ...
1
If C# is an alernative ( it is quite similar to Java ) you could check out C#/XNA. It's very easy to make games in it. It helps you with several topics such as intersection, sprites and audio. But you will handle all the logics yourself.
C#/XNA will be easy to start with. Make a few games with it. If you want to handle more of the game engine yourself, you ...
1
start with Java, it's going to be A TON easier than c++. although c++ doesn't have any dependencies, java is better to start out with when creating a game like you've described.
c++ honestly wouldn't be necessary in this case
3
Beware that there are multiple ways of getting the relevant directory:
The Environment.CurrentDirectory(MSDN) gives you the working directory of the app. That is not always what you want. For example, you call the .exe of your game from C:\, and the working directory will be C:\ not the one where the .exe resides
AppDomain.CurrentDomain.BaseDirectory(MSDN) ...
0
I found a solution after a bit of research on Stack Overflow:
http://stackoverflow.com/questions/5745911/relative-path-names-vb2010
This seems to have done the trick for now.
7
No. Regardless of whether or not that rule is sound you have to remember that "one job" can have different scopes. "Update" is one job - updating the (whole) logic of your application each frame. But this task consists of several smaller tasks, like the ones you mentioned - "updating AI", "updating player" and so on. They can, of course, consist of further ...
1
Well, this is some specific case of the Observer pattern.
There is a solution that involves callbacks. This is the best way of doing this if you want loose coupling, and I think it's also the cleanest one. This won't involve any global managers or singletons.
Basically, you'll need to have some sort of SettingsStore. There you store the settings. When you ...
0
Read your settings from a file into into variables. Have your Screen Manager track if the screen it just came from was the Options screen, and if it was, reload your settings from the variables. When the user is exiting your game, write the settings in the variables back to the file.
0
So, after some research, I found the problem (Jamie Hyneman: Well, THERE'S your problem!). Essentially the comment I referenced earlier describes the issue. When you change window size, the device is lost. When the device is lost, rendertargets are invalidated (but not textures). You can either check the RenderTarget2D.IsContentLost flag, or attach to the ...
0
When you change the size of the xna control... the viewport is changed...
so you have to recreate your camera projection matrix..
if you are using spritebatch you should recreate it to initialize the projection matrix that it uses internally.
1
Without messing your current architecture, I see two ways. First, you could store a pointer to the Game instance in the OptionsScreen class. Second, you could the Game class fetch current settings in a given interval, say every second.
To actually adapt to the new settings, the Game class has to implement some sort of reset functions which fetches the ...
1
This is what I do for my game. I have 2 separate functions for initialising stuff, 'init' and 'reset'. Init is only called once at startup and does things that do not rely on any settings, such as loading main assets. Reset does things like laying out the UI based on screen resolution, so is called every time the settings change.
init();
bool quit = false;
...
1
You have these arguments reversed:
table.insert(obj1, objects)
This should be:
table.insert(objects, obj1)
Same applies to obj2, obj3 etc.
1
From what I've seen, the easiest approach is read an options file on startup to determine current display settings; then, when your options screen is displayed, load all current options from a file.
When changes are finalized via an apply or ok button, they are saved back to a file. If any changes effect the display, notify the user that the game must be ...
0
I would recommend using some type of algorithm rather than an ACL:
Algorithm for dynamically calculating a level based on experience points?
http://gamedev.stackexchange.com/a/14314/20399
These aren't specific to your question, but the general principle is that there are formulas you can use to determine the requirements rather than hardcoding every ...
1
If you want to add a transparent border to each block, then you need to increase the space needed for each block:
x * (tileWidth + 10) + x
This probably won't be exactly the look you want, but it'll point you in the right direction :)
-1
Which view are you working in? I could probably get it to work in XNA, if I knew a bit more about your code.
1
I tackled this problem recently using some of these answers as a starting point. The most helpful thing to keep in mind is that boids are a sort of simple n-body simulation: each boid is a particle that exerts a force on its neighbors.
I found the Linde paper difficult to read; I suggest instead looking at S.J. Plimpton's "Fast Parallel Algorithms for ...
Top 50 recent answers are included