• 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,353 (0.59/day)
System Name Dark Stealth
Processor Ryzen 5 5600x
Motherboard Gigabyte B450M Gaming rev 1.0
Cooling Snowman, arctic p12 x2 fans
Memory 16x2 DDR4 Corsair Dominator Pro
Video Card(s) 3080 10gb
Storage 2TB NVME PCIE 4.0 Crucial P3 Plus, 1TB Crucial MX500 SSD, 4TB WD RED HDD
Display(s) HP Omen 34c (34" monitor 3440x1440 165Hz VA panel)
Case Zalman S2
Power Supply Corsair 750TX
Mouse Logitech pro superlight, mx mouse s3, Razer Basiliskx with battery
Keyboard Custom mechanical keyboard tm680
Software Windows 11
Benchmark Scores 70-80 fps 3440x1440 on cyberpunk 2077 max settings
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:
What kind of game, actually? It might help those in the know to help you.
 
Well, I want to make a platformer this time (like super mario)
It is too early to start rpg like final fantasy 1 :P
 
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.
 
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:
 
Back
Top