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°1585

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° 1585  I release Reflexez

le 17/10/2007 @ 00:44
par Nate Weil

Anonyme



I made my first program, a simple reflexes game. The program picks a random number as your target, then a second number starts going up. Each round in the loop, it picks a random number between 0 and 50 and increments "your" number by that amount. The goal is to stop "your" number as close to the target number as possible, by clicking stop. The game also includes an exit button, and a play again button that only works after a game over. I will put it on Palmgear.com, hopefully freewarepalm.com, and on my website which you can find a link to by going to freewarepalm.com, searching for BASIC Battle, and clicking on the link there. Thanks!
  Poster une réponse  Haut

[]   

DébutPrécédent [ 1 2 ] SuivantFin

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 11
--------
le 19/10/2007 @ 14:50
par Nate Weil

Anonyme

visiteur
Before I knew as much as I knew now, I tried a waitevent in my loop. So I had that, and the number went up by one. If this had worked, the number would have been flying up. But obviously it doesn't so I used doevents when I found out what it is. But this does slow down the program a ton, and the game was too easy because the number was so slow. So what I did instead, is randomize a variable every time around, between 0 and 50. Then that's added to the number. So you can't count how long it takes to get to 2000. I don't have my palm on hand right now and I don't remember the loop I used but it's most likely just a while wend. Thanks!
  Poster une réponse  Haut
DébutPrécédent [ 1 2 ] SuivantFin
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 ^