Jump to content
  • Advertisement
The_Con-Sept

Getting started

Recommended Posts

Hello, my name is Nick.

Before we begin let me tell you what my specs are to clarify things, if need be:

The only desktop I own is an old gateway. An original DX 4320 (No -01e or anything like that.)

Windows 10 Home edition (or what ever the 110 dollar version gets you.)

AMD Phenom II 6 core (1035T) processor.

8GB ram.

AMD Radeon 5700 series. (688E) (1 GB GDDR5)

The only laptop I own is a Dell XPS M1530, and I despise this laptop a lot. After playing games on it, and having the GPU die. I have not turned it on since 2012. But I still own it. I just do not know its specs unless I... pull it out of the bin and plug it back in. I still posses it. I just despise it too much.

**********

Everything below this line of this post has been answered. I decided to switch from C++ to C#. Seeing how I will be using the Unity3D engine to run my game, after some persuasive words from the posters of this thread full of wisdom, and I just began the book C# 6.0 and the .net framework.

 

========

I recently had an idea to create a video game that plays like a TCG, however I wanted to learn how to program everything myself.

So I picked up an electric copy of C++ Without fear, Third Edition. And I downloaded the 2017 Visual Studio Community Edition. I noticed immediately that I had a few unnoticed steps I had to take when opening my first project to begin the tutorials.

And my first question is this: Should I delete all of the code below #include "stdafx.h", but then add in the code int _tmain(int arg, _TCHAR* argv[]) { return 0; } as it shows in the tutorial, or do I need all of that extra code below that point? Because in this tutorial, for the 2015 edition of Visual Studio, it doesn't mention or show all of this extra code that shows up in a new desktop resolution project for the 2017 edition of Visual Studio. And the book said I should keep up to date with everything.

========

I am barely beginning with this, but I do not have the best, or I should say comfortable work station in the world. I was wondering if I could pick up a tablet and go to a nice area with a seat and table to begin coding. I know that in the book it asks me to test what I have created a lot to see if it runs almost every step of the way, but is there a way I could do coding on a tablet? Then bring it back and check my work? The reason why I want a tablet is because they are light in weight, they do not require that much power to run, and are very portable and versatile. The second reason is my laptop that I own is powered by vista, and is a dell xps M1530. (Has the issue of the GPU constantly overheating.) And the battery dies way too quickly. The cost of a new battery is the same price as a brand new tablet. And most places out where I live.... do not like letting people consume the power for free.

So the second question is: What tablet should I purchase for coding purposes. I will be trying out C# in the future, but I wanted to begin with foundation work. That way I can better understand why a program crashes. Would a cheap notebook be worthwhile from like a wal mart? or should I just buy another laptop that has more versatility and utility?

========

After completing this book C++ without fear, I will obviously need to buy a few other books in C++. And everyone says to stick with the Bjarne Stroustrup books.

So my third question is: what editions of these books should I purchase to have a complete library of functions for C++? That way if I need to understand something I can quickly look up in the index's of the books to find the correct information on the operation I want to perform.

========

The game I wanted to create is based on something that I absolutely miss. It was a game introduced in playstaion home. The name of the game was called Hexx. All of the information that I can obtain about this game is all on a single website, by one of it's curators.

========

And finally... What should I learn after C++ besides C#? I saw another programming language in Visual studio, F#. And seeing how this is server side programming, and my game will most likely have internet competitions, or matches. Should I learn F#, or is it best to stick with C++ and C#? And then maybe learn a little F# in the future?

Edited by The_Con-Sept
Switched from C++ to C#

Share this post


Link to post
Share on other sites
Advertisement
34 minutes ago, The_Con-Sept said:

I recently had an idea to create a video game that plays like a TCG

What's a TCG?  Also is it 2d or 3d?

36 minutes ago, The_Con-Sept said:

So the second question is: What tablet should I purchase for coding purposes. I will be trying out C# in the future, but I wanted to begin with foundation work. That way I can better understand why a program crashes. Would a cheap notebook be worthwhile from like a wal mart? or should I just buy another laptop that has more versatility and utility?

