07-19-2023, 03:54 PM
(07-13-2023, 01:07 AM)bplus Wrote: @TempodiBasic started some tut for this, what happened?
What I would do first is get code for isolating a rectangle block from Sprite sheet to display in editor and have code ready to save the edited image back into the sprite sheet. The rest of it has been worked out by johnno and I at the old forum. Now with QB64pe there are better tools for Loading and Saving Dialogs along with Message and Input Boxes. We were only working with whole images not blocks in a Sprite sheet.
Oh hey the darn thing still works! Just had to fix a Function in SaveImage.BM when functions names could no longer be used in calc's.
One more screenshot:
See Terry's Game Programming tut for animation after the Sprite Sheet is made.
Thanks for sharing this, I'll give it a look.
(07-13-2023, 01:07 AM)bplus Wrote: Now with QB64pe there are better tools for Loading and Saving Dialogs along with Message and Input Boxes.
I've seen threads here about InForm and simple GUI functions, is there an example specifically about how to do an inputbox, like you can in vbscript? For example:
Code: (Select All)
dim sInput
sInput = ""
Do
'InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])
sInput = InputBox("Type your name?", "MyTitle", "default value")
Loop While (Len(sInput)=0)
msgbox "Hello " & sInput
Thanks again!