xXJDrocks450Xx
Well-Known Member
I have completed my initial 2 C# projects, and as a result have gotten much more familiar with C# programming. Thus, I have decided to try my hand at making a 2D platforming game creator called V2PC (Visual 2D Platformer Creator) thanks to @tsomatt for the name.
The Level Creator Application
Currently working features:Planned Features:I started development of the Level Creator Jul. 7, 2016. So far it has very basic features implemented such as:
That's all the features currently working in the Level Creator.
- Creates level save files that will store necessary data for user made levels to be saved.
- Open existing level save files and read data. Then will take Title nodes values and add them to a tree menu. More on that later.
- Recent File list that stores up to 6 recent files opened or created with the tool.
- Adds new level objects under the "Platforms/Objects" tab. Users can select a picture to use as a level object currently.
- Add new level objects as data in the level file and open the correct object's picture from the level file as well.
- Correctly list which category you saved level objects to ("Level Objects" category, or "Backgrounds" currently).
- Saving all customized options to level file and when file is opened, those options will be set to their saved state.
- Tabs other than "Platforms/Objects" need to be completed, as right now are blank with no controls.
- Advanced options tab with options based off of the object's type (Hazard, Platform, or Prop), and the object's basic settings. Example: If the object is a platform, and you have "Spawns Object" checked, the advanced setting would be spawning a specific item. (If the advanced setting is null, spawn a random item).
- Help buttons with detailed information on the selected aspect of this application.
- More customizations? That will come later though.
The Actual Game
This hasn't been started yet, therefore I can only detail planned features:
- Changes can be applied and seen ingame on the fly. Similar to how Volcanic does things.
- Will be added to, just I haven't thought much about this yet.
NLFile
A little backstory behind it:NLFile.cs can currently carry out these tasks:Originally level files were going to be stored as an XML file. However I thought that going into this, I would write my own file structure called NLFile.
NLFile is different from XML because it uses line numbers to identify the Level Creator object. The reason why I decided to make NLFile was because 1. This project is all about curiosity. I wanted to see if I could pull something like this off. 2. It would make it easy for me to add features that make development easier. 3. I would have direct access to NLFile.cs to change any aspect of it I choose. Meaning that as I go along, NLFile will evolve as well.
Lastly, this is very early in development. Anything listed here could change, and it probably will change. Also, while you can post feedback, this thread is only here to educate anyone interested in my latest project, V2PC.
- GetNode() Gets the value of the Node Type inputted, on a certain line.
- FindNodeByText() searches the file's Text nodes for the string value inputted. If found will return the line number of the first occurrence after a selected line number in the file.
- GetAllObjects() used by the Level Creator. Finds all available Text nodes in the selected file.
- AddNode() adds the selected node type to the next open line in the file. It also adds the inputted value into the newly created node.
- AddtoObject() adds the inputted value, and node type to an already existing object. It finds the object by doing a search for the object's text node.
Last edited: