Beginning Programming w/ Just BASIC -- Tutorial 8: Sprites/Graphics (1/2)

preview_player
Показать описание
In which I describe how to set up a graphics window, how to make a sprite file, and to load bitmap images into your program.
Рекомендации по теме
Комментарии
Автор

Online gathering where people post threads and answer each others questions and share ideas. It's a good place to go when you get stuck.

CivilDefenseEngineer
Автор

If the program tries to end before a commend closing a window is given, it gives this error. Use "close #random" before the program exits.

CivilDefenseEngineer
Автор

Don't I have a tutorial that shows how to make them? If not, basically you have two images, one right on top of the other. The one on the top is called the "mask" and it is black with a white background. The black part is everything from the image below that you want to keep, so it basically outlines the shape of the sprite. And then the image below gives the detail. That allows background to be seen through the periphery of the sprite. That's the best I can explain it.

CivilDefenseEngineer
Автор

hey can u plz answer my question...can u plz tell me what to do after going to "paint" for drawing the sprites..plz it will help me alot..

gamefreak
Автор

what is a mask in a sprite...is it necessary to make a mask to load the sprite into the programme?

gamefreak
Автор

Did you save it in the same folder as the .bas file?

CivilDefenseEngineer
Автор

well i really cant understand what u r saying...what is a forum?

gamefreak
Автор

well if u dont want to give me ur id...its OK....bt if u want plz give it...ok...anyway....i drew a ball in "paint"..i saved it as "ball.bmp"...i tried to load it in the program...but when i run it.. it says "ball.bmp" not found....now i dont know how to do it.. :(

gamefreak
Автор

Hi gamefreak110011,
Sorry I haven't been responding to a lot of your questions, I've been a little preoccupied lately. If you want more immediate help, I highly recommend checking out the Just BASIC forums.

CivilDefenseEngineer
Автор

haveing trouble of makeing the red ball

Duncan
Автор

ummm...hi..recently..BASIC closed the #random(anything) handles...it says "#random is closed by BASIC.Usa appropriate CLOSE commands." plzzz help..

gamefreak
welcome to shbcf.ru