Hi. I've been doing masm for several months now, and i've just come across DIB.
I read sheep's dib tuts and i tried coding a little demo test. It worked well until I
tried to create a black strip at the bottom by using BitBlt,hWnd,etc,etc,BLACKNESS and the BmpButton function in the masm library.
Then it began to flicker. The only way to stop flickering seems to be to stop BitBlt, and use a normal button, instead of bitmap.
Could anyone please help? thanks :)
i am a bitBlt confused :P
what you show us is a console app - with no source :redface:
flicker isn't a big problem in console mode
and - we can't see how you are using BitBlt without disassembling your exe
it's fixed kroz. No redraw window. just InvalidateRect excluding about 40pxls from bottom. Thanks. You're the second person i help this morning. It's kinda going well.
also i forgot to mention that you're demo looks pretty good. Later
i don't know what the heck i was looking at :redface:
i downloaded the zip and unzipped it - then, i must have opened some other folder :lol:
sorry about that
@xandaz : Thanks mate :) fixing it up now...
@dedndave : that's alright ;)
kroz (+ zandaz fix),
Nice demo. Got the tingles thinking about the c-64...
hi ppl. Been away for a while. Just like to say it feels good to be back.
Also, i liked a lot what you did with the bitmap font kroz. It's kinda tricky. Nice work.
@Kroz What did you use to get the image data? is it just hutch's Bin2Dib? or do you have something else?
Never mind Sorry ...I was having a Brain Fart moment :redface: ...I saw the images Folder LOL
Hi Kroz
Do you have sheep's dib tuts and attachments
No place on the net has them :( , he made 3 tuts
Thank you !
hfheatherfox07 : quite right. It was pretty difficult to get hold of this. I got these tuts thanks to a guy who backed them up on a DVD
*** PLEASE SPREAD THESE !!! ***
enjoy
Thank you so much!!! :biggrin:
This are so hard to come by , actually impossible
Thank you again :biggrin:
@Kroz
What did you use to convert the goldyfont.bmp.palette and goldyfont.bmp.picture to .asm
Bin2dib gives me a different result ?
Edit
What I mean by result is the db numbers inside , it still works !
Use BMP2RAW http://www.filedropper.com/256bmp2raw
cheerz :) then use Bin2Dib on both .pallete and .picture files
Hello ,
Since this whole thread is based on the -sheep- dib tuts ,I will post my question here:
Does any body know how the sine function is meant to be used here???
include sinus.asm
Thank you ?
it isn't :P
he started with a "wavy" text program and simply forgot to comment out the INCLUDE
he will probably make use of it in the next few tutorials
Thanks dedndave :)
You are right !
I found an example of what I think he used :)
This was missing a lot of stuff ....
No new tuts from this guy; last was in 2006....I think.
it may be based on original code by Siekmanski
he has a few sine-wave text demos
@hfheatherfox:the idea is to modify the text-blitting function so t only blits a char, and then blitting individual chars from text array to the corresponding y-pos on the sine table. :)
Here is a sinusscroller example using DirectDraw7.
Another one.
It's a html file encoder I made for a friend of mine.
@Siekmanski
Thanks I have that from here :
http://www.masmforum.com/board/index.php?PHPSESSID=786dd40408172108b65a5a36b09c88c0&topic=16710.30 (http://www.masmforum.com/board/index.php?PHPSESSID=786dd40408172108b65a5a36b09c88c0&topic=16710.30)
I understand the ASCII table value now lol
Quote from: kroz on February 19, 2013, 08:06:10 PM
@hfheatherfox:the idea is to modify the text-blitting function so t only blits a char, and then blitting individual chars from text array to the corresponding y-pos on the sine table. :)
That makes sense, I realized that the Y position needs to correspond to the sine table .... I was not successful LOL
I will play with it some more....