Allegro 5 for C++ / Visual Studio Help - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Creativity (https://www.vg-resource.com/forum-126.html) +--- Forum: Game Development (https://www.vg-resource.com/forum-129.html) +--- Thread: Allegro 5 for C++ / Visual Studio Help (/thread-26720.html) |
Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-23-2015 I'm learning game dev with C++, wanting to branch out of RPG Maker and its RGSS system. But the Allego sourceforge is down and I can't get the library. Anyone got a mirror or something to send me? Thank you. RE: Allegro 5 for C++ / Visual Studio Help - puggsoy - 02-24-2015 Just a tip, not sure how smoothly the jump from RPG Maker to C++ is going to be. I wrote a huge post about choosing your language wisely a while ago, and why C++ isn't always the best choice. I won't bother writing another one, and I mean this may well be a good choice (I'm not trying to discourage you), but I'd advise that you think a bit carefully and consider some other choices, if you haven't already done so. As for the Allegro Sourceforge site, it isn't down, at least not anymore. Maybe there was an issue with Sourceforge or they were doing maintenance when you checked. RE: Allegro 5 for C++ / Visual Studio Help - Kelvin - 02-24-2015 If you wanna get into C++, I dunno about Allegro, but I do know that www.lazyfoo.net has some of the most in-depth SDL tutorials I've ever seen. It's what I got started with, and I like it a lot. You should at least read the SDL setup tutorials there, because, as they say on the site, setting up libraries in VC++ is pretty much the same for each one, so if anything, it'll help you get started with Allegro and get it running before you try to code. I'll warn you, I've been using C++ for a while, and while I love the sheer amount of control it offers, you'll find it's also one of the most strict languages out there, so be prepared to have a computer telling you what to do. ^^ Of course, being able to build for any platform and being one of the fastest languages out there, I'd say it's worth a shot if the above hasn't scared you off yet. Let me know if you need any help getting started. Like I said, I haven't had any experience with Allegro, but I know a fair bit about C++, and I can help you with your code. RE: Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-24-2015 (02-24-2015, 01:20 AM)puggsoy Wrote: Just a tip, not sure how smoothly the jump from RPG Maker to C++ is going to be. I wrote a huge post about choosing your language wisely a while ago, and why C++ isn't always the best choice. I won't bother writing another one, and I mean this may well be a good choice (I'm not trying to discourage you), but I'd advise that you think a bit carefully and consider some other choices, if you haven't already done so. Oh, I'm not expecting it to be smooth or easy. No worries there. I'll take a look at your post, then. @Kelvin: I greatly appreciate it. Because I can't for the life of me compile Allegro now that I got it. I'll be checking out that SDL stuff pronto. RE: Allegro 5 for C++ / Visual Studio Help - Kelvin - 02-24-2015 SDL comes precompiled for a number of systems. Does Allegro use Make or CMake to compile it? Cuz if it's Make, I can help with that. CMake... eh, don't get me started on that. RE: Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-24-2015 (02-24-2015, 02:05 PM)Kelvin Wrote: SDL comes precompiled for a number of systems. Does Allegro use Make or CMake to compile it? Cuz if it's Make, I can help with that. CMake... eh, don't get me started on that. Okay, I won't get ya started on that asshole of a program. And now SDL won't run. I followed Lazy Foo's tutorial to a T, and it gives me this crap: Code: 'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Users\Nick\Documents\Visual Studio 2013\Projects\Super Smash Bros. Feud\Debug\SuperSmashBrosFeud.exe'. Symbols loaded. RE: Allegro 5 for C++ / Visual Studio Help - Kelvin - 02-25-2015 First off, are you trying to make a Smash game as your first game? No, no, no, step back and start with something small. Like a ball that moves right when you push right. Trust me, C++ is NOT easy enough to just start out making Smash clones. Also, which version of VC are you using? RE: Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-25-2015 (02-25-2015, 08:14 AM)Kelvin Wrote: First off, are you trying to make a Smash game as your first game? No, no, no, step back and start with something small. Like a ball that moves right when you push right. Trust me, C++ is NOT easy enough to just start out making Smash clones. The Smash game is just my ultimate goal. I'm using the project to familiarize myself with SDL and CPP first. And I'm using 2013. It seems to recognize SDL, but the code won't run. RE: Allegro 5 for C++ / Visual Studio Help - Kelvin - 02-25-2015 You made sure to put sdl.lib in the linker, right? Also, post your code; VC is terrible at error messages, most of the time, so it'd be easier to just check your code. RE: Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-25-2015 (02-25-2015, 12:24 PM)Kelvin Wrote: You made sure to put sdl.lib in the linker, right? Also, post your code; VC is terrible at error messages, most of the time, so it'd be easier to just check your code. I used the code for the first Lazy Foo tutorial, the one called "Hello" Code: /*This source code copyrighted by Lazy Foo' Productions (2004-2015) RE: Allegro 5 for C++ / Visual Studio Help - Kelvin - 02-25-2015 Hmm, weird. And you set the directories to point to the library and include files, right? RE: Allegro 5 for C++ / Visual Studio Help - Kold-Virus - 02-25-2015 (02-25-2015, 04:26 PM)Kelvin Wrote: Hmm, weird. And you set the directories to point to the library and include files, right? Yes I did. I followed the installation tutorial to the letter. |