Search found 15 matches
- Sat Sep 05, 2015 9:00 pm
 - Forum: Announcement
 - Topic: Programming 2D Scrolling Games Book - Free Now
 - Replies: 12
 - Views: 19579
 
Re: Programming 2D Scrolling Games Book - Free Now
Gracias por el aporte.  
					- Sun Jul 19, 2015 8:38 pm
 - Forum: Coding Questions
 - Topic: Custom buttons using images on a CanvasGadget
 - Replies: 9
 - Views: 4359
 
- Sun Jul 19, 2015 5:26 pm
 - Forum: Coding Questions
 - Topic: Custom buttons using images on a CanvasGadget
 - Replies: 9
 - Views: 4359
 
Re: Custom buttons using images on a CanvasGadget
Update.
Now you can place multiple buttons with different colors, shapes and sizes on a form.
http://sim1.subirimagenes.net/img/2015/07/19//150719062607509116.png
code:
 
;=============================================================================
; Library: CImgButtons.pbi
; Author: Roberto ...
					Now you can place multiple buttons with different colors, shapes and sizes on a form.
http://sim1.subirimagenes.net/img/2015/07/19//150719062607509116.png
code:
;=============================================================================
; Library: CImgButtons.pbi
; Author: Roberto ...
- Sun Jul 19, 2015 4:52 pm
 - Forum: Coding Questions
 - Topic: Custom buttons using images on a CanvasGadget
 - Replies: 9
 - Views: 4359
 
Re: Custom buttons using images on a CanvasGadget
Thank You mestnyi
For the contribution.
					For the contribution.
- Sat Jul 18, 2015 7:08 am
 - Forum: Coding Questions
 - Topic: Custom buttons using images on a CanvasGadget
 - Replies: 9
 - Views: 4359
 
Re: Custom buttons using images on a CanvasGadget
I've optimized the code, using a structure, now only loaded an image on which are drawn three buttons.
 
;======================================================================
; Library: CustomImageButtons.pbi
; Author: Roberto Herrera G. (Roberth_12)
; Date: July 18, 2015
; Target Compiler ...
					;======================================================================
; Library: CustomImageButtons.pbi
; Author: Roberto Herrera G. (Roberth_12)
; Date: July 18, 2015
; Target Compiler ...
- Sat Jul 11, 2015 6:02 pm
 - Forum: Coding Questions
 - Topic: Custom buttons using images on a CanvasGadget
 - Replies: 9
 - Views: 4359
 
Custom buttons using images on a CanvasGadget
Custom buttons using images on a CanvasGadget
Hello.
I'm creating custom buttons using images. So monent no problem, but I would like to optimize the code or find a more efficient way.
This is my code:
 
EnableExplicit
#Window = 0
#ImgBtn1=1
#ImgBtn2=2
#ImgBtn3=3
UsePNGImageDecoder ...
					Hello.
I'm creating custom buttons using images. So monent no problem, but I would like to optimize the code or find a more efficient way.
This is my code:
EnableExplicit
#Window = 0
#ImgBtn1=1
#ImgBtn2=2
#ImgBtn3=3
UsePNGImageDecoder ...
- Mon Jun 22, 2015 6:57 am
 - Forum: Tricks 'n' Tips
 - Topic: SkinCrafter DLL interface for PB 3.94
 - Replies: 7
 - Views: 6255
 
Re: SkinCrafter DLL interface for PB 3.94
If I have compiled com PB x86, I found the version 3.0.2 and does not work, it seems to have changed. I will look for other options.
Thank you.
					Thank you.
- Thu Jun 18, 2015 3:04 pm
 - Forum: Tricks 'n' Tips
 - Topic: SkinCrafter DLL interface for PB 3.94
 - Replies: 7
 - Views: 6255
 