You don't code on a tablet unless you want to program for mobile in which case you might want one to test your programs on but that can wait.  You should be able to understand why a program crashes no matter what computer you use to program.  While first learning to code stick with one language, so pick one and stick with it.  The specs of your desktop don't seem too bad and should be fine to start out.  Save your money for now so you can buy   The real question is what language you should go for... C++ is fine language to start with to me but around here I've noticed people don't recommend it to begin with.

45 minutes ago, The_Con-Sept said:

After completing this book C++ without fear, I will obviously need to buy a few other books in C++. And everyone says to stick with the Bjarne Stroustrup books.

Search the forums for suggested C++ books, there are a bunch of them... a few people made lists.  Also if you want to do everything yourself you'll need other books as well for example something for the graphics API you're gonna use.

47 minutes ago, The_Con-Sept said:

And finally... What should I learn after C++ besides C#? I saw another programming language in Visual studio, F#. And seeing how this is server side programming, and my game will most likely have internet competitions, or matches. Should I learn F#, or is it best to stick with C++ and C#? And then maybe learn a little F# in the future?

Like I said before learn one language and then start making small games with it.  You don't just want to program, you want to program games.  A book on game engine design or game programming patterns would be useful.  Like above a book on a graphics API would be necessary.  I personally would recommend getting a book on data structures.

Share this post


Link to post
Share on other sites
43 minutes ago, Infinisearch said:

What's a TCG?

Trading Card Game.

 

1 hour ago, The_Con-Sept said:

And my first question is this: Should I delete all of the code below #include "stdafx.h", but then add in the code int _tmain(int arg, _TCHAR* argv[]) { return 0; }

When you create a new project, there is a checkbox for "Empty project" or similar. This comes without the pre-compiled header stuff (stdafx.h).

Share this post


Link to post
Share on other sites
1 hour ago, The_Con-Sept said:

The game I wanted to create is based on something that I absolutely miss. It was a game introduced in playstaion home. The name of the game was called Hexx. All of the information that I can obtain about this game is all on a single website, by one of it's curators.

 

Not to get off topic but man I miss PSHome before it was taken over by 12 year olds. 

1 hour ago, The_Con-Sept said:

And finally... What should I learn after C++ besides C#? I saw another programming language in Visual studio, F#. And seeing how this is server side programming, and my game will most likely have internet competitions, or matches. Should I learn F#, or is it best to stick with C++ and C#? And then maybe learn a little F# in the future?

Listen to Infinisearch on this one. Learning 10 different languages is just gonna over-complicate things and waste your time. The most popular are C++/C#.

Edited by Novadude987

Share this post


Link to post
Share on other sites

I understand that everyone has different strengths, and weaknesses when it comes to almost anything.

To further my background, I have dealt with HTML at a young age. Created a few websites, and had general knowledge of PHPMySQL. I know it is nothing more than a database program for inputting and accessing information. But I at least understand how HTML pages were read, and how to set them up for various screen sizes. But that, again, is not game development stuff.

- I am well versed in Fruity Loops studio, so I know my way around making sounds and bending them to my will. Even finding out how video games on older platforms had all of the lines of a character's voice work on a single file shed some light on how they actually pulled everything together. Including sound effect files. (They used time signatures in the file to be played to save space for loading other mechanics in the game.)

- And I have two spare Samsung phones and tablets to waste my tests on. I also have connections with freelance artists, so getting them to produce content in this game would be as easy as paying them per picture. (Yeah I am pretty much just the producer for this game right now.)

I decided to go with Unity 3D as a start. But before I begin there I need to understand how it works. Seeing how Unity uses C#, and it is touted as better than C++ (Of which Unreal Engine uses C++) I figured I would learn how the engine works first so I can get a better understanding of what happens when the system crashes. (Because I believe that I am bound to fry a motherboard or two. If I do not fry a motherboard, 'twould be a miracle.)

- Seeing how F# is something new, and it had versatility between different languages, I wanted to keep it in consideration but not as my main focus. Which is another reason why I chose C++ first. It seems to be a universal language between android and PC. And even Consoles. I also chose unity 3D because the PlayStation 4, a console that I own, can handle projects made inside of its engine.

