The MASM Forum

Projects => Game Development => Topic started by: HSE on August 07, 2018, 05:40:23 AM

Title: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: HSE on August 07, 2018, 05:40:23 AM
Hi all!

Beginning to study how work this kind of ... graphic factory?

The original idea was to make a circle like Fearless' CircleBar but ... no matter.

Beside usual commands, I added 2:
* PBM_RESET, arg      where arg it's where to begin (usually 0)
* PBM_STEPING, arg   where arg is 1 or 0, for drawing bars borders or not

       
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: avcaballero on August 07, 2018, 04:27:26 PM
If I try to execute a2.exe I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: zedd151 on August 07, 2018, 04:32:48 PM
Quote from: caballero on August 07, 2018, 04:27:26 PM
If I try to execute a2.exe I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.

ResGuard.dll  (http://masm32.com/board/index.php?topic=635.0)   :biggrin:

I did a quick google, and it came up first...
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: LiaoMi on August 07, 2018, 06:38:03 PM
ObjAsm32 has this dll in the supplied package  :t
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: HSE on August 07, 2018, 08:47:52 PM
Quote from: caballero on August 07, 2018, 04:27:26 PM
I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.

Sorry. I forget enabled the debugging system. Corrected in first post.

It's a very interesting system (an evolution of Vkim system) that work  even if your program is plain masm (but you have to install the package). The system can detect leaks, very usual using GDI in new graphic functions.
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: avcaballero on August 07, 2018, 09:02:10 PM
Now it goes right, but when it reaches the end it gets blurred
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: HSE on August 07, 2018, 09:09:35 PM
Yes  :biggrin:, I was testing something that don't work very well. I uploaded again.
Title: Re: Just playing with ObjAsm32 PixelMap: a progressbar
Post by: avcaballero on August 07, 2018, 11:21:34 PM
Now everything seem to go right :t