Skip to main content

Questions tagged [xml]

XML (Extensible Markup Language) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

Filter by
Sorted by
Tagged with
0 votes
1 answer
387 views

I'm trying to mod the game Chocolatier from 2007. It has two .xml files, but they don't look like conventional XML when I open them in VS Code or Notepad++. Here's a sample of what they look like: ...
user4068's user avatar
0 votes
0 answers
36 views

im trying to make a dialogue/monologue system using XML to direct the flow. all is working well and good but i have an issue with the dialogue setup , My issue is that although i can change the index ...
stratos la's user avatar
2 votes
1 answer
872 views

I am currently practicing game design and development by implementing singular (or a small set) of mechanics in Unity. For example, -- and this is relevant towards the end -- I've just finished a ...
MightyOwl's user avatar
0 votes
1 answer
345 views

I'm making a little game on Android with Unity. And I use XML file to store different languages using System.Xml. The language selection is done when I first start ...
Iakov Lutsevich's user avatar
0 votes
1 answer
87 views

Current tools: Unity 2020.3.2f1 (Win10) UI Builder preview package My end-goal is to do the following: At varying intervals, change values for many data objects in the background, such as prices, ...
Dpeif's user avatar
  • 101
0 votes
0 answers
577 views

How can I make levels in iOS shortcuts? i'm making a game which will be about changing some settings to finish levels (logic game) i had idea to make autosave because levels will require that. my idea ...
hacknorris'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
2 votes
0 answers
567 views

I am using Unity. I want to set the status bar to be permanent in opaque black. I set Start in Full Screen Mode in the Player Settings to ...
Evorlor's user avatar
  • 5,881
0 votes
1 answer
452 views

i am experiencing some problem here , i have a path : "/folder/folderagain/file.xml" i tried to use Directory.CreateDirectory() to create all folder (in case one of them is missing) and then reuse ...
i'm ashamed with what i asked's user avatar
0 votes
1 answer
67 views

I am developing games in Unity but I have encountered a problem. After updating Unity I can no longer find MonoDevelop for editing XML files like my Android Manifest:
Yusuf Yüzbaşıoğlu's user avatar
1 vote
0 answers
90 views

I am currently attempting to load this font in the MonoGame pipeline: I set the .spriteFont file to this: <?xml version="1.0" encoding="utf-8"?> ...
Qapples's user avatar
  • 11
1 vote
0 answers
85 views

I'm making a game with customization system for both characters and weapons and I don't know exactly what's the best way of doing the customizations themselves. I'm thinking of creating separate ...
JDoeBloke's user avatar
  • 143
1 vote
1 answer
76 views