Knowing that my Desktop is fine for most things, and I know that I will need to update my setup in the coming years to keep up with industry standards. I just do not have a proper setup. It is fairly uncomfortable. Which is why I wanted to do code somewhere else. Between getting bothered by room mates, the "table" I am using where it has my arms resting higher in order to reach the keyboard, and the chair I am using feels like it was made for a child.... I needed to find some way I could code on the fly. I also own a Motorcycle. (No cars or trucks.) So lugging around a desktop isn't the best idea. And paying to use some of the internet cafe's computers to do coding might result in me destroying a motherboard or two... That isn't a good idea either.

I decided to learn C++ first to get a better knowledge of what to expect in C#. At least it is a place where I can screw up, but still be able to recover from it. Then move on to C#.

*Oh and thanks for letting me know about the lists people have come up with. That helped a lot.

The trading card game I wanted to create is more of a Trading Tile Game. Seeing how the objects I will be creating for use in play will not be a standard rectangular card, but a Hexagon. (6 Sides.) I think it will be quite different than calling up a bunch of random cards with something being said on them that let the player know what the card does. Instead I wanted to make it similar to a game I actually miss playing. And I just can not seem to find this game anywhere else. It only exists on this youtube video. At least I have not come across any game that even comes close to this. I do remember another card based game that was under construction , which was announced a while back that had a similar play style. But it was not the same. The youtube video in question is here:

 

" rel="external">

Although the player takes a while to explain everything, you can see the idea of this game. I like it because it adds a bit of a puzzle into the mix of the competitive gameplay. Instead of playing a card that obliterates everything, you have tiles. and the object of the game is to control the board. I would like to make it 3D which is why I chose Unity 3D. And I wanted to make it a more serious tone. While also avoiding a chess like setup where both sides have the same advantages. And because TCG's like Magic the Gathering is all about having the cards, I wanted to follow suit with that type of play style. Where as you have to obtain the cards to use them. However... My twist on it comes from yet another game I grew up with: Milk Caps. The only thing I am taking from this game is "playing for keeps." However you do not get what you captured. You pick out 1 tile at random to pick from. You are not shown the other side. You must pick from the entire library of the other players "deck."

I know this is just a basic idea of the game but I wanted to make it a bit more awe inspiring. Even if people shrug it off as "mere theater for such a small game."

The ideas in my head for this game just went wild when I first played it. But now.... I do not see anything like this at all. So I began to write down the entire idea of this game in a TXT file so I could possibly get a small team together. (Of course my past experience with a craigslist post lead me to believe everyone is only in it for the money, and not the game. And they do not care what the game is. I left two different teams of "kids" because of this.)

So that is why I am here. I believe that if I can get a foundation up to run this game, maybe... just maybe I could turn a few heads. Even if it just 20 individuals like the number of views I have on any one of my youtube videos.

I do miss PlayStation home but they have something on PS4 called Atom universe. I downloaded it the other day and they have at least Orb Runner. The music and character accessories are more robust. The atmosphere looks more polished. BUT the other game that is similar to PS home is... Realms... I forgot the name it is so bland. Their character creator is more robust, but everything else is like... bland.

Anyway thank you for the advice. I might as well learn the hard way.

 

Edited by The_Con-Sept

Share this post


Link to post
Share on other sites

By goly G.... I was having so much trouble in C++ for a while... I finally figured out an important note... the using namespace std just does not work in my version of VS2017. so I figured out that I have to type in std::cout just to have that console output, or any std name, function properly. not a huge problem, but I could see myself creating a file much bigger than most. why is that?

Share this post


Link to post
Share on other sites

Gotchya. I just picked up the C# 6.0 and the Net frame work book that was suggested by other creators. But I think sometime in the future I will be messing around with the Unreal Engine to see what I can make.

Share this post


Link to post
Share on other sites

Don't spread yourself too thin at the beginning.  Focus on the basics.  I don't use VS2017, I use VS2015 and haven't had any problems, you're most probably doing something wrong though, I doubt MS would have such a simple and big bug (post code if it really bothers you).  Unity is a fine choice, but when you said you wanted to do everything yourself I thought you meant you weren't going to use an engine.  But I would really suggest you stick with either Unity or Unreal, you're gonna have to get used to that engines way of doing things.  If you mess around with multiple engines its gonna slow you down and to me it seems you have a clear goal in mind.

