02-23-2015, 03:58 PM
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.
Thank you.
(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.
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.
(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.
'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Users\Nick\Documents\Visual Studio 2013\Projects\Super Smash Bros. Feud\Debug\SuperSmashBrosFeud.exe'. Symbols loaded.
'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'SuperSmashBrosFeud.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Cannot find or open the PDB file.
SHIMVIEW: ShimInfo(Complete)
First-chance exception at 0x77D8E0B2 (ntdll.dll) in SuperSmashBrosFeud.exe: 0xC000007B: %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x.
Unhandled exception at 0x77D8E0B2 (ntdll.dll) in SuperSmashBrosFeud.exe: 0xC000007B: %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x.
The thread 0xdf5c has exited with code -1073741510 (0xc000013a).
The program '[51196] SuperSmashBrosFeud.exe' has exited with code -1073741510 (0xc000013a).
(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.
Also, which version of VC are you using?
(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.
/*This source code copyrighted by Lazy Foo' Productions (2004-2015)
and may not be redistributed without written permission.*/
//Using SDL and standard IO
#include <SDL.h>
#include <stdio.h>
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
int main(int argc, char* args[])
{
//The window we'll be rendering to
SDL_Window* window = NULL;
//The surface contained by the window
SDL_Surface* screenSurface = NULL;
//Initialize SDL
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
printf("SDL could not initialize! SDL_Error: %s\n", SDL_GetError());
}
else
{
//Create window
window = SDL_CreateWindow("SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
if (window == NULL)
{
printf("Window could not be created! SDL_Error: %s\n", SDL_GetError());
}
else
{
//Get window surface
screenSurface = SDL_GetWindowSurface(window);
//Fill the surface white
SDL_FillRect(screenSurface, NULL, SDL_MapRGB(screenSurface->format, 0xFF, 0xFF, 0xFF));
//Update the surface
SDL_UpdateWindowSurface(window);
//Wait two seconds
SDL_Delay(2000);
}
}
//Destroy window
SDL_DestroyWindow(window);
//Quit SDL subsystems
SDL_Quit();
return 0;
}
(02-25-2015, 04:26 PM)Kelvin Wrote: [ -> ]Hmm, weird. And you set the directories to point to the library and include files, right?