Author Topic: Factory  (Read 11154 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Factory
« on: February 01, 2010, 10:12:53 pm »
Well i made this game in Stats today, I was inspired, what can i say :P  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 :P  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 »

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
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 

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
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*

Offline Eeems

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

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
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. x.x

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

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
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 :P  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.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
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. XD

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
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!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
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 :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
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 :P

Offline DJ Omnimaga

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



This is tool-assisted, though

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
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.

Offline Builderboy

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

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Factory
« Reply #13 on: February 02, 2010, 11:12:39 am »
well we never know :P



This is tool-assisted, though

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


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Factory
« Reply #14 on: February 02, 2010, 02:39:40 pm »
Keep in mind TAS != cheating, though :P. 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 »