Author Topic: Builder  (Read 6354 times)

0 Members and 1 Guest 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
Builder
« on: October 02, 2010, 12:51:56 am »
Here's the beta release of Builder! I know everyone has been extraordinarily eager to get advance copies even though I haven't really announced that it even exists before now ;) Run it with the Asm( tag from the home screen.

Note: I'm just looking for feedback. Builder was not designed to be a full fledged game, hence the bad graphics and and gameplay. It's a test bed for routines I'm planning on using in a couple of other projects that ARE being designed for interesting gameplay. So, any optimizations anyone would recommend for the overly commented source would be much appreciated. At one point I actually had the game under 2kb, but the scoring system put it to where it is now.

EDIT: How do you insert screenshots into posts?
« Last Edit: October 02, 2010, 01:11:30 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Builder
« Reply #1 on: October 02, 2010, 04:00:43 am »
I'll check this out :) As for screenshots you can either just upload the .gif or put the .gif on a file hosting site (like {AP}'s RFG Image Uploader) and then put the URL in [img][/img] tags.

Edit:
Tried it. Could you explain the game play and all? I have no idea what I'm supposed to be doing really or anything.
« Last Edit: October 02, 2010, 04:03:45 am by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Builder
« Reply #2 on: October 02, 2010, 04:33:00 am »
The basic goal is to last as long as possible before your life bar runs out. You start out with 96 Life. Dropping a block (2nd) reduces your life by one while letting a ship past reduces your life by ten. To prevent you from simply holding the 2nd button down and automatically getting the highest possible score, the "crane" is shifted a random number of places to the left or right every time you press the drop button. Your final score is [conveniently] the number of cycles the code went through before you lost. Pressing Clear at any time exits the game.

Here's a quick screenshot from wabbitemu. The actual game runs faster than what is shown.

« Last Edit: October 02, 2010, 04:35:33 am 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: Builder
« Reply #3 on: October 02, 2010, 09:43:49 am »
Nice, I'Ll have to try this out when I have some time :)

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Builder
« Reply #4 on: October 02, 2010, 10:02:33 am »
Pressing 2nd while a ship is onscreen makes the crane move a bit (or quite a lot if you hold the button) without dropping a block. I don't know if that's intentional or not, but I find it a bit odd. Other than that, nice game :D

edit: typo
« Last Edit: October 02, 2010, 10:03:53 am by JosJuice »

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: Builder
« Reply #5 on: October 02, 2010, 10:07:39 am »
Yeah this is intentional actually.

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: Builder
« Reply #6 on: October 02, 2010, 03:21:14 pm »
Pressing 2nd while a ship is onscreen makes the crane move a bit (or quite a lot if you hold the button) without dropping a block. I don't know if that's intentional or not, but I find it a bit odd. Other than that, nice game :D

edit: typo

As DJ said, it's intentional. The movement routine runs whenever the 2nd button is pressed without consideration of whether or not a block is dropping. Do you think it should run only when a block is dropped, though? That's a really easy thing to change.


EDIT: Rather than create a new thread, I'm simply going to post the screenshot for SpritEdit here:

« Last Edit: October 02, 2010, 03:40:21 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Builder
« Reply #7 on: October 02, 2010, 03:24:40 pm »
Do you think it should run only when a block is dropped, though? That's a really easy thing to change.
Yeah, that would be good.

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: Builder
« Reply #8 on: October 02, 2010, 03:53:50 pm »
Here's the modified source and Assembly.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Builder
« Reply #9 on: October 02, 2010, 04:19:51 pm »
Ah ok, that's what I thought. Was just making sure since you didn't really give much of an explanation. It is a pretty cool game. Good work.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Builder
« Reply #10 on: October 02, 2010, 04:23:30 pm »
Thanks. Oh, and by the way, a perfect score is approximately 2190.
∂²Ψ    -(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: Builder
« Reply #11 on: October 03, 2010, 04:42:46 am »
Hey nice sprite editor you posted there. I assume it does all levels of grayscale?

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Builder
« Reply #12 on: October 03, 2010, 03:35:10 pm »
That's a unique game, and very cool.  I'd recommend putting a ClrHome at the end of the game. :)  Nice job! ;D

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: Builder
« Reply #13 on: October 03, 2010, 05:58:08 pm »
Hey nice sprite editor you posted there. I assume it does all levels of grayscale?

Yep. The last few seconds of the screenie show the implemented greyscale. I'd post another that shows what you can do with the greyscale, but Wabbitemu doesn't seem to be perfectly emulating the program and some of the buttons aren't working, although they do on the actual calculator.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Builder
« Reply #14 on: October 03, 2010, 05:59:29 pm »
Here's a quick screenshot from wabbitemu. The actual game runs faster than what is shown.



To speed it up, you can go under Options and change the frame rate to something lower. That way, it wouldn't have problems in many browsers.