Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411283 Posts in 69325 Topics- by 58380 Members - Latest Member: bob1029

March 29, 2024, 04:43:24 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Modern intro to game programming in C
Pages: [1]
Print
Author Topic: Modern intro to game programming in C  (Read 1603 times)
quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« on: March 10, 2017, 09:29:50 PM »

I want fast game programming. I've had trouble finding a good tutorial. Allegro is written in C++ instead of C as expected.
SDL I can draw a rectangle on my window, great.
I just want a simple "press arrow key to move shape" tutorial and can figure it out from there.. thank you!
Logged

Modog
Level 0
***


Rogue Knight Mage


View Profile WWW
« Reply #1 on: March 11, 2017, 12:49:55 AM »

Raylib http://www.raylib.com/
« Last Edit: March 11, 2017, 02:46:32 PM by Modog » Logged

Finding what I can do better
oahda
Level 10
*****



View Profile
« Reply #2 on: March 11, 2017, 03:10:24 AM »

Confused about your remark on SDL... It can get as advanced as you want, way more than rectangles. Do you mean fast as in program that runs fast but may take long to write, or a library that gives you results fast but may run less fast?
Logged

quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« Reply #3 on: March 11, 2017, 09:35:23 AM »

Confused about your remark on SDL... It can get as advanced as you want, way more than rectangles. Do you mean fast as in program that runs fast but may take long to write, or a library that gives you results fast but may run less fast?

Sorry for the confusion. I would like a good level of speed (I like to make bullet-hell style games), but with fast results. Prefer results faster though.

And sorry I made a mistake about SDL, I got allegro working, SDL samples I haven't gotten to compile well.

I found an OpenGL tutorial that looks promising, though it is a lot of code to draw things. I might be able to work with it. I was just hoping for a bit of abstraction for drawing and getting input from players.

Logged

surt
Level 7
**


Meat by-product.


View Profile
« Reply #4 on: March 11, 2017, 11:36:57 AM »

Allegro is written in C++ instead of C as expected.
Where on earth did you get that idea from? https://github.com/liballeg/allegro5/tree/master/src
Logged

Real life would be so much better with permadeath.
PJ Gallery - OGA Gallery - CC0 Scraps
quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« Reply #5 on: March 11, 2017, 01:23:20 PM »

Allegro is written in C++ instead of C as expected.
Where on earth did you get that idea from? https://github.com/liballeg/allegro5/tree/master/src

Sad

[url]http://stackoverflow.com/questions/42719977/error-running-allegro-on-osx[url]
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic