Gaming Sand Game

Wizerzak

Because I'm a potato!
Member
Joined
May 30, 2010
Messages
2,784
Trophies
0
Age
26
Location
United Kingdom
XP
852
Country
>I think definitely an indestructible floor of some kind, at the moment you can't really experiment with acid...

>Full screen mode?

>An option to switch between two modes:
1)Like you have atm: When you draw over another element it replaces it
2)When you can't draw over another element. (This is useful for mixing while they're falling)

>Earth (as well as sand which flows - too much like water) When you place water above earth it could sink in.

>Seeds? When you put seeds beneath ground then add water they grow into trees.

>Make oil rise above water.

>Rust when you put water on the iron (which is coming soon)
 

Sausage Head

Lord Sausage LXIX
OP
Member
Joined
Oct 28, 2010
Messages
1,675
Trophies
0
Age
20
Location
alanjohn check ur pm
XP
170
Country
Netherlands
I think version 2 is done. Yesterday I finished the standard code, and today I was looking for bugs.
Also, great news: you can now open a game from a screenshot. The keys have changed (S - save, O - open). I haven't tested this function completely (images that don't come from the game, e.g. oversized, or just custom-made with MS Paint or such). One thing that I was sure of was that fire, while in explosion, saved, and then loaded again, will act as normal fire (not spreading like explosions). Such things might happen with other element-interactions, but I haven't tested them all, so I'm labeling the next version "2.test".

Earth is a good idea -- it could be used for filtering water. Will earth be a solid element (wall, iron)?

I have tried to make the game scalable (dragging the screen, resizing it), but it gave an error. It might be possible if I dig deep into the existing code, so maybe a scalable playfield will come soon. If a scalable window works, fullscreen will work easily.

Coding seeds will be very hard, so don't expect it anytime soon.

Making oil float on water is an easy task. I'll implement it if it is what it does in real life (I suck at physics. Wikipedia is my source for everything).

Rust has been implemented (kind-of). When water is touching iron, it has a small chance (random(0.0F, 1.0F)
 

Wizerzak

Because I'm a potato!
Member
Joined
May 30, 2010
Messages
2,784
Trophies
0
Age
26
Location
United Kingdom
XP
852
Country
Sausage Head said:
I think version 2 is done. Yesterday I finished the standard code, and today I was looking for bugs.
Also, great news: you can now open a game from a screenshot. The keys have changed (S - save, O - open). I haven't tested this function completely (images that don't come from the game, e.g. oversized, or just custom-made with MS Paint or such). One thing that I was sure of was that fire, while in explosion, saved, and then loaded again, will act as normal fire (not spreading like explosions). Such things might happen with other element-interactions, but I haven't tested them all, so I'm labeling the next version "2.test". How does it decide what element to assign to what colour?

Earth is a good idea -- it could be used for filtering water. Will earth be a solid element (wall, iron)? A bit like powder in Dust, it's like sand, but doesn't flow as much and you can pile it up. Plus it allows things like water to seep through.

I have tried to make the game scalable (dragging the screen, resizing it), but it gave an error. It might be possible if I dig deep into the existing code, so maybe a scalable playfield will come soon. If a scalable window works, fullscreen will work easily.

Coding seeds will be very hard, so don't expect it anytime soon. Lol OK. I did think it might... The only use i really have for it is setting fire to the trees
evil.gif


Making oil float on water is an easy task. I'll implement it if it is what it does in real life (I suck at physics. Wikipedia is my source for everything). Water Contact - Wiki
QUOTE said:
Gas and oil are lighter than water

Rust has been implemented (kind-of). When water is touching iron, it has a small chance (random(0.0F, 1.0F)
 

Sausage Head

Lord Sausage LXIX
OP
Member
Joined
Oct 28, 2010
Messages
1,675
Trophies
0
Age
20
Location
alanjohn check ur pm
XP
170
Country
Netherlands
Sorry for the late response, I had to go somewhere. I brought my project files with me on a USB, so I've worked on the game. Here's what I've added:
  • There was a major bug in the saving dialog; it didn't save in the filepath, but in the game directory. I was too lazy to look it up, so I changed the whole thing.
The screenshots will now save as a random name (e.g. 16.3920395.png) in the game directory, so there won't be a dialog when you save (this was in the original version). When you want to open a screenshot, the game will display an open-dialog that starts in the game directory. The whole change isn't really noteworthy, but it's a major difference than how I first planned it.
  • Sand is now powder
It's not actually called "powder", but I added a new "physics rule". There was only one "physics rule" in the original source, liquid movement, but I've added a rule for powder movement. Sand is the first element to use this new physics rule. This, too, isn't very noteworthy, but it's one of the things I've done.
  • Updated physics
This is what I do every day when I can't think of what to add. Testing the game, and changing the physics. Acid does not go through iron anymore, oil floats on water, and probably more. It's been 2 hours since I last edited the game.

Anyway, version 2 will be released when the testing release is finished. The testing version will be released once I have a good website running, and that may take a while. I suck at designing. If anyone here can design a website, please tell me. [SoulSnatcher has designed the website] I'll PM the details if anyone is willing to design the website for me.

Here's a techy bit:
The game reads every pixel of the screen. Black pixels are labeled "BLANK". White pixels, are labeled "SALT". Green-ish is labeled "ACID" and so on. Every element has a different color. Even propane. (It's one number off to full black
tongue.gif
). When an image is loaded, the game automatically reads the pixels - The image is actually loaded as a background, but the game still recognizes it as a pixel.
 
D

Deleted_171835

Guest
Looks pretty good! I'll be trying it out.
yay.gif


I can't say I expected this from you.
 

Wizerzak

Because I'm a potato!
Member
Joined
May 30, 2010
Messages
2,784
Trophies
0
Age
26
Location
United Kingdom
XP
852
Country
So, err... you still working on this? Sorry to sound rude, don't mean to be. I was having fun playing this game, can't wait to see the improvements.
 

Sausage Head

Lord Sausage LXIX
OP
Member
Joined
Oct 28, 2010
Messages
1,675
Trophies
0
Age
20
Location
alanjohn check ur pm
XP
170
Country
Netherlands
Yeah, I haven't worked on the game for 2 days -- I'm planning to rewrite the game from scratch, and copying the code bit by bit from the current version's source code. I will do this once I get up on buying a netbook with a Linux distro on it (probably Linux Mint). The past days I wasted my time on Windows crap -- reinstalled the laptop (because there was a ton of shit on it), but apparently the drivers are missing. I'm waiting for a friend of mine to help me with the drivers, but I can do other stuff in that time (I don't really use that old, slow laptop anyway).

Oh, I forgot to mention that don't work on that laptop. I have a much better main desktop PC, but I'm planning to ditch it too (Windows is just plain crap.)
 

Sausage Head

Lord Sausage LXIX
OP
Member
Joined
Oct 28, 2010
Messages
1,675
Trophies
0
Age
20
Location
alanjohn check ur pm
XP
170
Country
Netherlands
Just for gaming/to make nobody rage about me installing Linux.

Oh, also: It took 20 minutes for Windows 7 to get off 0% configuring updates when I booted up this computer. €200,-? Fuck yeah.

And the next day, too.
 
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol