|
Hello and welcome to the CodeArchive Project Management! |
This web-based project management system was introduced to offer a possibility to PureBasic users to contribute updates or new codes to the well-known CodeArchiv of PureArea.net. So this is the point: the standard website for downloading the CodeArchiv (including the new C.A.V. offline browser & search tool) or single codes of it will stay on www.PureArea.net. Here on this project management site you can help to update the CodeArchive with new or updated codes - so it's more for experienced coders ;-)
If you want to upload codes to the system please remember the following rules, which makes it a lot easier to handle contributions (including using the codes in the C.A.V. tool):
|
Line order (in front of PB code) |
Code Tag Description |
Possible code tags (without the "") |
Additional notes / Examples |
|
1. |
Source of the code (where it was taken from), e.g. the forum with related link. |
"; German forum:" + Link "; English forum:" + Link "; French forum:" + Link |
On first line of every code there should be noted the source of the code. Whether it's taken from a PB forum or another source (e.g. private PB website). Example: ; English forum: http://forums.purebasic.com/english/viewtopic.php?t=17322 |
|
2. |
Author of the code (in brackets there can be given additional notes, e.g. about updates by 'xyz' etc.) |
"; Author: " + Name |
Example: ; Author: Psychophanta (adapted for PB4.0 by Fred ;-) |
|
3. |
Date of release (when the code was posted, e.g. on a PB forum) |
"; Date: " + date |
The date must be given with 'day'. 'month' 'year' - month must be written as full english word (January, February, etc.) Example: ; Date: 23. October 2005 |
|
4. |
Operating system, where the code is running |
"; OS: " + OS (comma-separated if there are several of them) |
Possible OS tags are currently: Windows, Linux, MacOS and AmigaOS Example: ; OS: Windows, Linux |
|
5. |
Note about the compatibility to the PureBasic demo version |
"; Demo: " + Yes/No |
This tag give an information, if the current source is running under the PureBasic demo version. Example: ; Demo: Yes |
|
6. |
One or more lines describing the following code. |
"; .... |
At this place there can follow a short introduction to the following code (what does the code?, special notes, etc.). If possible first in english and then in german language and/or other languages. Example: ; English description: ; some english blub blub.... ;-) ; ; German description: ; some german blub blub .... ; |
|
7. |
Sourcecode |
None |
From here the real PureBasic code example starts... |
Important! The order of the code tags described above must strictly be adhered. Otherwise the C.A.V. tool can't ensure correct imbedding of the code in the search function.
|
Code Example (complete example of the single lines above) |
| ; English forum: http://forums.purebasic.com/english/viewtopic.php?t=17322 ; Author: Psychophanta (adapted for PB4.0 by Fred ;-) ; Date: 23. October 2005 ; OS: Windows ; Demo: Yes ; I am making a program to calculate speed and direction of an object in 3D space to ; reach an astro orbit. ; I've made lots of things related to this. ; You can try this elliptical particle movement and push LMB to reach it in 2 seconds ; (or the time you choose). The calculations are done in 3D, but it is displayed in 2D. ;****************************************************** ;Seek & Shoot to elliptic way moving object (in 3D space): ;****************************************************** #PI=3.14159265:#DEGTORAD=0.01745329:#RADTODEG=57.2957795 #objradius=2:#refresh=60:#dly=16 #cursorradius=8:#Explosionsize=21 DefType .f ... |