V2PC - 2D Platformer

Discussion in 'Programming' started by xXJDrocks450Xx, Aug 9, 2016.

  1. xXJDrocks450Xx

    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:
    The Actual Game
    This hasn't been started yet, therefore I can only detail planned features:
    NLFile
    A little backstory behind it:
    NLFile.cs can currently carry out these tasks:
    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.
    Last edited: Aug 9, 2016
  2. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Pictures of Level Creator Application:
    upload_2016-8-9_4-50-59.png upload_2016-8-9_4-50-26.png
  3. Barc0de

    Barc0de Member

    You're using MonoGame for the engine, right?
  4. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Yes the game itself will use MonoGame, and the level creator will use windows forms.
    Barc0de likes this.
  5. Barc0de

    Barc0de Member

    Seems pretty cool. A bit like FreeSO - WinForms for the IDE (or in this case, editor), and then MonoGame for the actual game itself.
  6. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Believe it or not FreeSO and Volcanic was sort of an inspiration for this project. After seeing how much Volcanic allowed the community to create content for the game, I wanted to take another style of gameplay that I like to play and do something similar. Even though its already been done before.
    Barc0de likes this.
  7. Barc0de

    Barc0de Member

    Volcanic is really powerful and it's pretty neat, especially for the timeframe within which Rhys created it. I think that if you do something similar - and make it really easy to create a platformer - then V2PC might be popular within game jam communities, such as Ludum Dare or Indie Jam.
    In today's world, most things have "already been done before", it's just the way that you convey it and the extra features that you add that make it different. For example, if I wanted to create a first person shooter, you could say that it's "already been done before, loads of times", but I would add extra features specific to my game to make it how I want. It's sort of the same circumstances with game engines.
    JWofles and xXJDrocks450Xx like this.
  8. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    upload_2016-8-12_17-29-34.png upload_2016-8-12_17-29-54.png
    New Development Updates, for Level Creator:
    • Added Object search function.
    • More work on NLFile.
    • Check boxes now save values and when selected, their saved values are read and if enabled, the checkbox is checked.
    • If you select the checkbox detailing Hazard, Platform, or Prop, it will be put under that category.
    • Added Option to use auto select, where if you switch an object from one group to another, it will be reselected after saving.
    • Delete Object now working.
    • Added message boxes that ask if you want to save the object if options were changed and you don't click "Apply".
    • Saving framework now in place, saving values for all checkboxes currently added.
  9. Lure

    Lure New Member

    What does that background remind me of?
    The next enemy is a BOX. jk
  10. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    upload_2016-8-17_14-30-2.png upload_2016-8-17_14-39-4.png
    Quick Update:
    • After a short break, development has continued on the project. This update adds a picture viewer with basic options. This allows you to select the transparent color for bitmaps that will be used for the level's assets.
    • Click directly onto the picture in the picture box to select that color to become transparent. Alternatively, you can also use a color picker to achieve the same effect, if of course the selected color is found in the picture.
    • Work as also begun on the players sections of the Level Creator. Once this is complete, I will work a bit on the game portion.
    • Help mode was added for this form. Once clicked, some buttons will become blue in color. Once said buttons are pressed, a message will appear detailing that button's usage.
    When more updates are available I will post back here.
    Last edited: Aug 17, 2016
  11. Nahuel3d

    Nahuel3d Active Member

    This looks awesome. Wish you luck :D
  12. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    [​IMG]
    There is a lot to cover in terms of new content that got added, so I will split it into 3 parts: Add/Delete Objects (Overall usage additions), Player/Character screen preview, and finally some screenshots of the level object placement window.
    Overall Usage Additions:

    • An objects tray is planned where you can save your favorite objects and use them between any levels you have created.
    • The Level Object selector is a lot more stable.
    • Behind the scenes: NLFile got a huge facelift with more things it can do like compile lists of objects for the creator, or the game, search keywords to find any object now works with any node value, meaning you can use any data stored in an object to identify it. Stability fixes, and so on.
    [​IMG]
    Player/Character Screen Preview:
    • Animations, Options, and more overall ease of use is planned for the future.
    • Deletion, Adding, and Saving characters is implemented.
    • The character creation screen is very unfinished, but goes over planned features that should be available in the finished game, and with more coming soon.
    upload_2016-8-28_5-4-26.png
    Object Placement Window
    • Scaling and moving was not created by me, you can find the full article here, its very high quality and it was great help to the project.
    • Saving the sizes and positions works well now also and will be expanded more in the future to jump to where the object is and highlight it for easy location.
    • An identifier in the "Level Objects" tree view is planned, perhaps saying "Placed:" before the level objects name, or saying so under level object info?
    Development will start little by little on the game portion pretty soon, after I get characters being placed at "legal" spawn points (Not being spawned over a hazard or pit) and once bugs with level placement and other objects is sorted out, development on the game portion will begin. Maybe even an early test build around then? :p

    Thank you all for the support and I will have more news soon.
    Last edited: Aug 28, 2016
  13. Lure

    Lure New Member

  14. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    Looking really cool. Will you have a scripting language to let users define their own actor behaviors?
  15. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    I think that would be really cool, but I will start with something like that perhaps down the road a little more.
  16. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Level Objects now saved and are being viewed within the game itself :).
    This gif was huge so it can't be displayed here. Anyway here are the new developments:
    • Level placement now assigns controls a code so they can be identified properly in the Level NLFile.
    • The level objects also save locations and sizes to be displayed later in-game.
    • Copying objects now works, and they all share the same image.
    Last edited: Sep 3, 2016
    JWofles likes this.
  17. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    NLFile updates, NLFile can now do the following:
    • GetNode() Gets the value of the Node Type inputted, on a certain line.
    • FindNodeByNode() searches the file's selected node to search for, and if it matches the value inputted, it 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. //Recursively Search replaced this!
    • 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.
    • EditNode() If the node exists in the object, it finds it and replaces it's old value with a new value.
    • EditModifier() If there already is a modifier in the object, it replaces the old value with a new one.
    • Delete Object() If it finds the selected object, it deletes all the object's data.
    • RecursivelySearchNodes() Finds All Nodes and adds them to a list.
    • CheckNodeExists() Checks if a node exists and sends back a Boolean value.
    • CopyObject() Takes an object and duplicates it any number of times.
  18. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Animation.gif
    Sorry for the lack of updates for anyone still following :p
    Updates:
    • Have taken a short break taking care of other matters.
    • Animation has started development, more news coming soon.
    • Animation UI has basically finished
    • The animation selector (walking animation, running animation, etc.) gets added to once you select the character type.
    • Possibility into different game modes like 2D platforms, or a 2.5D fighter game
    JWofles and Nahuel3d like this.
  19. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    Hello all,
    The past week has again been fairly busy for me. There have been many things I have wanted to do that are of higher priority to this project. However, in all of my free time I have made some exciting progress that you can read below. Know that I will still continue the project, but progress may be slow.
    Updates:
    • Characters in the game code now have customizable stats including: Tightness, Heaviness, Top Speed, and Acceleration.
    • Animation is working! I will post pictures of that tomorrow.
    • Character's movement is gradual so falling and accelerating goes at a customizable speed and looks oh so baeutiful.
    • Boxes now show up when setting up animations so you can see what your doing easier.
    • Physics for terrain feels very possible simply by setting up some character stat presets. Not in game currently.
    • NLfile got improved slightly. Though not much expansion was needed.
    • Background are being reworked as panels with background images assigned really don't work.
    • An art style for V2PC has been decided on by me and a few others in private. The art is drawn by me, more information on that later.
    • Finally, lots of bug fixing, mainly with the animation select screen, but a few other fixes as well.
    Thank you to whomever follows the project. More information will be posted here whenever possible.
  20. xXJDrocks450Xx

    xXJDrocks450Xx Well-Known Member

    [​IMG]
    The Animations (e.g. Mario and Sonic) were NOT created by me, JDrocks. All credit goes to the work's creators. They are shown solely for example purposes only.
    Milestone Achieved!
    • Animations are now official in V2PC! They are designed to be customizable, and the code is futureproofed for all animations for me to add later, complete with speed customization, and even character stats like acceleration and heaviness for falling speeds. As you can see above, the character's heaviness is quite high, meaning -of course- he falls like a rock.
    • More changes to be expected up will be: More animations, and more fleshing out for the Character.cs (character code, basically) itself to allow for customization.
    • Updates will be posted here as they occur, next on the list after what's stated above, JUMPING.
    Last edited: Sep 28, 2016
    mrpenguinb, zc456, Stormicus and 2 others like this.

Share This Page