B4A Library [B4X] BitmapCreator Effects - Erel    
Apr 29, 2021   
(31 reactions) -New FadeBorders effect. See post #9: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator...
link: I was in need of some cross platform photographic functions for an app I am writing so I have taken ...
link: Your solution is correct. B4XImageView class itself is not a view....
link:
I updated the Library to 1.40 (the online version is still reported as 1.31), but i get an error if...
Games [XUI2D] BitmapCreator vs. CompressedBC - Erel    
Oct 14, 2018   
(7 reactions)There are two types in BitmapCreator library that are used by XUI2D: BitmapCreator and CompressedBC... to understand how to use them.
Lets start with BitmapCreator.
BitmapCreator is similar to a mutable... BitmapCreator.Bitmap a B4XBitmap object is created from this buffer.
You can convert a B4XBitmap to BitmapCreator with X2.BitmapToBC. This sub calls bc.CopyPixelsFromBitmap to extract the image data from the bitmap.
Copying a BitmapCreator to another BitmapCreator is a very fast operation as it just needs to...
B4J Library [B4X] [XUI] BitmapCreator - Pixels, Drawings and More - Erel    
Mar 31, 2019   
(24 reactions)BitmapCreator is a cross platform class.
Its core is made of:
1. A bytes array that represents... BitmapCreator:
- Methods to get or set a pixel color in various formats.
- Methods to copy a pixel from a different BitmapCreator to this BitmapCreator.
- Methods to draw a bitmap or a different BitmapCreator to this BitmapCreator.
- Method to draw gradients.
- And a few other methods.
Scaling
1... with BitmapCreator.
Note that in the example class the "missing dip" warning is disabled...
B4A Library [B4X] [BitmapCreator] BlurredDialog - Erel    
Oct 14, 2020   
(25 reactions)-2018-04-22_16.20.33.png
This class uses BitmapCreator to blur the background and show a panel... the example here: https://www.b4x.com/android/forum/threads/b4x-xui-bitmapcreator-pixels-drawings-and-more... the BitmapCreator example app: https://www.b4x.com/android/forum/threads/92050...
B4A Tutorial [B4X] Drawing with BitmapCreator - Erel    
Dec 22, 2019   
(14 reactions)BitmapCreator (BC) continues to evolve. Version 4.5 update is a large update with several new... added specifically for the 2d games use case. They will not be discussed here.
BitmapCreator... used together.
Simple example
'Depends on XUI / iXUI / jXUI and BitmapCreator / iBitmapCreator...
Private xui As XUI
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim bc As BitmapCreator...
link: A custom view that uses the async drawing methods: https://www.b4x.com/android/forum/threads/b4x-xui-anotherprogressbar.98892/#post-622809...
B4J Tutorial [B4X] [BitmapCreator] Creating a cross platform Tetris game - Erel    
Jul 16, 2019   
(27 reactions)Edit: XUI2D version of Tetris: https://www.b4x.com/android/forum/threads/xui2d-tetris.107698/
68997
https://www.b4x.com/basic4android/images/SS-2018-06-17_16.17.39.png
This example shows how BitmapCreator can be used to create a cross platform Tetris game.
The code is an evolution of the code introduced in the "walking character" example.
There are three types of modules in these projects:
Main module which is mostly empty and is different in each of the projects.
The game...
B4J Code Snippet [B4X] [BitmapCreator] Layout implode animation - Erel    
Apr 22, 2018   
(12 reactions) scale As Float = 100dip / 100
Dim bc As BitmapCreator
Dim GroupSize As Int = 6 'you can play...
bc.Initialize(w * GroupSize, h * GroupSize)
Dim source As BitmapCreator
source.Initialize(bc... on BitmapCreator (additional library for B4A and B4J: https://www.b4x.com/android/forum/threads...
B4A Tutorial [B4X] [BitmapCreator] Cross platform Falling Sand game - Erel    
Sep 6, 2018   
(32 reactions):
- Recent version of XUI.
- BitmapCreator v3.6 (B4J, B4i)
The three projects are attached. I've also...
link:
What does .GameTime actually control?
It allows the consumer to have a time measurement that is se...
link: I have another question concerning the main game loop. It calls mGame.Tick(gs) after gs.GameTime i...
link: This project is before the X2 / B4XPages era. It was difficult to share modules so every change requ...
Games [XUI2D] BitmapCreator drawing methods - Erel    
Nov 1, 2018   
(7 reactions)Edit: New tutorial covering features added in v4.50: https://www.b4x.com/android/forum/posts/622812/
BitmapCreator v4.30 was released: https://www.b4x.com/android/forum/threads/b4x-xui2d-box2d-game-engine.95208
This version adds several new drawing methods:
DrawLine, DrawRect and DrawCircle... with good performance.
The main advantage of drawing with BitmapCreator directly is that the conversion: Canvas -> Bitmap -> BitmapCreator is not needed. This can save precious time inside the game...
B4A Code Snippet [B4X] [BitmapCreator] Blur Image - Erel    
May 14, 2018   
(12 reactions)Returns a blurred image:
https://www.b4x.com/basic4android/images/SS-2018-05-13_11.30.54.png
Private Sub Blur (bmp As B4XBitmap) As B4XBitmap
Dim n As Long = DateTime.Now
Dim bc As BitmapCreator
Dim ReduceScale As Int = 2
bc.Initialize(bmp.Width / ReduceScale / bmp.Scale, bmp.Height... SetAvg(bc As BitmapCreator, x As Int, y As Int, clrs() As ARGBColor, temp As ARGBColor)
temp... on: BitmapCreator and XUI libraries
Update: The previous code incorrectly scaled the bitmap based...
Page: 1  
2  
3  
4  
5  
6  
7