October 27, 2026, 08:12:18 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Recent posts

Pages 1 ... 4 5 6 7 8 ... 10
51
Games and Graphics / Re: Marblez game
Last post by LarryMc - September 15, 2024, 08:56:24 PM
I know what is happening but I don't know why.Lets see if I can describe what's going on. It all resolve around the GETSTARTPATH command.
I have IWBasic installed on my d-drive because of the way this new HP is set up it has limited space on c-drive. I downloaded your program and put it on D-drive and un-zipped it to its own folder.
To troubleshoot I added OPENCONSOLE AND CLOSECONSOLE commands to the program  so I could look at some of the things going on in the program. Since it were the images that weren't appearing I went there.
First I looked at:
path$=GETSTARTPATH
to make sure it wasn't blank and it wasn't.
Then I looked at:
bitmap0= LOADIMAGE(GETSTARTPATH+"blank.bmp",@IMGBITMAP)
bitmapb0=LOADIMAGE(path$+"bstone.bmp",@IMGBITMAP)
bitmapr0=LOADIMAGE(path$+"rstone.bmp",@IMGBITMAP)
bitmapy0=LOADIMAGE(path$+"ystone.bmp",@IMGBITMAP)

? bitmap0
? bitmapb0
? bitmapr0
? bitmapy0
and the result for all 4  were 0

So why wasn't it loading the images?
I went to the d-drive folder where I unzipped your zip file and they were there.
I went back and print out the getstart path
and there's the problem
even though I loaded the IWB file from the folder on the d-drive, without me telling it to, it created the exe file in a
IWBdev3\project folder on c-drive which made that the getstartpath and none of the files on the zip are located there. Also not located on C: drive is IWBDEV3.  It's installed as a stick version on D- drive.
I discovered and age calculator exe on c-drive in that same project folder. So I have to figure out what is going on there.
I would suggest the best fix for you right now would be to convert the program to a project and put the images in a resource file and read them in that way.
TLMcc
52
Games and Graphics / Re: Marblez game
Last post by Brian - September 15, 2024, 12:12:01 PM
Thanks, Larry. I must admit I have been struggling to get your code to show any bitmaps

Here's the original code in IBasic, plus exe, if anyone feels like playing it

Brian
53
Games and Graphics / Re: Marblez game
Last post by LarryMc - September 15, 2024, 10:49:55 AM
I got it in a form where it will compile and run. The only way I could do it was to indent all the lines. That's the only way I can program. I don't see how you can follow the program without indenting but there's more then one way to skin a cat. My mind just won't work that way.
Anyway, I got it going so at least you got something you can troubleshoot.
 LarryMc
54
Games and Graphics / Marblez game
Last post by Brian - September 15, 2024, 08:26:46 AM
This game was created in IBasic a long time ago, and I used to play it. It's good

I decided to convert it to IWB, but I am struggling with some ENDIFs and ENDSELECTs, either missing or in the wrong place, and I can't get my head round it. Anyone care to help convert it, so it compiles correctly?

Brian
55
General Questions / Re: Wierd Bug
Last post by billhsln - September 06, 2024, 03:31:14 PM
I agree with Brian, the menu shading is very nice.  It took me a minute to figure it out.  It went right past me when I pulled the program up to take a look at it.

Bill
56
General Questions / Re: Wierd Bug
Last post by Bruce Peaslee - September 05, 2024, 09:40:17 AM
You're welcome to anything I post. That has always been the spirit here.
57
General Questions / Re: Wierd Bug
Last post by Brian - September 05, 2024, 09:25:22 AM
Bruce,

I have only just seen this, so it has all been done and dusted now - sorry. But I was impressed with how you did the menu shading, so I have 'borrowed' your code for a program of mine, if that's okay

Brian
58
General Questions / Re: Wierd Bug
Last post by Bruce Peaslee - September 04, 2024, 05:48:34 PM
I probably will regret this, but I believe I have solved the problem. I changed the return value of one of the handlers to 0.

The program is not complete yet. I just need to save the new data and work on the cosmetics.

BTW: The image of the car being towed was created by chatGPT. It supposed to be my car (KIA Stinger).
59
General Questions / Re: Wierd Bug
Last post by Bruce Peaslee - September 04, 2024, 11:46:46 AM
This is crazy. The only new change is to put some text and an image on winMain and the bug is back,
60
General Questions / Re: Wierd Bug
Last post by Bruce Peaslee - September 04, 2024, 09:52:38 AM
You can try making the change I made elimating the default style and recompile.
Pages 1 ... 4 5 6 7 8 ... 10