Search found 48 matches

by parakeet
Sep 08, 2006 13:35
Forum: Sources, Examples, Tips and Tricks
Topic: PacMan !
Replies: 19
Views: 8055

Fox wrote:You could maybe draw a full filled circle first, then add a second one with low angles in black color to make the mouth...?
Then the second (black) circle wouldn't be filled, either... Or maybe I did not understand your idea ?
by parakeet
Sep 08, 2006 7:39
Forum: Sources, Examples, Tips and Tricks
Topic: PacMan !
Replies: 19
Views: 8055

The circle command has start and end angle parameters, so you can animate his mouth
Well, I had tried that, but when specifying angles, the circle is not filled...

Does anyone know a workaround ?

Anselme
by parakeet
Sep 07, 2006 10:14
Forum: Sources, Examples, Tips and Tricks
Topic: PacMan !
Replies: 19
Views: 8055

pac-gums

Things have been added:
-3 lives per game
-magic pac-gums, to eat the ghosts

Have fun !
by parakeet
Sep 05, 2006 16:09
Forum: Sources, Examples, Tips and Tricks
Topic: PacMan !
Replies: 19
Views: 8055

Thank you guys,
You should finish it
Sure. What would you like first ? Ideas Someone ?
by parakeet
Sep 05, 2006 7:23
Forum: Sources, Examples, Tips and Tricks
Topic: PacMan !
Replies: 19
Views: 8055

PacMan !

Hi folks, Enjoy this oldie ! What's your score? Anselme Thanx Dr_D for the mouth animation 'Pacman simple, Anselme Dewavrin 2006 - dewavrin@yahoo.com 'Feel free to use it, provided you mention my name. Option Explicit Const m = 10 'magnifier Const w = 19 'labyrinth width Const h = 22 'labyrinth heig...
by parakeet
Sep 05, 2006 0:45
Forum: Archive
Topic: pacman
Replies: 1
Views: 992

pacman

by parakeet
May 23, 2006 9:20
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

I'm working on a tcp load balancing tool for win32, later linux... what I need to figure out is the way it will be "intelligent". Zero I just had this idea (imagine that you have 2 servers) : -Initially send half of the requests to each of the 2 redundant servers. -For each request, measu...
by parakeet
May 22, 2006 12:43
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

Thank you for the compliment. I just applied the proposed fixes. Thanx v1ctor and Zerospeed.
by parakeet
May 19, 2006 15:38
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

fixed. Thanx v1ctor.
by parakeet
May 19, 2006 14:35
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

Jupiter3888, steven522,

The inc/win32/winsock2.bi should be there. I could post it, but it's 48k. I think maybe you did not install a full version of FB. I also remarked that both of you use fb 0.16 which is a beta.
by parakeet
May 19, 2006 8:55
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

If Simple Web Server stops immediately...

anonymous1337, This could be because of the windows SP2 firewall. Did you open the firewall port 80 in ? Did you ask to be prompted when a program tries to listen on a port (which is the case for a web-server) ? Anyway, to see the error messages, un-comment the error-printing lines in the serverRun ...
by parakeet
May 19, 2006 8:34
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

Zerospeed, good ideas, thank you ! Using them to replace Winsock especific code could create a cross/platform tiny webserver ;-) Sorry I don't have a linux platform to developp/debug/test it... I have nothing against Linux and portability (on the contrary), but I do not have enough time these days a...
by parakeet
May 18, 2006 21:40
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29151

30k simple web server

Hi folks, This is the easy to use "Simple Web Server". It is : -very small (30 kb) -very fast -multi-threaded (it can handle requests from many clients) -robust (tested with ApacheBench concurrent load, thanx to Zerospeed) -has an icon in the task bar to control it (run/pause) Typical usag...
by parakeet
Apr 11, 2006 10:42
Forum: Sources, Examples, Tips and Tricks
Topic: tHE ReD U.F.O.
Replies: 24
Views: 8535

Ex aequo

OK, The solution of counting_pine is decoded by an xor31 ( - Well done. The ascii-art mislead us). It explains the rotation of the rEd UFO using perpendicular vectors, and high level math (yes, I call that high) : a limited development of (1+x)^a in the neighbourhood of zero, obtained by using Taylo...
by parakeet
Apr 10, 2006 9:00
Forum: Sources, Examples, Tips and Tricks
Topic: tHE ReD U.F.O.
Replies: 24
Views: 8535

Now turn faster, rEd UFO !

CoderJeff found the solution to the second contest. As every reader of this topic knows now, rotations are always done by doing : newx = x*cos(teta) - y*sin(teta) newy = x*sin(teta) + y*cos(teta) As we saw in my first code, the multiplies by sin(teta) can be done by simple SHR7, because I chose the ...