I have XML sheet that I use in my game. In my unity(C#) game, a game's monster can spawn at predetermined position or random position. ...
Blue Bug's user avatar
  • 1,112
0 votes
1 answer
1k views

I'm new to spritesheets and game development in general. I have two files: 1) a .png spritesheet with tons of sprites and 2) a companion XML file with coordinates, anchor points, image names, and ...
retrovius's user avatar
  • 117
0 votes
1 answer
6k views

I'm trying to make a video game using Microsoft Visual Studio Community 2017 and Simple DirectMedia Layer 2 (SDL 2.0.5, and SDL image loading file version 2.0.3). A map editor called 'Tiled!' was ...
Aditya Chandra's user avatar
0 votes
1 answer
5k views

I'm making XML parsing code with FXmlNode. I want to iterate through GetChildrenNodes(), and use switch-case with FString which is return value of FXmlNode::GetTag(). Is there someway to do that? Or ...
P-P's user avatar
  • 113
0 votes
2 answers
249 views

I'm working on a game (single player, metroidvania type, Java) and I'm torn as to how data should be stored. For example, monster stats, dialogues, flavor text for weapons, gear stats... there is all ...
James Coker's user avatar
1 vote
1 answer
614 views

I humbly ask for help in order to solve this problem. I successfully take a quick guide to learn more about save and load state of the game. Basically first, I know how to use ...
David Dimalanta's user avatar
1 vote
2 answers
310 views

I'm developing a 2D "small" offline rpg game, and to this point I have many actors (mobs, heroes, NPCs) and what I did, is created a class named "Actor" and each time I have a new actor I create a ...
AminePaleo's user avatar
0 votes
1 answer
113 views

So I have just begun studying Data Driven Design and implementing it into a project. I just encountered an issue and I have not be able to locate any material that suggests an elegant if not practical ...
chewpoclypse's user avatar
1 vote
2 answers
469 views

The Problem I'm developing a game and using the XmlSerializer to store some user data. While it isn't an immediate problem, I'm trying to conceptualize what would happen if I needed to update Save ...
RobProductions's user avatar
0 votes
1 answer
247 views

I'm planning to put all my text dialogue/events in an XML file and then use either SAX or DOM parser in Java to retrieve the correct text. I'm intending for there to be A LOT of text in this game, so ...
GodProbablyExists's user avatar
1 vote
1 answer
742 views

I am developing a RPG game for Android using LibGDX, at this moment the NPCs in the game have some moving AI (pathfinding), like random directions and stuff. Now I am working on the dialogue system, ...
NickyP's user avatar
  • 13
1 vote
0 answers
178 views

I want to deserialize an xml file that contains a path for an image I have 3 projects: One with the Program.cs class and the main template stuff from xna, another with classes such as the default '...
Michael Astwood's user avatar
1 vote
1 answer
342 views

Setup: I'm planing to do a rhythm based game, where a level is a music score similar to Frets on Fire, but with real music. I've two options to store that level data, namely a MIDI file and a ...
Diosney's user avatar
  • 141
-1 votes
3 answers
4k views

I have a C# program that has a function that reads an XML. I took that function and brought it over to my Unity game which will be using the same XML. However, my reading method doesn't seem to work. ...
Corey Iles's user avatar
4 votes
2 answers
350 views

I'm trying to find a smart way to store and retrieve stats for a tower defence game, but am currently unsure as to which approach would be best. Description: The stats system should quite basic, ...
Freshmus's user avatar
1 vote
1 answer
636 views

I am trying to place ad in my game. i am using unity 5. trying to place admob in my game. in unity editor it displaying dummy message. tried to build the game in android phone after build completed ...
Manoj Balaji M's user avatar
0 votes
2 answers
509 views

Following code works perfect in my computer but when I try to run it in my Android Phone, it does not work. ...
auhan's user avatar
  • 41
1 vote
1 answer
194 views

I'm trying to make a levels map page that shows number-buttons in the page. I want to make this page in a XML layout file and I'm actually trying to make something like this: I know that I should ...
Arshia's user avatar
  • 13
-1 votes
1 answer
480 views

So This is my XML file: ...
PowerUser's user avatar
  • 222
2 votes
0 answers
2k views

I've created my own system for handling dialogue. There's a class for each 'node' or part of dialogue. It contains the following variables: identifier (identifiers are unique for each NPC, but not ...
Jacob Morris's user avatar
1 vote
0 answers
184 views

I'm trying to implement a dialogue system for a game in Unity(c#). I'm going to use xml cause I want the dialogues to be editable/added from outside. I have a practical problem. Let's say I got this ...
Mbastias's user avatar
1 vote
1 answer
348 views

I am new in the game development and now I am at the stage when you need to fill the game content. I want to create the events that occur with the player (like in FTL). Now I make these events with ...
Despin's user avatar
  • 13
0 votes
1 answer
171 views

I'm trying to figure out a good way to implement dialogs (that is, talks, not UI's). My thoughts so far: I see a dialog as a tree of sentences (or better, a forest), so I think that XML is a good ...
user2425's user avatar
  • 103
0 votes
1 answer
455 views

So i decided to write my games data files in xml since a lot of people recommend it security wise for an online game, but how exactly does one render an xml tile grid in java? format will be as ...
Angel Flores's user avatar
3 votes
1 answer
233 views

I want to add animation to my game board when updating tile positions. I can start an animation at the right point, but there's a catch: When the translate animation starts, it seems like the ...
VelocityHD's user avatar
2 votes
2 answers
249 views

I'm building a game in XNA and I wanted to know how I would organize the character speech portions of the game. These would include both cutscenes and anything else where characters interact. I ...
Gumptastic's user avatar
0 votes
1 answer
2k views

I made a game in XNA 4.0 and now I need to save the points in a database or in a file (or in something else). My goal is to store and retrieve the highest score if I choose that option in the main ...
MARiVS's user avatar
  • 113
1 vote
1 answer
1k views

I've created with Unity a short demo that works as a standalone .exe on Windows, and I was interested in deploying it as a web player game too. When I run the game on the web player, though, I get ...
zhed's user avatar
  • 328
0 votes
1 answer
447 views

I need examples of how to read an xml from a server, using Unity3D.. I think it's something like this.. but I can not retrieve the information from the nodes.. An example would be of great help.. ...
blese's user avatar
  • 31
0 votes
1 answer
68 views

So I am making a simple 2D game in XNA, and I want to implement different users (players), so each person playing can have their own high score, can only play levels they've already played, can only ...
simonalexander2005's user avatar
3 votes
1 answer
3k views

I been working on a game in Unity that reads its story (Actions, scene descriptions, NPC's, ect...) from an XML and have been wondering there was a better way to store actions based on player data ...
MarcusM's user avatar
  • 33
0 votes
2 answers
6k views

I am writing a game that has a save function which looks like this ...
Tucker Morgan's user avatar
0 votes
1 answer
1k views

I'm making a game and I am serializing the save game data. The data is simply a few lists of bools, ints and floats. But about 50% of the time I get an error when the data tries to save or load that ...
Jonathan Dunn's user avatar
1 vote
2 answers
195 views

I am trying to write an engine for a game, in particular a component-based one (in my approach components contain both data and logic). So basically I have entities, and each entity has a list of ...
Bricco's user avatar
  • 11
0 votes
1 answer
739 views

I've created a UI in Flash, set up an xml file for it and designed a flowgraph to ensure it displays when I launch. However, clicking on the buttons doesn't appear to do anything, despite me writing a ...
Paul Ferris's user avatar
1 vote
1 answer
330 views

Im making a game in XNA 4 and this is the first time I'm using the Content loader to initialize a simple class with a XML file, but no matter how many guide I follow, or how simple or complicated is ...
user36385's user avatar
1 vote
2 answers
381 views

So, I want it to be very easy to create all the entities of my game and for other people to come in and do the same. I was thinking I could just let the users/myself create an XML sheet the stores all ...
TheNickmaster21's user avatar
2 votes
2 answers
757 views

I am working on a small game, I need to add an unlimited inventory to the game but I am not sure how to do it. I have an inventory system with a specific amount of slots, here it is: ...
Melon's user avatar
  • 31