Term 'resource' represents a game content item: an audio file, video clip, sprite animation image, etc.

learn more… | top users | synonyms

2
votes
1answer
35 views

D3D11 Can only Pixel Shader and Compute Shader stages write to buffers?

I am reading Practical Rendering and Computation with Direct3D 11. In the book the D3D11 pipeline is often described with this image: In the Chapter about resources, Paragraph about buffers, I ...
1
vote
3answers
158 views

Reducing APK File Size by using JPG instead of PNG for game background images

I've just finished my (openGL ES 2.0 Android) game and it's almost ready for Alpha-testing. When I export the application to an APK File, the file is taking up 16MB and I would like to reduce this as ...
13
votes
4answers
1k views

Avoid double compression of resources

I am using .pngs for my textures and am using a virtual file system in a .zip file for my game project. This means my textures are compressed and decompressed twice. What are the solutions to this ...
0
votes
1answer
43 views

assets access with index offsets

My question if about resource management. Is it a good idea to store resources like Sounds in an array and then make a second array(lets call this SoundCollections) as a sort of reference table(name + ...
0
votes
0answers
20 views

Looking for top-down robot spritesheet [duplicate]

Anyone know where I can find a top-down robot spritesheet which contains the robot in a 30x30 pixel size, and also including an idle animation for that robot?
3
votes
1answer
108 views

Where do I store (or how do I refer to) textures for custom blocks?

I'm making my first foray into Minecraft modding on Ubuntu using Minecraft Forge. I'm finding it a little hard to get started as many of the tutorials seem to refer to older versions of Minecraft ...
1
vote
2answers
63 views

Ways to describe resouces [closed]

I have one way - xml and code like this: <Texture file="file_name.jpg"> <Sprite id="ID_SPRITE_1" coordinates="0 0 64 64"/> <Sprite id="ID_SPRITE_2" coordinates="64 0 64 64"/> ...
1
vote
2answers
113 views

Application of classes with critical non-static fields in LWJGL

I'm going to be as specific about this question as I can. Ultimately, how is it that I apply a class that uses non-static fields in LWJGL? More specifically, I know that OpenGL is quite nearly more a ...
4
votes
3answers
209 views

When should I load my resources?

I'm making a game, and right now I'm working on the user interface. I'm just wondering when I should be loading my resources. Should I do it in small pieces at a time? Load resources for part 1 of ...
12
votes
2answers
606 views

How should I handle missing resources?

Your game expects a certain asset to be loaded, but it isn't found. How should the situation be handled? For example: Texture* grassTexture = LoadTexture("Grass.png"); // returns NULL; texture not ...
1
vote
1answer
121 views

Fast resource management

So I'm working on one thing that I can't figure it out at this moment. Lets say that I have my all game data compressed into zip archive. There's a scripting system in the game that lets you to do ...
1
vote
0answers
188 views

Exporting from eclipse with lwjgl using jarsplice

I am in the process of developing a 2D tilebased rpg with eclipse, lwjgl, and slick util. For some reason eclipse seems to be lagging heavily which doesnt make sense as all i have rendering is a ...
3
votes
1answer
430 views

Vertex Buffer Sharing between DirectX11 and Directx9

In my d3d9 engine i want to take benifit of compute shader of d3d11. So firstly I created a vertex buffer in d3d11 with D3D11_BIND_UNORDERED_ACCESS and then tried to create the d3d9 vertex buffer ...
0
votes
1answer
757 views

Issues loading in AudioSource at runtime using WWW class

I am having an issue with loading in an OGG audio file to my project. Basically I want to set my game up so that players can drop audio files into a folder called Playlist in the game directory then ...
2
votes
1answer
165 views

Advantages And Disadvantages Of Resource Serialization

A good example is let's say I'm making a pong game. I have a PNG image for the ball and another PNG image for the paddles. Now which would be better, loading the PNG images with a PNG loader, or ...
0
votes
0answers
129 views

Resource/Asset Manager [duplicate]

I'm creating a ResourceManager. At the beginning i'm creating a groups of resources which contain a map of resources. The role of groups is to quick load/unload resources, to find some constant, never ...
0
votes
0answers
102 views

GLRenderer will not run when resuming app

I'm displaying a dialogue over my GLRenderer and then dismissing it from my Renderer's onSurfaceChanged method (once all resources have loaded and just before rendering starts) When I first run my ...
1
vote
2answers
1k views

Simple Android loading screen when using OpenGL

My game uses openGL ES 2.0 on Android and it's got to the point where the pause (while loading resources) has become noticeable. All I'm after is to show a static screen (probably via an XML layout ...
2
votes
0answers
211 views

How can I use Cinema 4D models in Android and iOS games?

How can I convert Cinema 4D animation or models to use in games for Android and iOS SDK?What kind of format is required for developing games for these platforms? If I make a dancing character, do I ...
-2
votes
1answer
203 views

Game code structure using openGL / Android [closed]

My game will have 3 activities (splashscreen, options menu and main game). As it stands, each is a separate activity with it's own activity class and GLSurfaceview class. Is this structure the right ...
-1
votes
1answer
94 views

How should I store resources generated at runtime? [closed]

I in my game I generate some images at runtime depending upon the size of the text that will go over it. Right now I am storing these in a hashmap using a string resembling the text. The question is, ...
9
votes
1answer
435 views

How do I load graphical resources asynchronously?

Let's think platform-agnostic: I want to load some graphical resources while the rest of the game is running. In principle, I can load the actual files on a separate thread, or using async I/O. But ...
1
vote
2answers
320 views

Resource Files creation and quick parsing

I'm having to come up with the format of my Resource File and I'd like to ask about the ways they're made, for example, if I'm using the code: ifstream fileReader; fileReader.open("Test.fbx"); ...
0
votes
2answers
398 views

Best source for sound effects? [closed]

What is a good source for sound effects for use in an indie game production (C#, XNA)? The sounds do not need to be free. They, however, should have a clear licence for commercial use. The website ...
3
votes
3answers
2k views

In Unity, can I load a local (/Resources folder) website to safari on an ipad

In Unity, can I load a local (/Resources folder) website to safari on an ipad? This works fine on a Mac, opening up a wepage from my Resources folder. string path = ...
1
vote
1answer
329 views

Dealing with binary data and endianness

When distributing my game, I am going to compile all the resources and level data into a single binary package file, which is loaded from by the game. Do I have to worry about my machine being a ...
6
votes
1answer
365 views

Why do mesh classes still contain vertex arrays if VBO's exist?

I find I'm a bit confused about the practical use of resource management in combination with memory not tied to the CPU. Correct resource management is often recommended in game tutorials, books and ...
-1
votes
2answers
208 views

Ebooks for building game framework in HTML5 [closed]

I begin to develop game but I don't know best ebooks for build simple game framework in HTML5 . Can anyone suggest ebooks for me and where to get free image resources for build map in game like as ...
1
vote
1answer
311 views

The right way to start out in game development/design [closed]

Greetings everyone I'm a 19 year old student looking for some help in the field of game development. This question may or may not seem a bit overused, but the fact is that game development has been ...
2
votes
3answers
210 views

Should I be worrying about limiting the number of textures in my game?

I am working on a GUI in XNA 4.0 at the moment. (Before you point out that there are many GUIs already in existance, this is as much a learning exercise as a practical project). As you may know, ...
-4
votes
1answer
138 views

Voice artist for a game for kids [closed]

We're making a game for kids which should include about 50 spoken phrases. I'm asking for help in finding the right voice artist / studio for this. I've tried searching the web but couldn't find ...
2
votes
5answers
850 views

How can I write data to a file that users can't easily edit? [duplicate]

Possible Duplicate: How can I protect my save data from casual hacking? While working on game saving and loading I figured I could just write all the variable values to a file and then load ...
2
votes
3answers
268 views

Naming conventions for external resources?

While we develop games, then we have utilize several external resources, for example Image Sound Animation Sprite Sheet Is there any good naming convention regarding these external resources?
34
votes
6answers
3k views

Is it unprofessional to leave game resources to the open eye?

I'm still having problems packing my resources, after going through complicated APIs and basically just zip files which are exhausting my brain, I thought I could also pack the game with the resources ...
53
votes
9answers
6k views

How can you put all images from a game to 1 file?

I've just finished a basic RPG game written in C++ SFML, I've put a lot of effort into the game and I'd want to distribute it, however I've ran into a small issue. Problem is, I have well over 200 ...
6
votes
2answers
1k views

How do you pack resources in a game when you have too many of them?

I've recently made a basic space invaders clone in C++ using the Allegro 5 framework. It took me a long time, but after I finished, I realized I had about 10 sprites, and 13MB worth of DLLs (Some of ...
2
votes
1answer
269 views

Java getResourceAsStream as local resource

Before using LWJGL, I used the Graphic method, and there I displayed imageicons, and I had the picture file located in the resources. I used: ImageIcon tcard = new ...
1
vote
4answers
296 views

To what extent it is legal to declare support of third party commercial products' assets?

Is it legal to say that MyGame supports other (specific) games' textures, sounds and models? I'd like to get involved into an open source game project and implement support for Quake's weapon models ...
52
votes
7answers
14k views

Good resources for learning modern OpenGL (3.0 or later)? [closed]

I stumble upon the search of a good resource to start with OpenGL (3.0 or later) . Well, I found a lot of books but none of them can be considered a good resource! Here two examples: OpenGL ...
1
vote
2answers
224 views

Resources to learn XNA for a professional c# developer

I'm a .net consultant (mainly c#) for my job, but for a while now, I've been interested in making a game in XNA (as a hobby project). I've had a "beginner" course in XNA when I was still a student, ...
-2
votes
3answers
324 views

Game Programming Resources for Programmers [closed]

I am a self-taught high school programmer (have an internship at local university), and understand the fundamentals of C++ and other related languages. I am looking to expand into game development, ...
1
vote
1answer
359 views

What are some free online game design courses?

I have an MComp in Computer Science. I would like to specialize in game programming. What online free video game design courses are there? I as thinking something similar to coursera.org
1
vote
1answer
123 views

Drawback of using multiple bind flags

As far as I understand Direct3D 11 I have to specify certain BindFlags in order to use a resource in a specific stage of the pipeline. From my experience some combinations are more common like ...
6
votes
1answer
526 views

How can I embed music in my XNA .exe?

I'm trying to embed music in my XNA game's .exe (with resources) but compiling them as a sound effect stores the music in uncompressed form, which results in a 16 MB .exe. I can compress my music ...
6
votes
1answer
773 views

Do you need resource manager for HTML5 games?

Usually, resource manager is needed for desktop/mobile games. But is it needed for HTML5 (browser) games? Resource manager's main responsibility is to make sure there is no clone of a resource in ...
-3
votes
1answer
4k views

Where can you buy/license game art for small projects? [closed]

I'm looking for a marketplace of some kind where I can buy small sets of art, probably 2D mostly, a mix of backgrounds, tiles, and animated sprite sets. As a solo mobile developer, I'm really lacking ...
6
votes
4answers
3k views

How do you manage your game resources in XNA?

In the past I have used Content.Load<type>("filename"); all over the place. This quickly becomes a nightmare to manage and worse you start having multiple copies of the same asset loaded in ...
1
vote
1answer
2k views

Are there any top down view sources available for SLICK/LWJGL? [closed]

I've been working with java for a few months now with my girlfriend and we're moving along at an expected rate. I understand the concepts of OOP, we've built many pseudo code starter games from ...
3
votes
4answers
675 views

Help streaming resources (maps, sounds, music, etc) from many files for contiguous world

So I'm creating a game and I would like to know how to perform resource streaming (rather than loading the whole file into the buffer) for things such as my maps, sounds, music, etc. I'm using C++ and ...
-2
votes
1answer
259 views

Stop rendering to lessen amount of resources used?

Also posted on StackOverflow, hope this isn't a problem. Recently I've been writing a bot for a game which uses a DirectX backend for its rendering. I have managed to 'hack' the game into allowing ...