Share this post


Link to post
Share on other sites

I wanted to get into creating games because I want to make something that I would play. My background of gaming started on the SNES and spanned all the way across to the PS4.

The number of games I have bought would make me seem like a nerd. But compared to the angry video game nerd on youtube.... I am but an avid gamer. However I seem to be the only person in my work and social circles who has bought the most games.

 

I reached a point this past month that I remember hitting about 3 years ago. I just stopped playing games. The only game I can look forward to is The Last of Us part II. Nothing else piques my interest anymore. For example I can not play Zelda anymore because I find it boring. Mario has already done everything. Warhawk and starhawk were exciting. Uncharted finally ENDED. Call of duty 4 MW1 had a remaster (the only cod game I liked.) Rainbow Six Siege used to be lots of fun. Fortnite is where I stopped. My friends call me a whale gamer, which I openly admit to being.

But I hit that pot hole again. I just completely stopped playing games because I have done it all! There is nothing that grabs my attention. I finished obduction in 4 days. The latest zero escape game I whipped through. I own every version of pacman.

That is my drive to jump in head first into game creation.

I got a small taste of being able to create my very own level in the THUG PRO engine on thpsx.Com.  I created my own unreleased park, and fitted my own skater that I wanted to skate with as the red raptor.

I have done a lot of gaming. And I just ****ing miss playing two games right now. That puzzle like tcg I mentioned... and playing king of the hill in Tony hawks underground 1.

I ****ing miss the thrill I had in playing those games.

I also had an idea for a heavily story based rpg. A real rpg shrouded in mystery that I began writing the story to back in 2007. All of my friends told me that the game was just "too ambitious." When in reality I figured it would just take two things: an immense amount of patience, and an excruciatingly long amount of time to put together.

So I wanted to start on something small. Get my pants soaked in muddy water, put a dent in my helmet, bring home a scar to tell stories about.

Why? Because I just miss having a thrill in gaming. Now it is all of this grind like heck until you get 1 Stat boost. I am so sick of that model.

Grind games no longer interest me. Want that fancy car? Pay us, or grind it out over the next 8 months. Oh a new mode just came out.... Grind this out before we take it away in 22 days. Check out this time saving weapon perk!

Yeah... video games feel like a second job now. I wanted to take that away from gaming, but at the same time generating some kind of additional income.

Reading about the engines, and the fanboys (because wether you like it or not, fanboys are not a fad. They are here to stay, and this fanboyism is showing no signs of slowing down. Instead it is increasing day by day now.)

It makes it more difficult to create a unique idea anymore.

=========

Also i found out why the short hand in C++ was not working. When I input the using namespace std, it didn't turn blue. So that meant the compiler thought namespace was an object, and not a call for a reference library.

Edited by The_Con-Sept

Share this post


