### Author Topic: Factory  (Read 11154 times)

0 Members and 1 Guest are viewing this topic.

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Factory
« on: February 01, 2010, 10:12:53 pm »
Well i made this game in Stats today, I was inspired, what can i say  Well it was a very interesting game to code, took a lot of time to figure out how to make it all work and still conserve speed.  The basic premise of the game is this:  You work a claw in a factory, boxes are brought in from the left and into storage compartments on the right.  Boxes of different types are represented by different number.  Three boxes of the same type become packages and are taken out of the storage compartments.  You can use your claw to move the boxes so that they make packages with others.  You get paid $5 for every box you handle and$100 for every successfull package.  If you jam the machine by overflowing any of the storage containers you are fired and lose the game.

The boxes were hard to code because there can be 2 on the screen at any given time, and in no particular order because you can hold onto a box for as long as you want  They are coded in as hardcoded objects, as in the engine would NOT be expandable.

The game has mutliple speeds, and multiple difficulty modes.  The different difficulties change how many different types of boxes you are sorting Easy-3 and Expert-6.  You have separate highscores for each difficulty modes, but are free to chose any speed for each difficulty mode.

I have not released the program yet, because as of now it is cluttered, in 6 subprograms, and horribly unoptomised, but I should have it out by the end of the night, or later if i'm slow

EDIT: Released version 1!  Should be free of bugs hopefully!
EDIT2: Released version 2! Now has survival mode and multiple bug fixes
« Last Edit: February 03, 2010, 12:23:16 am by Builderboy »

#### Hot_Dog

• CoT Emeritus
• LV12 Extreme Poster (Next: 5000)
• Posts: 3005
• Rating: +445/-10
##### Re: Factory
« Reply #1 on: February 01, 2010, 10:16:27 pm »
WOW, this is one of the best calc games I've seen.   You've done a great job

#### jsj795

• LV9 Veteran (Next: 1337)
• Posts: 1105
• Rating: +84/-3
##### Re: Factory
« Reply #2 on: February 01, 2010, 10:16:48 pm »
Wow! This game looks addicting. I gotta say, with all these new games coming up, I won't be able to concentrate on making my game o.o

Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a$1 item he needs.
A woman will pay $1 for a$2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

#### Eeems

• Mr. Dictator
• LV13 Extreme Addict (Next: 9001)
• Posts: 6250
• Rating: +318/-36
• little oof
##### Re: Factory
« Reply #3 on: February 01, 2010, 10:17:14 pm »
Wow! Looks great! Can't wait for more updates!
/e

#### {AP}

• Posts: 981
• Rating: +74/-3
• I am Webmaster!
##### Re: Factory
« Reply #4 on: February 01, 2010, 10:29:41 pm »
It's annoying how amazing you are. >.<
"i made this game in Stats today"

It looks amazing for a one classer.
Best thing I ever did in one class period was that Simon clone.

Regardless!
Congratulations on another great game, mate. ^^

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Re: Factory
« Reply #5 on: February 01, 2010, 11:01:45 pm »
Haha, thanks guys And it was more, I made the engine in Stats, finished the UI in English.  Unfortunately i need to add about 500 bytes in order to recall all the subs into one program.  I'm not going to use any tricky sub methods because the memory gain isn't significant, and i'm trying to drag as much speed out of this as possible   As it is I don't think it would be very fun on an 83.  I had to put 2 getKey movements in the main loop to keep the control smooth.

#### TIfanx1999

• ಠ_ಠ ( ͡° ͜ʖ ͡°)
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 6173
• Rating: +191/-9
##### Re: Factory
« Reply #6 on: February 02, 2010, 12:00:10 am »
For something "thrown together" This looks sweet. I can definitely see myself "wasting" too much time playing something like this.

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Re: Factory
« Reply #7 on: February 02, 2010, 01:21:20 am »
ALrighty then, i have version 1.0 uploaded.  Try it out and tell me if you find any problems with it or if you have any suggestions!

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55931
• Rating: +3153/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Factory
« Reply #8 on: February 02, 2010, 02:08:39 am »
wow awesome! I hope this gets noticed when released on ticalc too, it looks really great! Are you planning to have a survival mode, where it starts at low difficulty and speed increases slowly with the time, like in Tetris?

Good job on this, seems to run quite fast so far too

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Re: Factory
« Reply #9 on: February 02, 2010, 02:15:09 am »
Hmmm that's a good idea, although there are only 3 reasonable speed settings (the fastest 3 are being used and any slower would just be annoying) so it would probably be increasing difficulty instead of speed.  In survival you could even have the difficulty be able to go past expert, although I would have to put a cap so that the number of types doesn't go past 9, although I seriously doubt anybody would be able to do that.  It could be a fifth option on the difficulty menu, and then I could use the empty line on the highscores menu

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55931
• Rating: +3153/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Factory
« Reply #10 on: February 02, 2010, 02:19:24 am »
well we never know

This is tool-assisted, though

#### Galandros

• LV9 Veteran (Next: 1337)
• Posts: 1140
• Rating: +42/-10
##### Re: Factory
« Reply #11 on: February 02, 2010, 09:18:25 am »
Another great demonstration of how cool TI-BASIC can be in homescreen.
Hobbing in calculator projects.

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Re: Factory
« Reply #12 on: February 02, 2010, 10:44:30 am »
Wow Dj that was amazing, if tool assisted.  Maybe you could try to play my game with only 2 columns

#### Tribal

• The Fallen
• Posts: 218
• Rating: +15/-1
##### Re: Factory
« Reply #13 on: February 02, 2010, 11:12:39 am »
well we never know

This is tool-assisted, though

...I only have one thing to say...

#### DJ Omnimaga

• Clacualters are teh gr33t
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55931
• Rating: +3153/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Factory
« Reply #14 on: February 02, 2010, 02:39:40 pm »
Keep in mind TAS != cheating, though . No code were used, just slowed down emulator speed, loads of save states and some glitch abuses. Oh and obviously luck manipulation (the gamer has the debugger open all the time to detect how randomizing works and when to do certain actions to get the pieces he wants)
« Last Edit: February 02, 2010, 02:41:36 pm by DJ Omnimaga »