Search found 115 matches

by Mischa
Mon May 31, 2021 2:15 pm
Forum: Applications - Feedback and Discussion
Topic: Sprite Sheet Scanner
Replies: 3
Views: 3803

Re: Sprite Sheet Scanner

Done. Now you can use [Ctrl] + [S] / [A] to zoom in and out. :)
And i have forgot to mention, that you can hold [Ctrl] + [X] to hide selections.

Regards,
Mischa
by Mischa
Sun May 30, 2021 9:03 pm
Forum: Applications - Feedback and Discussion
Topic: Sprite Sheet Scanner
Replies: 3
Views: 3803

Re: Sprite Sheet Scanner

Thanks for reply!
I will implement the zoom keys. 8)

Regards,
Mischa
by Mischa
Sun May 30, 2021 3:16 pm
Forum: Applications - Feedback and Discussion
Topic: Sprite Sheet Scanner
Replies: 3
Views: 3803

Sprite Sheet Scanner

Hi!

I've needed a little tool. Well, it is grown to a little bit complexer thing. :)

The tool extracts sprites from a sprite sheet. Thats it. Nothing more. But it will save so much time
if you need some sprite resources for your prototype game project.

https://thinkrelative.itch.io/sprite-sheet ...
by Mischa
Sat Apr 24, 2021 9:44 am
Forum: Coding Questions
Topic: Create 2D Polygon
Replies: 0
Views: 744

Create 2D Polygon

Hi!

I wonder if i've overseen something, cause i need a polygon function in 2Ddrawing, but it isn't there?
The vector lib is not perfect, cause i need the polys in combination with a pixel analyse of bitmaps.
Another problem is that i don't know before how many points the poly will have, so i need ...
by Mischa
Sat Apr 10, 2021 1:51 pm
Forum: Coding Questions
Topic: FillArea() stack overflow
Replies: 10
Views: 2487

Re: FillArea() stack overflow

Saki wrote:Your image takes less than a second with Debgger for me with the BF Fill.
Original image (2598 x 10732):

~294 ms - debugger ON with PureBasic FillArea() :? (faster?)
~310 ms - debugger OFF with PureBasic FillArea()

~515 ms - debugger OFF with BucketFill()
by Mischa
Sat Apr 10, 2021 1:28 pm
Forum: Coding Questions
Topic: FillArea() stack overflow
Replies: 10
Views: 2487

Re: FillArea() stack overflow

The fill functions of the GFX_Wizzard_BF
work with it, as well as with any images, limitless.
They are not based on PB functions.
A trick is used to keep the stack very small.
You can try it with the SpriteTool_BF from the download archive.
https://www.purebasic.fr/english/viewtopic.php?f=12&t ...
by Mischa
Sat Apr 10, 2021 12:48 pm
Forum: Coding Questions
Topic: FillArea() stack overflow
Replies: 10
Views: 2487

Re: FillArea() stack overflow

Thanks for reply stargate.

So, it IS a bug. 8)

Nice and simple workaround.
It works perfect. :D
Thank you!

And i don't want to skip the FillArea() Function, cause its lighting fast.
Much faster than direct pixel replacement with DrawingBuffer(). :!:

Regards,
Mischa
by Mischa
Sat Apr 10, 2021 11:16 am
Forum: Coding Questions
Topic: FillArea() stack overflow
Replies: 10
Views: 2487

Re: FillArea() stack overflow

Ok. I have playing around with the "bad" image that produces the stack overflow.
Also i've drawing a little red rect inside the same image and no bug will shown!?

Here you can see yourself. I think its a bug. :evil:
http://www.think-relative.de/transfer/fillarea_bug.zip
by Mischa
Sat Apr 10, 2021 12:11 am
Forum: Coding Questions
Topic: FillArea() stack overflow
Replies: 10
Views: 2487

FillArea() stack overflow

When i want to fill an image (size= 2598 x 10732)
with FillArea(_cx,_cy,-1,RGBA(0,0,0,0)) i become a
stack overflow or a silent ctd without debugger on. :(

My computer has 32 gigs ram and i have a geforce1050gtx.

Will the crash happens, cause the height of my image is more than 8192px ?
Smaller ...
by Mischa
Sun Apr 04, 2021 5:55 pm
Forum: General Discussion
Topic: Desktop icon refresh
Replies: 10
Views: 3185

Re: Desktop icon refresh

That's weird cas, because it never happens to my desktops icons. I'm on Win 10 Pro with the latest updates.

BTW, I don't know if disabling the desktop redraw (temporarily) might help?

hWnd=FindWindow_("Progman","Program Manager")
SendMessage_(hWnd,#WM_SETREDRAW,0,0) ; Disable.
OpenFileRequester ...
by Mischa
Sun Apr 04, 2021 11:45 am
Forum: General Discussion
Topic: Desktop icon refresh
Replies: 10
Views: 3185

Re: Desktop icon refresh

This is not a bug, it is just the way that Windows OS works. Here are some explanations that i found with a quick google search that explain what is happening and how to possibly prevent it:
https://stackoverflow.com/questions/57654808/desktop-refreshed-when-filedialog-is-opened
https ...
by Mischa
Sun Apr 04, 2021 11:43 am
Forum: General Discussion
Topic: Desktop icon refresh
Replies: 10
Views: 3185

Re: Desktop icon refresh

BarryG wrote:Does it still happen if you open a temp invisible window first? Like this:

Code: Select all

OpenWindow(0,200,200,200,200,"",#PB_Window_Invisible)
OpenFileRequester("", "", "", 0)
Yes, it makes no difference.
I've testet this before.
by Mischa
Sun Apr 04, 2021 7:52 am
Forum: General Discussion
Topic: Desktop icon refresh
Replies: 10
Views: 3185

Re: Desktop icon refresh

Thanks for reply.

Hm. Ok, this happens not only on my pc, how comforting. :|
The question is, if this is a windows 10 bug, and much more important,
if there is a workaround? Maybe some kind of temporary 'DisableIconRefresh' or anything?

I mean, this is a really, really annoying thing, in ...
by Mischa
Sun Apr 04, 2021 12:00 am
Forum: General Discussion
Topic: Desktop icon refresh
Replies: 10
Views: 3185

Desktop icon refresh

Hi!

Simple question. Why does the first call of an OpenFileRequester() forces an icon refresh on desktop?
And how can i turn off this annoying flickering? :evil: :wink:

Regards,
Mischa
by Mischa
Mon Jun 27, 2016 6:46 pm
Forum: Applications - Feedback and Discussion
Topic: Recovered: D-Lib 2.0 script basic
Replies: 11
Views: 6683

Recovered: D-Lib 2.0 script basic

Hi!

I’ve found an old project by searching inside an also old harddisk.
Sadly I haven’t found the source-code (not yet). :cry:
But whatever, the program was at that time completed and it would be unfortunate not to
release it here once again with again working download link.
Maybe it can be useful ...