All Questions
19 questions
0
votes
0
answers
116
views
How to load asset from zip file?
How can I load an asset (model, texture, etc.) from a .zip file in Python's Ursina module without extracting it?
I tested this code:
...
0
votes
1
answer
172
views
Storing achievement code logic in JSON vs in source-code
I am creating an achievement system for my game engine. I represent an achievement as a class takes a predicate function to determine if requirement for unlock has been met.
...
1
vote
2
answers
124
views
Loading game state before first save has occurred (chicken/egg problem)
I've learned that storing and loading game saves is commonly done by serializing runtime data into binary files and then loading in those binary files de-serialized to reconstruct the runtime state ...
0
votes
1
answer
710
views
How do game loading screens work?
I have successfully developed a 2D game.
I display sequential introduction images then load the start screen after that of course I load the game level in a single thread, it is a basic functional ...
4
votes
2
answers
4k
views
How to convert Resources.LoadAll to Addressables?
I have been advised to move away from the Resources system to the new Addressables system, which seems to have many advantages.
I need to convert the following code to use the Addressables:
...
0
votes
1
answer
938
views
How to clear Resources.Load cache?
I am loading my assets and tile information through YAML files.
While working on the game, I needed to quickly change some values and test them in-game, and I realized I could just re-load the YAML ...
0
votes
1
answer
197
views
How can i load a level in my gameengine wich is larger than 2GB? C#
i were asking myself how could i load a large Level? My gameengine is written in C# and is rendering with Direct3D11. I just have my class called "Scenery" and the class is able to store all objects ...
2
votes
1
answer
549
views
Loading WAV and MP3 files with LWJGL 3?
Whenever I research audio in LWJGL 3, they always use STB which can only load Ogg files. All of my audio files are in either WAV or MP3 format, and it would be annoying to have to convert all of them. ...
0
votes
2
answers
150
views
Why does Unity allow me to use GameObjects created from non-existent prefabs?
I have code similar to the following in a Unity project. I was trying to shoot a
projectile when spacebar was hit, but a projectile wasn't appearing. I found out the problem was caused because I moved ...
25
votes
3
answers
4k
views
For a custom game engines, what should I do if my core data is malformed or missing?
I'm writing a custom engine for a game. I started this game well before I understood why I should use middleware, instead, and it's too far along to rewrite.
The vast majority of my data comes from ...
1
vote
1
answer
416
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 ...
0
votes
0
answers
229
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 ...
3
votes
2
answers
3k
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 ...
0
votes
2
answers
1k
views
How to reduce/handle image loading times?
I'm working on a 2D game that has very high resolution images (so that things look good on Retina MacBooks and such), and am seeing a noticeable lag caused by image loading.
I notice the strongest ...
3
votes
3
answers
8k
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.
...