getting started

Started by
17 comments, last by meshounah 16 years, 6 months ago
Not hard at all. When I started learning C/C++, I coded a simple yet useful tilemap engine. It didn't have scrolling or anything like that, but all of that stuff came fairly quickly (within a month or two).

I suggest using Dev-C++. Go to cppgameprogramming.com and check out the tutorials. It'll help you with the basics.
Quote:Of course justice isn't equal. Rich people can afford lawyers, where poor people get McLawyers.
Advertisement
*Double posted - Stupid touchy mouse!*
Quote:Of course justice isn't equal. Rich people can afford lawyers, where poor people get McLawyers.
ok another question could i use the cygwin version of gcc to build native win32 binaries?
Quote:Original post by meshounah
is there any 100% free engines(i don't want to buy a license)
Both of the ones I already linked, HGE and The PopCap Framework...

If you're looking for 3d you could try Irrlicht, or if you're willing to do more of the work yourself OGRE 3D which does graphics only.

If you're actually looking for a library to work with rather than a fully developed engine you could try SDL or SFML.

Everything I've mentioned there is freely available.

Quote:how hard would it be to create my own simple 2d tile engine?
Not overly difficult if you've already got a grip on your language of choice, although it may take you a little while to get used to working with whatever graphics API/library you decide to use. If that's the path you wish to take I would strongly recommend working with SFML or SDL. SFML has tutorials on setting up the libraries and getting started with either Visual Studio (which I would highly recommend if you're developing on Windows, you can get the 2005 Express Edition for free) or Code::Blocks (which uses the MinGW port of gcc and is also free). Remember though, Write Games, Not Engines; you're probably not experienced enough to know how to build an engine or what to put in it yet, so you're better off working towards a tile-based game and then generalising your code to make an engine later if that's what you want to do.

Quote:Original post by KG_Brad
I suggest using Dev-C++.
It works, but it's pretty old , hasn't been updated for a long time and lacks a lot of the features of the better tools that are available.

- Jason Astle-Adams

i'm having trouble using mingw with code blocks... how do i properly set it up?

i get errors about cygwin heap size(despite using mingw)
-------------- Build: Release in test ---------------
Compiling: main.cpp
5 [main] ? 3488 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3488): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
5 [main] ? 2220 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (2220): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
5 [main] ? 4080 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (4080): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
5 [main] ? 3344 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3344): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
5 [main] ? 2428 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (2428): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
6 [main] ? 2728 init_cheap: Couldn't reserve 3600084 bytes of space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (2728): *** AllocationBase 0x0, BaseAddress 0x61790000, RegionSize 0x3F0000, State 0x10000
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

i'm confused i can't even compile hello world with CB
any hope?
We need some info like......
Your os
What version you downloaded
etc.

;)

Joe
Visit my general programming site to get help, tutorials, as well as get experience by joining projects or making your own - My Site
i'll try reinstalling first

edit ok it worked i guess it needed a good ol' reinstall

This topic is closed to new replies.

Advertisement