Author Topic: Powder Game  (Read 47561 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Powder Game
« Reply #30 on: December 04, 2010, 01:40:14 am »
Would it be like at the bottom of the list, but there would be nothing displayed there? (Kinda like how we selected 1000% zoom in Paint)

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 #31 on: December 04, 2010, 02:09:59 am »
I found a menu glitch during debugging where if the boundary conditions aren't properly set, clicking on a certain part of the screen won't draw the selection box but it will register a selection event. I fixed it, but if it's useful...  ;D

∂²Ψ    -(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 #32 on: December 04, 2010, 07:57:57 am »
I found a menu glitch during debugging where if the boundary conditions aren't properly set, clicking on a certain part of the screen won't draw the selection box but it will register a selection event. I fixed it, but if it's useful...  ;D


What are the buttons on the left of the screen in your screenie?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Powder Game
« Reply #33 on: December 04, 2010, 04:28:35 pm »
I see, hopefully you can turn the bug into feature without too much issues. :P

Ashbad

  • Guest
Re: Powder Game
« Reply #34 on: December 04, 2010, 04:30:19 pm »
Me too, it's cool you are trying to make the powder game, I love that game a lot!

good luck~!

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Powder Game
« Reply #35 on: December 04, 2010, 04:30:56 pm »
Are you using DCS libs?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Powder Game
« Reply #36 on: December 04, 2010, 04:31:39 pm »
Axe

Ashbad

  • Guest
Re: Powder Game
« Reply #37 on: December 04, 2010, 04:31:46 pm »
I think it's in axe actually, the cursor he stole just to make it look like it was similar to the comp version.

EDIT: ninja'd by a one word response, that's like, totally unfair girlfriend (valley girl accent is creepy)  ._.
« Last Edit: December 04, 2010, 04:32:39 pm by Ashbad »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Powder Game
« Reply #38 on: December 04, 2010, 04:56:11 pm »
I think it's in axe actually, the cursor he stole just to make it look like it was similar to the comp version.

EDIT: ninja'd by a one word response, that's like, totally unfair girlfriend (valley girl accent is creepy)  ._.

Yes, DoorsCS sprite was used but it is Axe. By the way, it's a nice cursor.

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 #39 on: December 04, 2010, 05:25:32 pm »
How are you differentiating between all of the different elements with so few colors possible on the calc?

Ashbad

  • Guest
Re: Powder Game
« Reply #40 on: December 04, 2010, 05:26:49 pm »
^ well, I guess he could use grayscale, but then, it's hard to show more than 3...

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 #41 on: December 04, 2010, 05:47:33 pm »
I'm planning 4 lvl greyscale and hoping that the users have some imagination  :P

The Prizm port should be better.

Also, I'm a fan of mouse cursors. They're so easy to use. But it'd suck if that's the one thing people like about the game.
∂²Ψ    -(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 #42 on: December 04, 2010, 05:48:22 pm »
I'm planning 4 lvl greyscale and hoping that the users have some imagination  :P

The Prizm port should be better.

Also, I'm a fan of mouse cursors. They're so easy to use. But it'd suck if that's the one thing people like about the game.

Qwerty, do you mind if I use your cursor engine in a program I'm making?

I need to borrow all the cursor's code :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 #43 on: December 04, 2010, 06:16:03 pm »
Sure, you can have it. Here's the code for the monochrome version. If you're doing a greyscale program, you'll have to use Copy( in place of the StorePic and Recallpic commands.
Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End
:End
« Last Edit: December 04, 2010, 06:18:05 pm by Qwerty.55 »
∂²Ψ    -(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 #44 on: December 04, 2010, 06:16:54 pm »
Sure, you can have it. Here's the monochrome code:

Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End

Want me to credit you?