|
Post by Rod on Apr 7, 2021 3:25:15 GMT -5
Running Lemmings program. I load images and sprites then draw a background image. All that works fine. But when I come to capture it into "scene", I get a "a primitive failed" message on the getbmp lines. The commands work in shipped graphics demo code.
#w.g "drawsprites" #w.g "getbmp scene 0 0 800 600" #w.g getbmp("scene",0,0,800,600) #w.g "background scene"
|
|
|
Post by Rod on Apr 9, 2021 5:35:05 GMT -5
If I remove the drawsprites command the getbmp command does not give the error. So some interaction between getbmp and sprite drawing?
|
|
|
Post by Carl Gundel on Apr 10, 2021 10:23:53 GMT -5
|
|
|
Post by Rod on Apr 10, 2021 11:06:30 GMT -5
gamebin.webs.com/Games/lemmings.zipYou will need to REM out the sound commands and the occasional, I have a bad habit of including. Or, leave it till I get a short extract that shows the problem.
|
|
|
Post by Carl Gundel on Apr 10, 2021 14:02:13 GMT -5
gamebin.webs.com/Games/lemmings.zipYou will need to REM out the sound commands and the occasional, I have a bad habit of including. Or, leave it till I get a short extract that shows the problem. Okay, thanks. I had no trouble reproducing the error. Hopefully that means it will be easy to fix.
|
|
|
Post by Carl Gundel on Apr 10, 2021 17:42:04 GMT -5
gamebin.webs.com/Games/lemmings.zipYou will need to REM out the sound commands and the occasional, I have a bad habit of including. Or, leave it till I get a short extract that shows the problem. Okay, thanks. I had no trouble reproducing the error. Hopefully that means it will be easy to fix. The getbmp command was trying to get an image larger than the source bitmap. Added the removesprite command. Working on the other stuff.
|
|
|
Post by Carl Gundel on Apr 18, 2021 21:27:16 GMT -5
gamebin.webs.com/Games/lemmings.zipYou will need to REM out the sound commands and the occasional, I have a bad habit of including. Or, leave it till I get a short extract that shows the problem. Okay, thanks. I had no trouble reproducing the error. Hopefully that means it will be easy to fix. Okay, I implemented three missing sprite commands REMOVESPRITE, SPRITEVISIBLE and SPRITEORIENT. I can now play the game successfully (without sound). Thanks for your help with testing LB5! -Carl
|
|