QB64.org Forum
Active Forums => Programs => Topic started by: Dav on October 31, 2020, 09:53:10 am
-
I put this together to show a friend how easy it is in QB64 to make an animated scene with layers using .PNG images with transparency. Thought I'd just post it here too. This demo shows a moon in the background rising, a flying broom, house in the forefront, and a flying bat. The house has windows and you can see the other images through the window.
Download source -- > (35k)
- Dav
-
That's really cool Dav! I didn't see this at all until after I posted my Halloween picture. :)
One minor fix you need though, it says Line 43 has Illegal Function Call after the Moon has risen to the top of the screen. It's because your _FREEIMAGE variables are the wrong names.
But otherwise you did a great job! I like it.
-
Sorry Ken - I guess I didn't hit 'Save' after working on the BAS before making the .zip. Thanks for letting me know. I'll update the .zip.
Thanks for checking it out. I know it's novice kind of thing, but I was helping someone learn.
EDIT: Updated .zip - fixed the _FREEIMAGE stuff.
- Dav
-
Cool, Dav. Great job spreading the word of our lord Qbasic to a new guy.
-
This taught me too Dav. I didn't know transparent .png's would work. I've never used them on here. :)
-
I haven't used them much myself, but think I will more in the future.
I've updated the .zip yet again, this time adding a couple clouds floating by to complete the mood.
- Dav
-
Nice clouds. :)