Seidolon wrote:Could you give me some pointers possibly?
Code: Select all
int *x, *y, *z;
But seriously, I recommend using C# too... Much easier than C++ and comes with a fuckton of built-in image related types and methods...
Seidolon wrote:Could you give me some pointers possibly?
Code: Select all
int *x, *y, *z;
You shouldn't place any extra DLLs into your folders. Beta 1b fixes the wrong DLL usage so the redistributable packages should do the trick. If all else fails, try uninstalling the packages and then reinstalling the x86 one.MJ79 wrote:Call me an id, but I've downloaded the MSVCP120.dll and installed the Visual C++ redistributal package yet the programs still asks for 'MSVCR120.dll' or something.
Most of what others have said so far is reasonably spot on, but it depends on platform, language, and what sort of API you want to work with--in this particular case on Windows with C++, you generally have either Windows GDI, OpenGL, or DirectX.Seidolon wrote:This looks really useful. I'm looking to make a program with C++ that allows you to easily create in-game HudMessage based menus, but I've lost focus on that because I am having trouble with simple things like loading images. Could you give me some pointers possibly?
Someday.Zhs2 wrote:So... TEXTURES support?
Would you mind elaborating on the issue a little bit? If it's a bug or a non-functional feature, I can see to fixing it up for whenever the next version comes about.Henix_Aurorus wrote:I need to fiddle with this thing a bit, as trying to use it with an existing weapon seems to act really weirdly. Fortunately, I'm in the process of making a new one, so I can use that to experiment. The tool works really well, I just need to refine my technique with it.
Definitely looking forward to whatever you do with this in the future.
Your weapons have an offset set in SLADE? Shooter did address that the program does not use offsets from the image, rather, it uses the [wiki]Offset[/wiki] action function.Henix_Aurorus wrote:...
The underlying library probably has the functionality, but I am pretty certain this is off limits through SFML. In short, I will likely have to code this in myself, but this isn't a huge problem to me (I was planning on it in the future so people could avoid problems with this program and baked offsets).CRxTRDUDE wrote:@shooter, does your image library have the ability to read custom stuff like the offsets in png or you have to code it yourself?
If you don't want to go the C# way, SLADE 3 uses the FreeImage library for loading standard formats, so you can use it as an example.Seidolon wrote:This looks really useful. I'm looking to make a program with C++ that allows you to easily create in-game HudMessage based menus, but I've lost focus on that because I am having trouble with simple things like loading images. Could you give me some pointers possibly?
Yeah, I'm aware of that. I removed the offsets on the sprites when I imported the new animation, hence me suspecting it's less of a program fault and more of me not doing it right. I have animations for a new weapon finished, and will be making the weapon proper later today, so I'll report back with how that went later.CRxTRDUDE wrote:Your weapons have an offset set in SLADE? Shooter did address that the program does not use offsets from the image, rather, it uses the [wiki]Offset[/wiki] action function.
@shooter, does your image library have the ability to read custom stuff like the offsets in png or you have to code it yourself?