Link to post
Share on other sites

  • Advertisement
  • Advertisement
  • Popular Tags

  • Similar Content

    • By Woody Stevens
      Hi,
       
      I am looking for a TCP or HTTP networking library similar to Lidgren (UDP).
       
      This is primarily for sending game map data and potentially other large messages from Server to Client.
       
      I do want to keep Lidgren for my chat messages, player position, small fast updates etc. I especially love the flow of data and the library usage in general, so any libraries of a similar style would be excellent. Preferably something open source, free and reliable.
      I also must be able to swap between localhost and an ip address with ease, like Lidgren, as I run a server for singleplayer/mp/lan.
       
      My game maps are similar to minecraft, but it is 2d and only one Z-level, so i'm sending a jagged array of Tile object data (currently only enum TileID.Grass) down the pipe to the Client. Problem is if i'm sending a large map 1024 x 1024 tiles down the to client that's quite a lot of data, and Lidgren is relatively slow to build the writes (before the message is even sent!). It is fine when i'm using smaller maps < 512 x 512 ( xTiles * yTiles ).

      I know about chunking and will look into implementing this later, whilst taking into account the user's position in the world to only send nearby chunks.
       
      An example of my code that can be slow:
      private void WriteWorld(NetOutgoingMessage outgoing) { try { var world = WorldManager.Instance.CurrentWorld; outgoing.Write(world.XTiles); outgoing.Write(world.YTiles); for (int x = 0; x < world.XTiles; x++) { for (int y = 0; y < world.YTiles; y++) { // Write Tile obj data outgoing.Write((int)world.Tiles[x][y]); // <-------- Slow here when xTiles and yTiles are each > 512 ! } } } catch (Exception ex) { // log send error } }  
      I'd love to hear from you guys, especially if any of you have come across a similar challenge.
    • By ethancodes
      I'm working on a system for my game that will allow the player to stack pick ups in a queue. As one pick up expires, the next automatically activates. I'm having an issue though where if I pick up the first one, it activates fine, but if i pick up a second directly after it, it overrides the first one, activates the second one, and then once it has run it's course, everything goes back to normal gameplay, no first pick up. I'm not sure why this is happening. Hopefully someone can spot what I'm doing wrong in my code.
      Here is the code for the pick up manager:
      // Update is called once per frame void Update () { if (pickUpQueue.Count != 0 && !pickUpActive) { pickUpActive = true; pickUpQueue[0].ActivatePickUp(); } DeactivatePickUp(); } void DeactivatePickUp () { if (pickUpQueue.Count != 0 && pickUpActive) { Destroy (pickUpQueue [0]); pickUpQueue.RemoveAt (0); pickUpActive = false; } } And here is the PickUp:
      public override void ActivatePickUp () { ball.GetComponent<Ball>().Speed = 2.0f; //increase ball speed... ball.GetComponent<Ball>().StartCoroutine(timer); //...set time that power up is active }  
      There is also a Base Pick Up:
      public void OnCollisionEnter2D (Collision2D collision) { Vector2 tweak = new Vector2 (Random.Range(0f, 0.2f),Random.Range(0f, 0.2f)); this.gameObject.GetComponent<Rigidbody2D>().velocity += tweak; //if the pickup makes contact with the paddle or ball.... if (collision.gameObject.tag == "Paddle" || collision.gameObject.tag == "Ball") { GameObject.FindObjectOfType<GameManager>().GetComponent<PickUpManager>().pickUpQueue.Add(this); Destroy(gameObject); //...and finally destroy power up object } } As a side note, I am trying to find a solution to this that will work for all of my pickups. Some pickups are ammo based, some are timed. 
    • By Hellados
      Hello guys, my name is Giorgi and i'm newbie game developer i'm learning Pixel art and after pixel art  i want learn C# and don't know how and where start i'm bad with programming language and know only HTML/CSS
    • By D34DPOOL
      Edit Your Profile D34DPOOL 0 Threads 0 Updates 0 Messages Network Mod DB GameFront Sign Out Add jobEdit jobDeleteC# Programmer for a Unity FPS at Anywhere   Programmers located Anywhere.
      Posted by D34DPOOL on May 20th, 2018
      Hello, my name is Mason, and I've been working on a Quake style arena shooter about destroying boxes on and off for about a year now. I have a proof of concept with all of the basic features, but as an artist with little programming skill I've reached the end of my abilities as a programmer haha. I need someone to help fix bugs, optomize code, and to implent new features into the game. As a programmer you will have creative freedom to suggest new features and modes to add into the game if you choose to, I'm usually very open to suggestions :).
      What is required:
      Skill using C#
      Experience with Unity
      Experience using UNET (since it is a multiplayer game), or the effort and ability to learn it
      Compensation:
      Since the game currently has no funding, we can split whatever revenue the game makes in the future. However if you would perfer I can create 2D and/or 3D assets for whatever you need in return for your time and work.
      It's a very open and chill enviornment, where you'll have relative creative freedom. I hope you are interested in joining the team, and have a good day!
       
      To apply email me at mangemason@yahoo.com
    • By Andrew Parkes
      I am a talented 2D/3D artist with 3 years animation working experience and a Degree in Illustration and Animation. I have won a world-wide art competition hosted by SFX magazine and am looking to develop a survival game. I have some knowledge of C sharp and have notes for a survival based game with flexible storyline and PVP. Looking for developers to team up with. I can create models, animations and artwork and I have beginner knowledge of C sharp with Unity. The idea is Inventory menu based gameplay and is inspired by games like DAYZ.
      Here is some early sci-fi concept art to give you an idea of the work level. Hope to work with like minded people and create something special. email me andrewparkesanim@gmail.com.
      Developers who share the same passion please contact me, or if you have a similar project and want me to join your team email me. 
      Many thanks, Andrew.

    • By mike44
      The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

      Hi
      what to do with the above error in ms code/Unity3d Project on Ubuntu 18.04? I've installed it like:
      https://www.microsoft.com/net/learn/...ux/ubuntu18-04
      Many thanks
    • By Dave Haylett
      Hi.
      I have pulled in five NuGet packages for my Visual Studio 2017 project, however when I build the project, VS spits out 10 .DLL and .XML files in the root of the binary folder, to do with the packages. Can't I shove them into a \packages folder so the user doesn't see these ugly resources next to the .exe file?
      I've Googled moving the packages but the only responses seem to be around moving the installation folder of the NuGet packages on the local machine, as opposed to where VS builds them to.
    • By MoreLion
      hey all! We are looking for members for our Unity horror game! 
      Here’s the story:
      After a deadly virus plunges the world into chaos killing 85% of the human population there are now what they call “zones” these zones are watched very closely by the surviving government, people are checked every day for the virus, even if you touch the spit or any human waste or fluids of the victim who is infected, you will die. But one day, people in the west zone start to go missing, 1 woman goes outside the walls to uncover the mystery, is there more to the virus than meets the eye?, That is where your story starts.
      This game is not a long development game, I have loads other game ideas,
      I will also allow you to have a bit of creative freedom if you wish to add or share a idea!
      And no, it’s not a zombie game lol I feel like zombie games are too generic, in this game you will encounter terrifying beasts!
      There is some concept art one of our concept artists have made
      If interested email liondude12@gmail.com
    • By Victor Rodriguez
      Hi there! Is the first time that I'm posting here so I'm sorry if I'm doing it wrong ha. 
      So here it comes, my doubt is, I'm doing a game with different levels, each of these levels in one different scene. Each scene contains to cameras that you can change pressing a button. Everything works fine. 
      The only problem is that I would like it to look a bit more professional, and I would like that if you finish the level with camera2, the next level start the same way. I've been thinking about using dontdestroyonloadon both cameras, but obviously this cameras need to be attached to the player to make the movement work, what do you recommend? Sorry If I've explained it in a messy way, and feel free to dm me for anything. Thanks in advance! 
    • By MoreLion
      The Standing

      Description:
      
      After a deadly virus plunges the world into chaos killing 85% of the human population there are now what they call “zones” these zones are watched very closely by the surviving government, people are checked every day for the virus, even if you touch the spit or any human waste or fluids of the victim who is infected, you will die. But one day, people in the west zone start to go missing, 1 woman goes outside the walls to uncover the mystery, is there more to the virus than meets the eye?, That is where your story starts.

      Includes:
      A Terrifying Adventure. A Ton Of Lore To Explore. First person Shooter view point. Kill, or be killed.  

      Team Name:
      Team Rebound

      Team Structure:
      Rio Dakota (Project Creator)
      Lead,Game Design,Writer
      Bastaird (Concept Artist)
      Kat (Main Character Actor)
      Voice Actor


      Previous Work:
      Project FreeFall - Unknown If Released

      Talent Required:
      Unity Programmer(3)
      Must know how to work with other Members. must know how to use unity engine Must know how to work with modellers etc Required:Must Know C#  
       3D Artist (3D Animators, Hardsurface modeller etc etc)(3)
      Ability to export Models Experience with Unity toolset a bonus. Expected to create additional props & hard surfaces for use in environments.
      3D Character Artist (1)
      Experience with Maya Or blender Or Cinema4D required. Experience with Unity toolset is a bonus. Required to create, rig and animate player, npcs & monsters. Contact:
      E-mail:Liondude12@gmail.com
      Discord:riobio55#1958
  • Advertisement
  • Popular Now

  • Forum Statistics

    • Total Topics
      631379
    • Total Posts
      2999666
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!