Qbasicnews.com
3 simultaneous questions - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+--- Thread: 3 simultaneous questions (/thread-7745.html)



3 simultaneous questions - j2krei08 - 07-21-2005

Alrighty.

1. Here's something kinda like what I want to do.
http://www.geocities.com/j2krei08/mousetest.zip
Can I put all the mouse images in one file and make it get the part I want? I can't figure it out!

2. I can't get .dll's from my .bi files. Nothing works! How?

3. I need to PUT a bmp onto the screen, but instead of just placing it there, it needs to fade in. Also, it needs to be 16bit or higher color. Help?

Thanks if you can.


3 simultaneous questions - Deleter - 07-21-2005

3: Use bload, name, pointer to array to hold it. Then use alpha put with a slowly incrementing (or decreasing, I don't remember which is more see through) alpha value


This would be 32 bit ( I didn't test it, but it should work)
Code:
Dim arrayname( Xofsprite * Yofsprite + 1 ) as integer
Dim arraypointer as Integer pointer
arraypointer = @arrayname
Bload "FileName", arrayname
For Alpha value = 0 to 255 'or other way
     Put (X,Y), arrayname, alpha, alpha value
Next



3 simultaneous questions - dumbledore - 07-21-2005

1) yes you can.

2) you did read the readme file, right? :lol:


3 simultaneous questions - j2krei08 - 08-21-2005

I did read the readme file, and it did say how to, but the files are .bi and not .bas, which is what it says. If I try, it doesn't ever work right.

btw, I need to know how to put them in one file and call each area. Don't be a smart-a$$...


3 simultaneous questions - mjs - 08-21-2005

You should really read the README. There's some information about the FreeBASIC installation:

Quote:Installing:

o Windows version:

- Unpack the zip archive to any folder of your preference -- C:\ is a good
idea if you are not going to use an IDE later. The directory structure
as used inside the archive must be preserved.

- Run the INSTALL.BAT file to generate the import libraries -- they are
needed to call any function on DLL's and to create the executables.

The important stuff for you is the paragraph about "INSTALL.BAT".

Regards,
Mark


3 simultaneous questions - j2krei08 - 08-21-2005

Pyrokid gave me the files already unzipped...

I don't know if there are any files I have missing...

I also don't have internet (I'm at a friend's)...


3 simultaneous questions - rpgfan3233 - 08-21-2005

You did run "install.bat" after receiving the unzipped files, right? Without doing that, you can't really do anything.


3 simultaneous questions - j2krei08 - 09-07-2005

It was Pyrokid who gave me the files, and he now refuses to give me the rest. It was FBIde, and I don't have the internet myself, so I bummed it off of him. Otherwise, I couldn't get the files myself at school because they changed the rules of using the internet.


3 simultaneous questions - Pyrokid - 09-07-2005

lol do what the man says and run install.bat