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.
getting started
Quote:Original post by meshounahBoth of the ones I already linked, HGE and The PopCap Framework...
is there any 100% free engines(i don't want to buy a license)
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_BradIt 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.
I suggest using Dev-C++.
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)
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement