Author Topic: Powder Game  (Read 42127 times)

0 Members and 2 Guests are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Powder Game
« Reply #45 on: December 04, 2010, 06:19:18 pm »
You can if you want. I don't really mind either way.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #46 on: December 04, 2010, 06:53:46 pm »
You can if you want. I don't really mind either way.

Then, that will depend on how important that is for the game :S

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Powder Game
« Reply #47 on: December 04, 2010, 07:01:04 pm »
What's the game?
« Last Edit: December 04, 2010, 07:01:21 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Powder Game
« Reply #48 on: December 04, 2010, 07:01:41 pm »
He won't tell anybody :P

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #49 on: December 04, 2010, 07:01:44 pm »
What's the game?


Surprise stuff, it uses a mouse, though. I'll change the sprite since it is really not a hand :S

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Powder Game
« Reply #50 on: December 04, 2010, 07:05:06 pm »
You could do what computer OSes do and attach a second sprite (the hand) that will replace the first one on some condition.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Powder Game
« Reply #51 on: December 04, 2010, 07:07:46 pm »
You could use a cursor of my own design which is small, minimalistic, but i think it looks very sleek ^^

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #52 on: December 04, 2010, 07:11:49 pm »
You could use a cursor of my own design which is small, minimalistic, but i think it looks very sleek ^^

I'm gonna do a cross with a center for precision. How do I change the point of the sprite that hits things?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Powder Game
« Reply #53 on: December 04, 2010, 07:12:41 pm »
What do you mean by the point of the sprite?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #54 on: December 04, 2010, 07:13:22 pm »
What do you mean by the point of the sprite?

In Doors's sprite the point that selects things is the upper left one, in a cross, it would be the center :S

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Powder Game
« Reply #55 on: December 04, 2010, 07:15:41 pm »
Ah i see, well the best way i would do that is just make it so that in your mouse sprite, the point of the mouse is at the center of the sprite.  That way when you switch to the cross, you don't have to mess with any offsets

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #56 on: December 04, 2010, 07:16:27 pm »
Ah i see, well the best way i would do that is just make it so that in your mouse sprite, the point of the mouse is at the center of the sprite.  That way when you switch to the cross, you don't have to mess with any offsets

I need to make a thread concerning Mouse stuff.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Powder Game
« Reply #57 on: December 04, 2010, 10:41:55 pm »
Nested statements

 :banghead:

I rewrote the entire water routine using Builderboy's fluid program and I can't figure out how these blocks...

EDIT: Got it.

EDIT: RAM clear.
« Last Edit: December 04, 2010, 10:42:20 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Powder Game
« Reply #58 on: December 05, 2010, 02:09:12 am »
What's the game?


Surprise stuff
Starcraft? ;D
Nested statements

 :banghead:

I rewrote the entire water routine using Builderboy's fluid program and I can't figure out how these blocks...

EDIT: Got it.

EDIT: RAM clear.
I hope you had a backup <_<
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Powder Game
« Reply #59 on: December 05, 2010, 02:31:54 am »
I archive my code whenever I test a potentially dangerous routine ;)
« Last Edit: December 05, 2010, 02:32:17 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