I will Begin! Created 6 years ago2017-08-19 15:45:30 UTC by Screamernail Screamernail

Created 6 years ago2017-08-19 15:45:30 UTC by Screamernail Screamernail

Posted 6 years ago2017-08-19 15:45:30 UTC Post #336937
Maybe but i will start and use cplusplus.com for learning!

I'm still gonna use Notepad++ so i need some way to compile my progress.
Any suggestions?
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-19 15:51:42 UTC Post #336938
Use an IDE like Visual Studio, Notepad++ is a terrible way to program stuff, especially for a beginner.
Posted 6 years ago2017-08-19 20:41:27 UTC Post #336939
Like Solokiller said - get an IDE. Visual Studio Community is free. Code::Blocks is also a good IDE (and weighs much less if download speed is a problem), though it's debugger is not as good as VS'

I started out with Code::Blocks and now mainly use VS, though I still have C::B with MinGW compilers somewhere...

There are many other IDEs in the web, Visual Studio is the most recommended though.
Posted 6 years ago2017-08-20 06:25:12 UTC Post #336940
Okay but i downloaded something called "Dev C++" so i can start with that.

I also found some RogueLike tutorials on YouTube so i can start somewhere.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-20 07:20:42 UTC Post #336942
Dev C++ is trash IMO. You may also want to start out with basic coding tutorials and something simpler than a roguelike. Guess that these tutorials use Curses or nCurses, so they'll teach you more of the library stuff than just C++
Posted 6 years ago2017-08-20 07:23:50 UTC Post #336943
): Well i can't have Visual Studio. I don't have the energy for it.

And Dev C++ actually do work so what's so bad about it?
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-20 09:16:00 UTC Post #336945
Less features, much worse debugger, it probably wasn't updated since a long time. You'll spend more time trying to configure it to use different libraries. You won't be even able to compile Half-Life SDK with it, since it used VS compilers.

It might be enough for starting out, but once you'll move further you'll replace it anyway.
Posted 6 years ago2017-08-20 11:03:43 UTC Post #336946
Okay. I'll do something that only requires iostream first.

So where should i start? How about a top-down shooter. (In 2D of-course)

Can i get scripting help here? By that i mean the whole process of this little game. It shouldn't be that bad really, i can get help of you people. We'll start with the basics and see how far we can go.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-20 11:19:18 UTC Post #336947
You're going way too fast. Making a graphical program requires a good grasp of the basics, if you just jump straight in you'll be drowning in minutes.

I didn't start learning to use graphics APIs until over half a year after i started learning C++, and i learned it pretty fast, and then only using less complicated APIs, not the big stuff like OpenGL or DirectX.

If you really want to make a game i'd suggest learning to program well first, and then using an existing engine, unless you want to learn to make a game engine.
Posted 6 years ago2017-08-20 11:27:33 UTC Post #336948
I can some batch so i'm pretty familiar with programming. I also can do scripts in Unity. So i can basically start with C++ with help.

Because i literally can't learn if no one teaches me. I have a handicap after all.
So please just try to help me here. Say how to make RogueLike movement?
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-20 12:12:53 UTC Post #336952
Start with basics of coding - writing hello world, learning variable types and their uses, basic operations and instructions like if...else or switch-case, loops, functions - things you'll need to code anything. When you grasp that, move on to objects and classes.

When you learn basic and more advanced stuff and practice a bit, move on to something like Allegro, SDL or SFML if you want to make a game from scratch.
Posted 6 years ago2017-08-21 13:17:55 UTC Post #336979
Sorry for no reply for a while.

And i think that i will make a RogueLike from tutorials.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-27 09:20:18 UTC Post #337092
Never mind i'll stop here right now! My dreams has been crushed.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-27 10:04:00 UTC Post #337093
Why did you stop?
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2017-08-27 10:37:45 UTC Post #337097
It's just hard and i have learned nothing. It's worthless.

I'll never do C++ ever. It's not worth it in the end. I'm supposed to work on other things instead so i don't got time at all.

Now is time to quit. No one are of help to me. The End.

EDIT: And no i don't do C# either just Unity.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-27 11:59:30 UTC Post #337098
I don't know much of C++, I am not able to write the "hello world" program, I can only read english, I did a mod with help from TWHL experts and good tutorials... Don't be a coward and give yourself a chance. ;)
Posted 6 years ago2017-08-27 12:26:51 UTC Post #337099
"It's just hard and i have learned nothing. It's worthless."

Because you're not even trying. If you want to learn it, you'll have to do nothing else, but spend 10+ hours a day using your PC, learning how to code.

That's what I did with mapping. I went too far and now I'm here, I know so much. A similar thing would happen if you'd code like that.

But, it's too late now, I guess. :P
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2017-08-27 16:50:54 UTC Post #337103
I guess i didn't want to learn it. That must be the explanation.
Screamernail ScreamernailYour personal Fear
Posted 6 years ago2017-08-27 18:58:24 UTC Post #337108
Because you're not even trying. If you want to learn it, you'll have to do nothing else, but spend 10+ hours a day using your PC, learning how to code.
I wish I could spend 10+ hours a day on anything related to my projects... I spent half an hour to full hour a day to learn coding - I can write quite a lot, compile game engines and tweak some stuff, port game code between engine forks - and that's what basic understanding and familiarity gives you.

But the thing is not spending great amounts of time on learning something like writing your game from scratch without coding knowledge. You really have to start with basics and learn actual stuff about programming language to use it efficiently. You failed not because you didn't wanted to learn it or put not enough effort - but because you tried to chew off more than you could.

Like I posted earlier - start with simple tutorials and learn the language you want to use before trying anything too complicated.
Posted 6 years ago2017-08-27 19:32:07 UTC Post #337111
What I guess is that you don't read al the replies, haha!! XD

I don't know what are you trying to do, but if it is a HL mod, you can do it using tutorials. Of course it is VERY important to LEARN C++, but what is more important is to UNDERSTAND how a program written un C++ works. Look, I never learned C++, I swear, but I did understand very few things that, If you don't plan to make very twisted things, let me did the v1.0 of my mod. What I managed to understand at a very basic level is how functions work in C++, I used MSVC++ and the find-in files tab ALL the times, so I did searched for things like "shoot" or "walk", etc. and then make the needed modifications until I got what I wanted. It is a very slow method, trial-error, the most slow method, and very frustrating, but enough to let you see the first effects in game. Ir you persist, you will find that making things get easier, pity is that things will not be code 100% ©you, but it will be conde that works and ley you make your own game. Oh, another good thing is that almost anything you want to do is already done in the HL SDK, justo think in what you want to do and try to remember ir something similar is shown in HL, then use the magical find-in files tan, and then start goofing with the code... I bet you can do tour first mod quick. Oh, also do not forget the tutorials scattered in the WEB forma those things that did not appear in HL, like Teamplay system, Halo weapon switching, particles, etc. Don't suffer, al of that is already done ;) . Oh, the last one, if you can, make a printed copy of the SDK, at least the cpps and related h files you think you will need. ;)

Tope I helped. :D

PS: I hate smartphones auto-correction. X( Sorry for the mistakes...

PPS: If you get stuck, as I did years ago, take a rest, ask here, and probably you will find the way again. Alzó re-think what you need and find the right example in the SDK...
Posted 6 years ago2017-08-27 19:43:35 UTC Post #337112
Sorry, my damn smartphone don't let me edit... I can not zoom to the edit button...

Read this...

http://twhl.info/forums.php?thread=19170

;)
You must be logged in to post a response.