Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3 simultaneous questions
#1
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.
Reply
#2
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
[Image: freebasic.png]
Reply
#3
1) yes you can.

2) you did read the readme file, right? :lol:
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Reply
#4
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$$...
Reply
#5
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
Reply
#6
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)...
Reply
#7
You did run "install.bat" after receiving the unzipped files, right? Without doing that, you can't really do anything.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply
#8
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.
Reply
#9
lol do what the man says and run install.bat
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)