www.dbheaven.com is a great read if u havent already been through the newbies book.
There are so many things that I go to ask that I go to put in topics.
1-Does have how to make screensavers in DarkBASIC
make an executable that quits as you move the mouse or press a key, once compiled u may have to do a few things depending on what OS u have but change the extension to .scr and drop into the correct location.
stopping multiples loading might be an aissue to consider.
2-How can I change the size of a text?
SET TEXT SIZE FontSize
3-How can I pit a image, put in a place?
u can position images or sprites
PASTE IMAGE imgnum,X,Y,Transparency
4-How can I do it movement by Keyboard?
You can use the built in keyboard commands like :
if upkey()=1
perform movement code here
endif
if downkey()=1
perform movement code here
endif
etc...
or you can use the inkey$() command
eg:
if inkey$()="q"
print " quitting"
endif
finally its more robust to know the scancodes of a key
if SCANCODE(52)=1
perform action code here
endif
also think about combos of keys
if SCANCODE(52)=1 and SCANCODE(53)=1
perform action code here
endif
also think about combos of keys in different states
if SCANCODE(52)=1 and SCANCODE(53)=0 SCANCODE(54)=0
perform action code here
endif
5-I took a book of BASIC and it shows an editor of BASIC with numbers of the left.
Why in DarkBASIC we don´t see?
DB 1 internal editor doesnt have that feature.
Download "DARKEDIT" an alternative editor made by Guy.S.
who also makes the DBP editor.
rem usually its the left and right hand positions
rem of the variables that get messy in DB1 which has its own
rem slightly different math handling
sync rate 0
sync on
A = 140
B = 10000
C=A+B
text 10,10,"a = "+STR$(A)
text 10,30,"b = "+STR$(B)
text 10,50,"c = "+STR$(C)
sync
suspend for key
end
http://www.lunarpixel.com/ is my new site