Re: SkinCrafter DLL interface for PB 3.94
Ramihyn_, good morning.
I'm testing the code with SkinCrafterDll_vs2005.dll version 3.8.1.0 and PB 5.31 but I can not make it work. The SkinCrafterDll.dll Version 1.8.2.0 can not get it. It takes for this DLL ?.
Regards
					I'm testing the code with SkinCrafterDll_vs2005.dll version 3.8.1.0 and PB 5.31 but I can not make it work. The SkinCrafterDll.dll Version 1.8.2.0 can not get it. It takes for this DLL ?.
Regards
- Thu Apr 23, 2015 6:27 am
 - Forum: Tricks 'n' Tips
 - Topic: LEDgadget
 - Replies: 20
 - Views: 11150
 
Re: LEDgadget
I was just looking for an example like this, I will be very useful code.
Thank you.
					Thank you.
- Tue Jan 13, 2015 10:59 pm
 - Forum: General Discussion
 - Topic: Open video on OpenWindowedScreen (Help).
 - Replies: 2
 - Views: 2260
 
Re: Open video on OpenWindowedScreen (Help).
Not exactly. The video should be played over black background, in which there is a small box bouncing. I want to show part of a video, above the game screen.
					- Sun Jan 11, 2015 6:26 pm
 - Forum: General Discussion
 - Topic: Open video on OpenWindowedScreen (Help).
 - Replies: 2
 - Views: 2260
 
Open video on OpenWindowedScreen (Help).
Hi, I want to open a video on the area of the screen, but there is always below the screen, where you can be wrong?
 
If InitSprite() = 0
MessageRequester("Error", "Can't open screen & sprite environment!", 0)
End
EndIf
 
If InitMovie() = 0
MessageRequester("Error", "Can't initialize movie ...
					If InitSprite() = 0
MessageRequester("Error", "Can't open screen & sprite environment!", 0)
End
EndIf
If InitMovie() = 0
MessageRequester("Error", "Can't initialize movie ...
- Sat Oct 05, 2013 3:04 am
 - Forum: General Discussion
 - Topic: How to combine multiple images (Question).
 - Replies: 8
 - Views: 3995
 
Re: How to combine multiple images (Question).
True, but usually have a bmp image and we can use it without having to convert it to png and edit it to make a color transparent.
					- Thu Oct 03, 2013 8:38 pm
 - Forum: General Discussion
 - Topic: How to combine multiple images (Question).
 - Replies: 8
 - Views: 3995
 
Re: How to combine multiple images (Question).
I have this solution using a custom filter, so you can choose the color that will be transparent in the images *.bmp. What do you think?
Global TranspFilter_Color.f
Procedure Transparent_Filter(x, y, SrcColor, TrgColor)
If SrcColor = TranspFilter_Color
ProcedureReturn TrgColor
EndIf ...
					Global TranspFilter_Color.f
Procedure Transparent_Filter(x, y, SrcColor, TrgColor)
If SrcColor = TranspFilter_Color
ProcedureReturn TrgColor
EndIf ...
- Thu Oct 03, 2013 5:53 pm
 - Forum: General Discussion
 - Topic: How to combine multiple images (Question).
 - Replies: 8
 - Views: 3995
 
Re: How to combine multiple images (Question).
The code has been operated well with images *. Png, thanks. But at least one of the upper layers use an image *. Bmp and if the need for the black background of the image transparent.
					- Thu Oct 03, 2013 8:33 am
 - Forum: General Discussion
 - Topic: How to combine multiple images (Question).
 - Replies: 8
 - Views: 3995
 
How to combine multiple images (Question).
Hi, Greetings to all.
I'm starting to work with PureBasic v5.11 and mesclar need multiple images in bmp with black color background, but I can not get over the image you are left with transparent background, and the text is cropped. This is the first result I want to get (I really want mesclar 5 or ...
					I'm starting to work with PureBasic v5.11 and mesclar need multiple images in bmp with black color background, but I can not get over the image you are left with transparent background, and the text is cropped. This is the first result I want to get (I really want mesclar 5 or ...