Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Open Source Projects
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.


Pocket Burning Sand (Open Source)


Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 11-30-2007, 03:20 PM
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

Yes it is quite amazing however what you said is not 100% accurate becasue you can have many different elements with the same colour in it.

How are you doing with it... I know it is difficult to make it but that is why it will be so good!!!

Burning sand is my favourtite game of all time. The reason why it is so fast is that it runs purely on RAM memory or something like that.

If you want any questions to ask to the creator of the PC version of BS post here and I will contact him.
Reply With Quote
  #22 (permalink)  
Old 11-30-2007, 03:53 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default TimingTest

Try this, even with all the interface taken out the physics engine goes painfully slow after > 30 grains of sand! Just tap the mouse to add sand!
Proves we need the SDL.dll

So if its not done on colours - how does it do it? I doubt that there is an array storing the properties of every pixel. Can you have to substances Exactly the same colour that do different things? Remember (100,100,100) doesnt look much different than (108,100,100) etc but it would be enough to recognise it as a different element
Attached Files
File Type: sbp tt.sbp (825 Bytes, 11 views)

Last edited by colin9876 : 11-30-2007 at 04:02 PM.
Reply With Quote
  #23 (permalink)  
Old 11-30-2007, 03:59 PM
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

Nice work but why does some of the grains turn solid? Also please note that is should be in the forelayer.
Reply With Quote
  #24 (permalink)  
Old 11-30-2007, 04:01 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default only a demo

It was just a demo to show that its far too slow. The only way of doing this is exploring the dll. I dont know enough about those yet- we need help! Any offers?
Reply With Quote
  #25 (permalink)  
Old 11-30-2007, 04:06 PM
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

I know it was just a test, for some reason on it when I change mousedown to mousemove (so that it works more like BS) it works fine until it goes in about 297 pixels when it comes out with a fault about an array.

EDIT: oh wait I get it... just change two numbers and ut sorts it.

Last edited by neilnapier : 11-30-2007 at 04:13 PM.
Reply With Quote
  #26 (permalink)  
Old 11-30-2007, 04:15 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default change Dim

I only made the array 300 long. Its so slow on my PPC I cant get over 50 pixels.

Edit: As u say, If you want more,
Change the 300 in the first two Dim lines to 1000

Last edited by colin9876 : 11-30-2007 at 05:34 PM.
Reply With Quote
  #27 (permalink)  
Old 11-30-2007, 04:19 PM
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

As I said in the above post i figured it out. I have not tested that yet on my PPC so I wouldn't have noticed the speed issue.

It really is good that people are finding interest in BurningSand one way or another.
Reply With Quote
  #28 (permalink)  
Old 11-30-2007, 04:47 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default All in one layer

Yes, its an interesting program, Will definately need some fast dll to do it though.
U know the BurningSand code is not very long, the dll library does most of it. Look at the micro version of BurningSand on the website its only 10lines long!!
I think we need to enlist the help of someone who understands the SDL.dll - theres loads about it on the web when I googled it.

By the way, if u look at BurningSand on the PC, none of it is in the foreground. All the elements overwrite what is directly underneath them when it is first placed. For example Sand/Water will create a hole in walls, solid etc.
I noticed that when puting some sand in water. When the water had made its way to the top there was actually slightly less sand - because the initial placing of water had overwritten the sand.

So basically its all done in one layer. Thats not a negative by the way!

Last edited by colin9876 : 11-30-2007 at 05:37 PM.
Reply With Quote
  #29 (permalink)  
Old 11-30-2007, 05:39 PM
Senior Member
 
Join Date: Oct 2007
Posts: 147
Default

I am so happy that I found this forum and posted it here!!! My other topic on the other website (the BS one) only has had one page with just me and one other person who has posted.

As soon as moddability is done then this program will be much simplier to program as it will be much more minor things that will be implemented.

A Quick list of these are:
Swap gravity (so that things that go down g up and vic versa)
Borders on/off toggle
Load/save screen of sandbox
Pause
Slow speed/normal speed
Text pen

Then perhaps after that more things from BS2 will be implemented but that will be by far much more diffiult so I think it would be unlikely that it will be implemented.

Last edited by neilnapier : 11-30-2007 at 05:44 PM.
Reply With Quote
  #30 (permalink)  
Old 11-30-2007, 05:52 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default

Well Im really glad u introduced me to it, it was fun playing it today!
By the way looked at the BS forum, lots of silly talk about people getting banned from the site?! - u wouldnt think a program could cause so much contraversy lol!

None of the above are difficult functions, the only problem I see, as I keep saying, is to get it to run fast enough. We need to try and ask someone who knows about DLLS because that is the secret. It has librarys that do all the graphical stuff already written

Calling everyone...
Anybody out there know anything about SDL.dll ?
http://cs-sdl.sourceforge.net/index....ide_to_SDL.NET

Last edited by colin9876 : 11-30-2007 at 06:00 PM.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pocket Chess Database JamesC Share Your Creations 3 07-27-2008 04:07 AM
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
Pocket Outlook Object Modell sloopa Basic4ppc Wishlist 12 06-02-2007 08:05 AM


All times are GMT. The time now is 06:14 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0