Restored from previous forum. Originally posted by BalrogSoft.
Hi!
Pure basic 3.20 is a great update, but 2d drawing commands are slow, i think that implementing a new feature for drawing into images would be the option of depth to create an image, in my GB emulator i need to draw 59 frames in a second !!. If the image where i draw the graphics were 4 colors, i think that 2d drawing operations would be faster than now.
Another wish is a better system to numerical transforms that pb dont support:
Hex to Dec
Dec to Oct
Oct to Dec
Dec to Bin
Bin to Dec
And when PB will support sprites for images, and windows? And an official timer library too.
Bye, Balrog Soft.
Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]
Some request about images
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.20)
Maybe not what you are looking for, but there is a third party library which supports binary and hex tranformations (I guess you mean from a number to a string?) but not Octal.Another wish is a better system to numerical transforms that pb dont support:
Hex to Dec
Dec to Oct
Oct to Dec
Dec to Bin
Bin to Dec
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.20)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Danilo.
fweil,
maybe its an idea to put your stuff in the
Tips & Tricks section and on Pauls site -
so the whole community can use it and
you gain fame...
Have a nice day,
...Danilo
(registered PureBasic user)
Edited by - Danilo on 17 June 2002 09:40:43
fweil,
maybe its an idea to put your stuff in the
Tips & Tricks section and on Pauls site -
so the whole community can use it and
you gain fame...
Have a nice day,
...Danilo
(registered PureBasic user)
Edited by - Danilo on 17 June 2002 09:40:43
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
Fred - AlphaSND
I just use the Windows API functions... I you want speed, you have no choice but use DirectX (I suggest it to you). In PB, DirectX can be used in windowed mode, is double buffered, can use sprite as image etc... Without count the extra fast Plot() function which is a must for an emulator I guess. With all this, you could get 59 frame/s without problem.Pure basic 3.20 is a great update, but 2d drawing commands are slow, i think that implementing a new feature for drawing into images would be the option of depth to create an image, in my GB emulator i need to draw 59 frames in a second !!. If the image where i draw the graphics were 4 colors, i think that 2d drawing operations would be faster than now.
See above...And when PB will support sprites for images, and windows?
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by BalrogSoft.
Hi!
On the one hand i need native commands for numerical transforms, i need speed, and not a procedure that is slower than native commands. On the other hand, yes, i have some tips to transforms numbers, and other interesting tips, but its a temporally solution, in a few days i submit some tips to pauls web and my web (i agree with fweil, not for fame, i write programs for entertaiment, i dont earn money with my programs or sources), but im studying for university exams access, and i havent time, Another thing is that i need to draw 59 frames in a second, running the emulator, and it speed down the screen draw.
To finish this post, i have a question, PB supports sprites draw in images??
Bye, Balrog Soft.
Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]
Hi!
On the one hand i need native commands for numerical transforms, i need speed, and not a procedure that is slower than native commands. On the other hand, yes, i have some tips to transforms numbers, and other interesting tips, but its a temporally solution, in a few days i submit some tips to pauls web and my web (i agree with fweil, not for fame, i write programs for entertaiment, i dont earn money with my programs or sources), but im studying for university exams access, and i havent time, Another thing is that i need to draw 59 frames in a second, running the emulator, and it speed down the screen draw.
To finish this post, i have a question, PB supports sprites draw in images??
Bye, Balrog Soft.
Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]