![]() |
|
|||||||
| 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 |
|
|||
|
We can have a clear pen which does remove liquids in my next version, by having it as a mod rule that pixels die if they hit the clear pen.
For the moment, we can have an icon that removes all liquids but keeps the solids. If u want that I'll tell u what to code? For now can u please 1) Set style=3 (in the Globals rather than =1, nicer to start of with the joined up line) 2) set those icons at the right height in the form (so u dont need the code at runtime) 3) Set all the Dims (8192) 'thats multiples of 8K 4) add the line if n>8170 then Return just before the line n=bh1.AddElement .... in the main loop This will stop it running out of Memory. I notice the version of PocketSand u told me about limits u to about 8000 pixels aswell, its also a good way of stopping it getting ridiculously slow Then Zip it all up to me! Thanks Last edited by colin9876 : 12-13-2007 at 07:55 PM. |
|
|||
|
Dont worry the clear pen will plant very dark grey pixels(appear black) that react with all other pixels, then die themselves
Can u do 1 to 4 above plus 5) New Globals MinX=27 MinY=27 6) and change then 26,27 in the bh1.new line to MinY,MinX (in that order because its Top,Left) 7) and change the 26, 25 in first line of main loop to MinX, MinY if down = false OR x<MinX or x>MaxX or Y<MinY .... Last edited by colin9876 : 12-13-2007 at 08:15 PM. |
|
|||
|
Will do. Also I forogt to tell you, in BS if you want to create a reaction with every element all you need to use is the element All.
Also incase you didn't know weight and interaction rates go from approximately 0 to 32000 (ish) when it comes to reactions and -32000 to 32000 in weight terms. All others go up to about 10. |
|
|||
|
I have done everything you have requested but befroe I release it I have one or two questions to ask.
1. Can I change the 7 pixels at once thing to 20 (I already have on mine i'm just wondering if it would make it too slow for PPC) 2. I suggest changing the pensize/2 rule to Pensize*2 instead for lines because it makes a better size. 3. Do you know how to sort the gravity glitch that causes new elements to fall at there original direction while having the same element created previously falling the opposite direction. the gravity swapper should swap new elements gravity too. |
|
|||
|
1) No keep it at 7 please for PPC (after all thats what this program is supposed to be for)
2) definately not 2*Pensize - again too big for PPC. If u want to use Pensize then thats an ok compromise (its currently only half pensize!) Last edited by colin9876 : 12-13-2007 at 08:53 PM. |
|
|||
|
If u want the reverse to work on new elements we need a
Global reverse=1 everytime a gravity is set in the elements button code add *reverse e.g. gravity=0.8*reverse Then in reverse button add code lines reverse=-reverse gravity=-gravity Last edited by colin9876 : 12-14-2007 at 01:01 PM. |
![]() |
| 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 |
| Personal Pocket PC Wiki | tsteward | Open Source Projects | 121 | 11-29-2008 09:06 AM |
| Tippy v.1.0 [open source] | N1c0_ds | Share Your Creations | 4 | 11-20-2008 10:08 PM |
| Another Pocket Wiki | digitaldon37 | Open Source Projects | 1 | 09-17-2008 11:01 AM |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 08:53 PM |
| dzSpy - Spy and Task Manager App - Open Source | dzt | Share Your Creations | 3 | 07-15-2007 06:21 AM |