Pocket C Sample Codes and Programs
Here are all of my current source codes for PocketC
which i've done on my free time on the MRT(Subway in Singapore),work and
at home.(WARNING: Most of my codes are not structured,simple and without documentations because of wild brainstorming
and code crunching..;))
-
Targeting -
a 1/3 completed mechwarrior clone game.
-
Draw stright lines -
the scribbler module for graphicsC-gui.
-
tic-tac-toe - a
modified tic-tac-toe to allow drawing of X's and O's freehand,pressing
the up button clears the board.
-
dots - a random
dots generator.(ps: might crash your pilot)
-
Laser - my first
experiment with lasers,targeting and moving balls.
-
Lcomm - my first
game!,Laser command.
-
music - a sound
generator,not great but it serves it's purpose.
-
snake - a modified
snake program.
-
move effect -
a dungeon wall moving effect,quite fast.
-
star - a single
falling star will flash across the screen until you stop the program.
-
test move -
a cave program with blocks of stones flying accross the screen.
-
Trap Shooting! -
my second game.
-
mapper - a mapping
program for people who play MUDS on the internet,beta version,need some
simple modification of codes to get it to work.
-
db - a simple database
entry program.
-
razor - a clone
of the program McRazor,with bigger on/off button and speed selector.
-
arctic hit randomizer ver 1 -
for those who play Arctic MUD this is the first version to simulate attack
hits for your character,input STR,num of DIC used(xd7,x is the number of
dice),sides of DIC(2dx,x is the number of sides of dice),DAM roll value,this
program is quite accurate in it's predictions.
-
draw test - a
drawing program to help view the different effect's of changing calulations
of penx() and peny().
-
fireworks -
an attempt to recreate a fireworks display which resulted in kinda funny
lazer display effect.
-
lightning - this
is one program which i'm very happy about,took me 3 day's of serious head
cracking to achieve the full effect's of a lightning strike,generates a
different lightning every time!
-
binary display -
this program is suppose to dispaly binary digits flying across a small
window.
-
GraphicsC-GUI -
this is my graphics pocketC source code generator which will help you generate
full compilable source codes for every frame,rect,line,text and free hand
drawings,supports all the colors avaliable in pocketC,black,white,grey,inverted,source
codes comes in 3 parts.
-
arctic hit generator ver 2 -works
the same with the first ver,but with a different calulation technique for
hits.
-
text test - this
is the text input module for graphicsC-GUI,you need to include the "mod1"
module for it to run.
-
time - this is
a simple time program which will fill the whole screen pixel by pixel
very second.
-
ansi - this program
tries to list out all the special chars avaliable which pocketC can produce.
-
digimon -this
is a program i wrote for fun which the digimon will spew out lightning
if the up button is pressed.
-
test movement -this
program was ment to simulate the palm SFcave game's ribbon
-
faery - this
program is my second attempt to create a digital pet.
-
ski! - a program
to recreate the classic ski game,3/4 completed.
-
XF! - a flying simulation
which is like rebel assault's training level,3/4 completed.
-
-
-
-
-
-
Please give me some credit by commenting my name
if you use parts of these programs....;)
-