Sign in to follow this  
Followers 0
BillLuvsU

Ok, Please Help!

20 posts in this topic

#1 ·  Posted (edited)

OK, I've started my RPG for the... uhhh... fourth time. Now, this time I have everything figured out in advanced and I really think I can get everything to work thanks two my more experienced self and some new C knowledge. All I need is two things, a sample super simple dll source in C++ (one that like adds two numbers or somthing) just so I can see how to make one. Also, my archnemesis problem, HOW TO MAKE TRANSPARENT REGIONS IN AN AVI SHOW THE PIC BEHIND THEM AND NOT THE GUI BACKGROUND. I would hyper-appreciate it if someone would tell me how to do these this and provide the dll source. Thanks :think:

(If anyone provides the answer two the transparencie thing then I will swear my obbediance to you forever and ever.)

EDIT: Also I can use an animated gif file to. Byby i'll check tommorow!

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Well a basic C++ Dll would be something like

#include "stdafx.h"
#include <iostream>

#ifdef _MANAGED
#pragma managed(push, off)
#endif

//This is where we define the externaly accessible function
 extern "C" __declspec(dllexport)int add(int num1, int num2)
 {
     int ret;
     ret = num1+num2;
     return ret;
 }
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    return TRUE;
}

#ifdef _MANAGED
#pragma managed(pop)
#endif

The add function would return num1+num2...Don't know about any of the other stuff.

Hope this helps a little

~cdkid

Edited by cdkid

AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

thanks alot. OMG! NO REPLYS ON The TRANSPARENCIE THINGF!! I just finally got on ( my school is switching servers) and I was excpecting like ten different methods! (not really) Ok, someone please help! I'll let you be a beta tester :think:


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

i would help but have no idea what ur talkign about tranparent what? maybe explain it better

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Hmmmmm, ok.

I have a gui.

On that GUI is a disabled picture.

On top of that is an avi or animated .gif (pic) control.

The AVI or .gif has transparent parts.

Now, when I run it, the transparent parts of the pic/avi show the GUI background color (grey).

I want the avi/.gif to show the picture behind it instead of the grey.

Get it?

Edit: @CyberSlug: I'm sure you could come up with a solution, pls help!

Edit2: BBL, I gotta go eat. I'll be back!

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

whatever, I have to go. You people are no help whasoever! ;_; lol. jk. But somebody please help me! I would really appreciate it! Evan a reply about the weather! Just not the cruel ignoring me! PLEASE!


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

lol i tryed but my transparent gif i made the BG just turned out black and i got homework to do :think:

Share this post


Link to post
Share on other sites

:(;):):think::D:(:(

Wow... The Autoit forumns have finally failed me...

:D


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

no u just arent trying hard enough lol could u provide the images ur using?

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

OK, I'll just upload everything I have so far. Also, I've been staying up till like 1:00AM and setting my alarm for 5:00 AM To work on this (plenty of caffeine included :) ). And pretty much getting nothing done. (except for looking like a crack addict :( )

err...

*Uhoh, I'm at the library and they got lota restrictions so I had to put in another zip I had on me but I don't know if it got in there :think: so tell me if it didn't! It should all be in a folder called "Game"

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

yea theres no pics in there :think:

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

I tried to upload the AVI directly but it won't let me :think:

WAIT!!! I KNOW!!!! Gogogo File front :(

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

i thought u said it had a transparent BG? lol looks white to me, but um do u happen to have the background picture as well?

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

Hmmmm, strange... I do not know why it's white. I must have grabbed the wrong ones, (these were from my old game), but here is the background.

Edit: GRRRRRRR, hold on.

http://files.filefront.com/grasslandbmp/;5...;/fileinfo.html

GRRR, couldn't upload it using the forumns

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

it seems that your avis arnet transparent thus why its not working

Share this post


Link to post
Share on other sites

I must have grabbed the wrong ones, (these were from my old game), but here is the background.

My new ones are transparent but they still no work.

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

well in order for me to do anything im gonna need some transparent avis :think: , i was bored and found this tool, just cuz it was easy, just press Register :( hahah, u can type whatever u want in.

edit: :) on second thought just press register dont type anything in

SuperSprites.zip

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

oo i c the problem, i read its default is to set it to match the BK color not the pic color so just make it so it doesnt do that and if its already transparent then its not going to matter

$ACS_NONTRANSPARENT

i just noticed something, U CANT HAVE TRANSPARENT AVIS AHHAHAHAHAHAHA

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

#20 ·  Posted

i just noticed something, U CANT HAVE TRANSPARENT AVIS AHHAHAHAHAHAHA

OMG, {slits wrists, dies two weeks later of blood loss}

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0