Search found 3 matches

by magg
Sat Apr 01, 2023 8:27 am
Forum: Coding Questions
Topic: Rotate Image
Replies: 1
Views: 982

Rotate Image

How can I draw an image with rotation? I'm trying to use StartDrawing(SpriteOutput(0)) as in game coding call render to texture , so I could transform this texture whenever I want. But sadly I cannot draw a sprite in another sprite output. I try to drawImage in it, but draw image has no rotation. Th...
by magg
Wed Mar 22, 2023 9:14 am
Forum: Coding Questions
Topic: Window size for #Pb_Window_Background event
Replies: 1
Views: 1175

Window size for #Pb_Window_Background event

Something wrong with how the window size event trigger on Maximize click. Especialy when back from maximize. Window size wrong dimention after back from maximize to normal window. macro SetStickyDebug() ;make debug window float at edge !window.addEventListener("resize",function(){ ! spider...
by magg
Mon Mar 20, 2023 8:19 pm
Forum: Tricks 'n' Tips
Topic: SpiderBasic Library - List of new functions
Replies: 38
Views: 77556

Re: SpiderBasic Library - List of new functions

With this code you can make Debug window always float at top/right when resize main browser: !window.addEventListener("resize",function(){ ! spider_ResizeWindow(spider.debug.window, spider_DesktopWidth() - spider_WindowWidth(spider.debug.window, 1)-10, 10, -0xFFFF , -0xFFFF) !}) EDIT! I ad...