• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Game programming

Joined
Dec 2, 2009
Messages
3,257 (1.06/day)
Likes
315
System Name Mercury KM-81
Processor Phenom II x4 B50
Motherboard ASUS M4A89GTD PRO
Cooling Cooler Master Hyper TX3
Memory 6GB Ram (4GBx1 Corsair 2GBx1 Nanya)
Video Card(s) PowerColor AX6770 V2.0
Storage 2TB WD Black, 1TB Hitachi, 500 GB WD Blue
Display(s) Philips 247E-LPH 24" 1920x1080
Case Mercury
Audio Device(s) Integrated Realtek
Power Supply Corsair 750TX
Software Windows 7 64-bit
Benchmark Scores Maybe it is time to benchmark :D
#1
Hello guys!
I want to learn game programming for a period of time and i know where to start!
C++ --> Sdl and Allegro
But the question is... These two are the only ones?
I want to make a 2D game and i want to learn as much as possible before making the game
(and sharing it free as last time! :) )
So if anyone can help at least with sources (i mean tutorials) of allegro or sfml, or even suggest a new game engine,
but with tutorials so i have enough time to learn a lot instead of researching for tutorials, that would be GREAT!
Any help would be aprechiated! :toast:
 
Last edited:
Joined
Sep 3, 2010
Messages
3,449 (1.24/day)
Likes
1,696
Location
NL, Europe
Processor Intel Core i5-4460
Motherboard Gigabyte GA-Z97-D3H
Cooling Arctic Freezer i11
Memory Crucial Ballistix Sport, DDR3-1600, 2x4 GB kit
Video Card(s) Sapphire Radeon R9 270X Vapor-X
Storage Kingston SSDNow V300 (120GB) + Seagate Barracuda 7200.14 (1TB)
Display(s) AOC G2260VWQ6 | Acer AL1916 (in reserve)
Case Cooler Maste Centurion 5
Audio Device(s) integrated
Power Supply Seasonic G450
Mouse Logitech G500
Keyboard Qpad MK-50
Software Windows 10
#2
What kind of game, actually? It might help those in the know to help you.
 
Joined
Dec 2, 2009
Messages
3,257 (1.06/day)
Likes
315
System Name Mercury KM-81
Processor Phenom II x4 B50
Motherboard ASUS M4A89GTD PRO
Cooling Cooler Master Hyper TX3
Memory 6GB Ram (4GBx1 Corsair 2GBx1 Nanya)
Video Card(s) PowerColor AX6770 V2.0
Storage 2TB WD Black, 1TB Hitachi, 500 GB WD Blue
Display(s) Philips 247E-LPH 24" 1920x1080
Case Mercury
Audio Device(s) Integrated Realtek
Power Supply Corsair 750TX
Software Windows 7 64-bit
Benchmark Scores Maybe it is time to benchmark :D
#3
Well, I want to make a platformer this time (like super mario)
It is too early to start rpg like final fantasy 1 :p
 
Joined
Apr 26, 2008
Messages
1,106 (0.30/day)
Likes
178
Location
london
System Name Staggered
Processor Intel i5 6600k (XSPC Rasa)
Motherboard Gigabyte Z170 Gaming K3
Cooling RX360 (3*Scythe GT1850) + RX240 (2*Scythe GT1850) + Laing D5 Vario (with EK X-Top V2)
Memory 2*8gb Team Group Dark @3000Mhz 16-16-16-36 1.25v
Video Card(s) Inno3D GTX 1070 HerculeZ
Storage 256gb Samsung 830 + 2*1tB Samsung F3 + 2*2tB Samsung F4EG
Display(s) Flatron W3000H 2560*1600
Case Cooler Master ATCS 840 + 1*120 GT1850 (exhaust) + 1*230 Spectre Pro + Lamptron FC2 (fan controller)
Power Supply Enermax Revolution 85+ 1250W
Software Windows 10 Pro 64bit
#4
For a platformer, look up the separating axis theorem. It's what pretty much all games use for collision detection. Use that with some basic physics (projectile motion) and you'll have a simple platformer.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (3.38/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
#5
Many 2D games are sprite based which is relatively easy to code and animate. You could probably even write you own little game engine without too much trouble as a lot of the functions are built into the languages now days.

My first ever grapphical game was a pseudo-3D hallway shooter. It was going well until the collision detection algorithm pushed me over the 16K VRam limit on my TI-99/4A :laugh: