Skip to main content

Questions tagged [file]

Files are a common resource for storing information on computers and electronic devices.

1 vote
1 answer
148 views

I'm in the process of writing saving/loading function for my little game. I'm willing to save the shaders as resource as I did for texture and meshes. I have a _SHADER struct that contains the VS/PS ...
philB's user avatar
  • 333
0 votes
0 answers
31 views

I have build a simple 2D game with unity. When build for android, the build size is around 32 MB. However when I install and run the app, we're looking about double the size. (App - 60.22 MB, Data - ...
CheckerT's user avatar
  • 176
0 votes
0 answers
86 views

I want to check whether the files exist, as in the window that opens when importing asset from Package Manager, and copy them into the ...
Atlas's user avatar
  • 13
0 votes
0 answers
73 views

I'm trying to make a map using a text file, but it only does the first line / column and not the rest. I know the problem is in getTileImage. ...
Nobodyis_here's user avatar
0 votes
1 answer
110 views

Now, I now the title is really obscure, but I have tried to solve the following problem for so long and most of it is integrated into my game so far that I can't just copy & paste it here, so this ...
DemonicTree's user avatar
2 votes
1 answer
788 views

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, so I need to create a separate json file with ready-made data to load in the ...
Silz's user avatar
  • 37
0 votes
0 answers
71 views

I have a state machine that the controls the flows and transitions of the states, the thing is that I have a script that requires textures to transition to in-between scripts, what I want to do is to ...
koogel's user avatar
  • 79
-2 votes
2 answers
843 views

I am making 2D games. I noticed that PNG files are always much smaller in size than a second-long sound effect file. Why are sound files always larger in size than an image file?
Đạt Phạm's user avatar
0 votes
0 answers
145 views

My game handles all file access through PhysicsFS. (N.B.: PhysicsFS (sometimes called PhysFS) is a file access library, and has nothing to do with game physics; it just handles opening, reading, and ...
Trevor Powell's user avatar
2 votes
4 answers
18k views

I accidentally deleted my game. I had been working on it for about 2 months and I accidentally deleted it while cleaning up my files. I am so smh. I have a ton of builds of the game though and since ...
Object's user avatar
  • 289
0 votes
0 answers
95 views

I'm making a game, and I'm adding a screenshots feature. Currently I save screenshot files to <Home Directory>/Pictures/MyGame/. However, I'm not sure if ...
user avatar
0 votes
2 answers
734 views

I got a new computer and on it I installed unity and signed in etc. when I load it up however and try adding scripts to objects in the scene it doesn't add them and has this error: "cant add ...
Object's user avatar
  • 289
2 votes
3 answers
2k views

I had to make a change in the existing Universal Rendering Pipeline's ShadowCaster2D.cs to suit my needs. But every time I reload the project, the file gets reset. ...
CraftedGaming's user avatar
0 votes
0 answers
61 views

I've been getting reports from my users that sometimes the game isn't saving. I've recently been provided with the game save files from one of these reports and found all the XML files were completely ...
mr-matt's user avatar
  • 2,779
0 votes
1 answer
1k views

Currently, we have a project that runs on Windows and uses an Excel spreadsheet to save/retrive some data/information. Now we want to build that project for WebGL. The problem is that file reading ...
Muhammad Faizan Khan's user avatar

15 30 50 per page
1
2 3 4 5 6