![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Pocket Burning Sand (Open Source)
OK... well the title speaks for itself. I have been working on a portable BS. Burning Sand is an application which is a physics toy. You have elements that interact with each other. To find more information on it go to here I posted this on the Falling Sand Game forum so perople that I have gave thanks to may not be members here. due to the fact that it has not gained much publicity there I posted it here. It is far from complete and I am quite a noob at the language myself. I only learnt the coding last week. What I decided to do was make it open source so that people could contribute parts of the coding so hopefully it would be finished quicker and more efficiently. BS Alpha Version 1 BS Interface created. Drag Implemented. PenSize Created. Clear and Wall created. Clear Screen works! Added Filled Circle Pen Added Circle Pen Added Vertical Pen Added Horizontal Pen Element Indicator (using) created Groups created BS Alpha Version 2 Pause Liquids, Solids & Gases Reversable Gravity Groups Borders for elements Much Faster Reversable Gravity glitch sorted Sources Created If anyone feels that any of it should be rewritten feel free to do so. (I actually suggest trying to sort some of the stuff or even try different methods.) Downloads Pocket BS Alpha Version 0.01 Pocket BS Alpha Version 0.03 Pocket BS Alpha Version 0.045 Pocket BS Alpha Version 0.05 Pocket BS Alpha Version 0.06 Pocket BS Alpha Version 0.07 Pocket BS Alpha Version 2.15 Pocket BS Alpha Version 2.86 Thanks To... Sieben JoeMaximum bbq Erel dzt Colin9876 AGraham Thanks for reading and I hope you will contribute. Last edited by neilnapier : 12-15-2007 at 03:31 PM. |
|
|||
|
I really like the idea of the program & would like to contribute.
I loaded it but no sand seems to move yet? (not near a PC so not able to try that version yet) How many points do u need the sand to start from? How many grains of sand How do they interact? I guess you just have to have an array of sand(x,y) coordinates and move one at a time. Might be slow if u have more than say 50 grains of sand? |
|
|||
|
I have not been able to create liquids or solids yet. There are minor glitches that I have fixed but I have not updated this yet because I am wanting to have more things done in each version.
Once Liquid and gases work I will be hoping to make a config (like the pc version made by max nagl AKA Sieben) so that it is moddable. Thanks for offering to contribute. |
|
|||
|
I suggest you type in Max Nagl to google and on the first result there is a page called Burning Sand 1. Click that and download it (also Burning Sand 2 has the tap but I feel that it is nesisary to add)
The tap is a sources toggle. This means that when the toggle is on, then 4 different lines of liquids fall down from the top... something like this ![]() Once liquids and gases are implemented no new elements will be added but instead a config will be worked on (a txt file) that will instruct the program, so that elements can be made and added. the mod code will be done like this Code:
Element Nature Plant 0 255 0 0 1 1 1 0 Clear 0 File img\Plant.bmp EDIT: Also in the new version that I am working on, mouse over has been removed because it does not work with a PDA as you can't hover. Last edited by neilnapier : 11-28-2007 at 03:33 PM. |
|
|||
|
BS coming along - should be able to post my demo tomorrow.
Had a really clever idea, the colour of the objects on the screen will determine the interactions with the liquid. For example different lines which all look black could be drawn in colours RGB(1,0,0),RGB (0,1,0)...(0,0,1)(1,1,0)(2,0,0) etc and this saves storing the properties of the things on the screen, just need to look at the pixel colour I need someones help on RGB function 1) if I do hit=form1.getpixel(x,y+1) 'look at the color of the thing uve hit one pixel belowu how do I get the RGB componets of the value hit 2) How do I delare hit as a double in the Global area - will just hit=RGB(0,0,0) automatically set it to the double variable type? |
|
|||
|
Thanks
Its good it doesnt need types. The only reason I thought it would have to be a double or something is becasue when I did textbox1.text=hit it displayed -1 on a white pixel so I thought it must be out of range?? |
|
|||
|
Good to know that people are willing to help!!! Once you make your update then i will edit yours with my minor glitch sorts. Also you can remove the mouse over indictaor before you post it because on a PPC there is no way to hover the pen over an element.
I was originally planning to have individual colours as elements because I could not think of any other way it could work. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 07:53 PM |
| print class for pocket pc | tanrikuluahmet | Basic4ppc Wishlist | 1 | 10-01-2007 09:10 AM |
| dzSpy - Spy and Task Manager App - Open Source | dzt | Share Your Creations | 3 | 07-15-2007 05:21 AM |
| open a text file with Word | mwaite | Questions & Help Needed | 6 | 06-16-2007 09:03 AM |
| SQLite Open Close - how often? | sloopa | Questions & Help Needed | 3 | 05-01-2007 02:01 PM |