aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !


Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1071

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1071  pset is there a pixel erase

le 22/01/2005 @ 17:18
par Justin

Anonyme



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
  Poster une réponse  Haut

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

Anonyme

visiteur
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.
Ecrire à Leonard Zajaczkowski   Poster une réponse  Haut

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

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

visiteur
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
  Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^