aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1071

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1071  pset is there a pixel erase

22/01/2005 @ 17:18
by Justin

Anonymous



hello, is there a pixel erase to go with pixel set. thanks for all your help.
can you use sprites on a palm?
GREAT PROGRAM THANKS AGAIN. Justin
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
22/01/2005 @ 21:07
by Leonard Zajaczkowski

Anonymous

visitor
To erase a pixel, set the color command to your background color and set the pixel again.

As for sprites, they're not really sprites but images that can be set with the image command. You have to create them in a Rsrc file using bird or rsrcedit. Izibasic has some built in images, in the manual, under the imagebutton command. However, there is no image collision detection, so you have to be sneaky if you want to use it for a game.

I've posted a couple of programs under my web site http://izibasic.aldweb.com/leonard/ with the code if you want to take a look at how image is used. I sent in a new program to aldweb but I don't think Laurent has posted it yet.

Laurent hope you don't mind me answering here, if I got anything wrong correct me.
Write to Leonard Zajaczkowski   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
22/01/2005 @ 23:30
by aldweb

Anonymous

visitor
Leonard,

Of course I don't mind you answering, I even like very much that you take some of your time to answer!
This forum is not meant to have people ask and I answer. My wish has always been to have it become a place where all iziBasic users can share.

Otherwise, I just took the time to update your web site. Please find its direct link here: http://izibasic.aldweb.com/leonard/
And, again, my son will love to play with this 2nd game, which is really a great realization. Thank you for sharing it with everybody Leonard.

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
23/01/2005 @ 21:27
by justin

Anonymous

visitor
thanks for the info guys. iv only started to program for a few days. the last thing i programed was comodor 64. as for colision detection you should be able to detect a pixel color right out side the edge of the object, in afew places and if color is anything but background it would be a collision. just a theory rightnow Im trying to make a lunar lander game. thanks all, Justin
  Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^