Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "allegro"
-
> Telegram bot
> Whatsapp bot
> Domino game in terminal (Unfinished from last year)
> Bubble shooter game using c & allegro 5 (Unfinished from last year)
> Android Notability-like app with more features
> Program that increases youtube video views
> Android animal space invaders
> Own website/portfolio
> Our company app (includes daily euro-peso exchange rates, guidelines and other stuff about the company)
ive had other ideas but i started losing them cause i wrote them in several small pieces of paper. starting to think of i'll start to have a notebook dedicated to "ideas"7 -
When you have to repeatedly explain that typing out the code is the easy part and deciding on the correct lines of code is the hard part.
-
So I decided to switch over to Ubuntu to get used to it and have fun with it along with trying to use Vim just as a side thing for experience (I'm still studying anyways and its semester break).
So I setup Linux in an external disk, booted Ubuntu, setup everything and then loaded a side project coded in C++ and Allegro into Ubuntu.
A few hours of googling and trying to setup Allegro to be properly installed and understanding how to use GCC with Allegro, it finally found the library and one of the cpp files gave an error that is not "cannot find allegro.h". That's great!
Added all the other additional cpp files into the command and added all the includes and there goes the terminal lit up with errors ;_; I'm so tempted to ditch everything and go back to Visual Studios7 -
Okay, going to delve into the world of C game programming. I come from a JS/React background and wondering where to start. I did a C project back in uni so I know some foundations.
Idea is a 4x space game with simple 2d shapes representing ships, inspired by an old game I can't remember the name of (anybody?)
Firstly, I am thinking Allegro as the lib, it seems to be more maintained than SDL. Does that seem good? Though not sure where to start, or any tutorials for someone who is scratchy with C.
Any advice on how to structure my code?
I like the idea of entity component system, is that sensible?
Cheers for any help10 -
I asked a new coworker to implement an interface that included an event.
He proceeded to write the implementation and subscribe to the event in the constructor...
When asked why.. he responded with we should know when the event fires.2