Welcome,
Guest
. Please
login
or
register
.
June 10, 2026
Home
Help
Search
Calendar
Login
Register
Dark Bit Factory & Gravity
»
PROGRAMMING
»
Other languages
»
Blitz
»
[Bmax] Unlimited Bobs effect in Blitz?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [Bmax] Unlimited Bobs effect in Blitz? (Read 4103 times)
0 Members and 1 Guest are viewing this topic.
Pixel_Outlaw
Pentium
Posts: 1382
Karma: 83
[Bmax] Unlimited Bobs effect in Blitz?
«
on:
February 25, 2009 »
Does anyone know if there is a way to do the unlimited bobs effect in Bitzmax? I heard it requires multiple screen buffers and it seems that the default library only gives the coder one.
Logged
Challenge Trophies Won:
zawran
Sponsor
Pentium
Posts: 909
Karma: 67
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #1 on:
February 25, 2009 »
You would probably have to use pixmaps, and then do the manipulation directly in the pixeldata. For something 640x480 it would probably run ok on most systems.
Logged
Jim
Founder Member
DBF Aficionado
Posts: 5301
Karma: 402
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #2 on:
February 25, 2009 »
You need at least 3 screens, so if there's only 1 real frame buffer from blitz (or a double buffer), you'll have to manage them in memory and blit the whole frame over each time. As Zawran says, at 640x480 that will probably work.
Jim
Logged
Challenge Trophies Won:
Pixel_Outlaw
Pentium
Posts: 1382
Karma: 83
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #3 on:
February 25, 2009 »
Ok thanks. I was a bit worried about speed using read & write on pixmaps that large..
Logged
Challenge Trophies Won:
Jim
Founder Member
DBF Aficionado
Posts: 5301
Karma: 402
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #4 on:
February 25, 2009 »
For infibobs you're only drawing 1 bob per frame!
Jim
Logged
Challenge Trophies Won:
zawran
Sponsor
Pentium
Posts: 909
Karma: 67
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #5 on:
February 26, 2009 »
Yes its only one bob at a time, so its probably 32x32 pixels or so. But don't use read/writepixels commands, use pointers to the pixel data instead, much faster, although you have to make sure yourself, that you do not write outside the pixmap.
Logged
va!n
Pentium
Posts: 1435
Karma: 109
Re: [Bmax] Unlimited Bobs effect in Blitz?
«
Reply #6 on:
May 27, 2009 »
yes, its a fake / nice trick this unlimited bobs stuff ^^
btw, when i the first Blitz2D version for pc was available and i tried to test it... there was a website (dont remember the name)... full with great examples and all with sources afaik.... Some very cool examples of demo effects like unlimited bobs.... maybe you or someone has d/l or saved some of this "old" ( i think in the meanwhile offline) website?
Logged
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:
Print
Pages: [
1
]
Go Up
« previous
next »
Dark Bit Factory & Gravity
»
PROGRAMMING
»
Other languages
»
Blitz
»
[Bmax] Unlimited Bobs effect in Blitz?