Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: skuller972 on May 13, 2009, 07:05:48 pm

Title: Twist
Post by: skuller972 on May 13, 2009, 07:05:48 pm
I am now working on a project called Twist. So far it is entirely basic, and i have everything running up to the main menu... and that's where I stopped.
I am in need of ideas for a game!!!
I can't think of anything... any help would be GREATLY appreciated, for if I finish this, it will be my first finished and released TI-84+ SE game (or any .8xp calculator)
If you do help, the ideas must fit the title, so don't have propose me making a paper football game named Twist, or a tetris game either (there's  too many tetris games anyways)
Until then, I will just be perfecting the beginning part.
Please, I am in desperate need of ideas!!! I guess this is the TI version of a writer's block...

Progress:
Intro: 100%
Main Menu: 99% (maybe need to change the options)
Load Screen: 99% (maybe need to add or remove some variables)
Game Engine: 80% (displays text numbers on the graph screen for gems, and checks for 4 in a line OR MORE. has gravity, to pull down gems after the ones below get removed. rotating, score bar, level up, and more gems when you level up some. no finding crossing lines yet. planning on implementing that when you get 4 in a row, you get 4 gems to your 'money', and later i will make that however many gems in a row you had)

TODO:
test for crossing lines
quicker display
more organized display? like a fall or rotate animation maybe?
better hud?
gems for money?
Title: Re: Twist
Post by: Eeems on May 13, 2009, 07:12:49 pm
make a puzzle game, better yet enter it into my contest! I have no idea of what you should do with it...srry
Title: Re: Twist
Post by: skuller972 on May 13, 2009, 07:18:28 pm
yeah i was thinking of a puzzle game anyways, to fit the name, but i still don't know WHAT type of puzzle game (eg. falling blocks (but different than the average tetris), a chuzzle kind of thing, a bejeweled, etc.)
Title: Re: Twist
Post by: Eeems on May 13, 2009, 07:22:55 pm
maybe it should involve twisting of some sort
Title: Re: Twist
Post by: skuller972 on May 13, 2009, 07:35:24 pm
maybe... but i think the name twist should mean it should be where the items split in half every time. jk, but that is a good idea for a game, like a bacteria or cell kinda game.
Title: Re: Twist
Post by: Eeems on May 13, 2009, 07:37:09 pm
ooh! how many bacteria of a certain type do you need to kill off the rest! and certain bacteria grow at a certain rate, and others will kill each other if overcrowded and such
Title: Re: Twist
Post by: skuller972 on May 13, 2009, 07:45:47 pm
yeah sure... ??? ... haha jk but i want to stay on topic because this would be my first ever released game
Title: Re: Twist
Post by: Eeems on May 13, 2009, 07:52:22 pm
but that was on topicish, what if that is the game...kinda
Title: Re: Twist
Post by: skuller972 on May 13, 2009, 07:56:21 pm
im gonna make it where you twista 2x2 square and use 2nd and alpha to tell which direction, and you have to get 4 touching to make them dissapear. (geez i have no idea how i am gonna do it, but im gonna!)
Title: Re: Twist
Post by: Eeems on May 13, 2009, 08:03:54 pm
hmm, are you thinking of entering this into the UnSS contest?
Title: Re: Twist
Post by: skuller972 on May 13, 2009, 08:18:23 pm
maybe, if i finish it in time [whisper] maybe you could help with some algorithms to help test if four are touching or not and whatnot [/whisper]
Title: Re: Twist
Post by: simplethinker on May 14, 2009, 12:17:46 am
maybe, if i finish it in time [whisper] maybe you could help with some algorithms to help test if four are touching or not and whatnot [/whisper]
I find subscripts (using [ sub] tags) to work well with conveying "wisper" (or at least a murmur) :) hint hint
Title: Re: Twist
Post by: Eeems on May 14, 2009, 03:45:58 pm
maybe I could, let's see what we can come up with
Title: Re: Twist
Post by: skuller972 on May 14, 2009, 08:08:52 pm
ok PM me and we can collaborate
Title: Re: Twist
Post by: skuller972 on August 08, 2010, 01:20:29 pm
alright. well this died a while ago, but im definitely bringing it back to life.

in case you didnt know, im pretty much making a basic version of Bejeweled Twist.
the home page is here http://www.popcap.com/games/bejeweledtwist

basically, there is an 8x8 grid of gems, and you move around a 2x2 cursor, which rotates the gems in the cursor view, and you continue to do this until there are 4 or more gems in a row, which get removed and you get the score for it. new gems fall from the top and you continue until you score a certain amount of points. then you move on to the next level.

so far, i have gotten a main menu and a load screen, complete with list encryption, so you cant easily just change the values in the save lists to level up crazy fast. today i am going to start on the game engine, just using basic ascii sprites. eventually i plan on using text sprites like the ones used in donut quest (explained below) to make gems and what not
http://tibasicdev.wikidot.com/graphics#toc3
Title: Re: Twist
Post by: meishe91 on August 08, 2010, 01:30:16 pm
Very cool. Good luck with this :)
Title: Re: Twist
Post by: skuller972 on August 08, 2010, 02:00:58 pm
Thanks. I added a progress thing on the first post, in case anyone really wants to know how far I am.
Title: Re: Twist
Post by: DJ Omnimaga on August 08, 2010, 04:04:27 pm
Interesting game, I would like to see this finished. Nice version of Bejewelled. I would like to see it for calcs :)
/me wants screenies soon ^^
Title: Re: Twist
Post by: Builderboy on August 08, 2010, 04:07:45 pm
I second the screenies request :) This sounds really interesting!
Title: Re: Twist
Post by: SirCmpwn on August 08, 2010, 04:42:31 pm
^
Title: Re: Twist
Post by: skuller972 on August 09, 2010, 10:21:18 am
Alright, well I don't know how to get screenshots, but I do have a demo. Open the group file attached and run program ATWIST and it should work. The game screen is pretty ugly right now, its just numbers. Its also INSANELY SLOW. The asterisk is the upper right corner of the 2x2 square to get rotated, and the ^ signs, I just added them in to show the score for the level. Thats really all I have so far, but I'm going to work on rendering the screen up and all today using the graph screen to make it prettier.

Oh yea, the three save files are each supposed to be examples. 1 is a normal one on level 2 with 50 gems. 2 is a corrupted one from a cheater. and 3 is an empty one. Please just use file 1.
Title: Re: Twist
Post by: _player1537 on August 09, 2010, 11:45:31 am
I think your group may be broken.  It gives an undefined error for TWITITLE, could you try reposting with the exact programs (in other words, not in a group)
Title: Re: Twist
Post by: meishe91 on August 09, 2010, 12:51:59 pm
I only tried this on Wabbit and didn't get an error. Though all I see is numbers, no asterisk or anything. Unless I misread what you said and it is just numbers right now.
Title: Re: Twist
Post by: skuller972 on August 09, 2010, 05:35:22 pm
no you should wait a bit and get an asterisk. Maybe hit a key once to set off the getkey. But otherwise, it should show up.

And I'll upload a .zip file with all the programs in it once I get the chance. Sorry that it errored for you.
Title: Re: Twist
Post by: meishe91 on August 09, 2010, 05:35:58 pm
Hmm weird. I waited quite a while and nothing ever showed up ???
Title: Re: Twist
Post by: skuller972 on August 09, 2010, 05:38:20 pm
Well its pretty slow, since it has to check both directions for 4 in a row and then do gravity stuff. It works on mine but I have to wait a bit. But other than the actual game engine, all the menus are working for you right?
Title: Re: Twist
Post by: meishe91 on August 09, 2010, 06:05:01 pm
Ya, they are all looking great :)
Title: Re: Twist
Post by: skuller972 on August 10, 2010, 11:38:56 am
oh man I'm sorry. The reason it wasnt working is because it checks for a value for G and then runs the loop to check for 4 in a row and then gravity to pull down new gems. If it sees 4 in a row, it delvars G to say, hey you need to check again because there might be more in a row, but once it does gravity, it says ok i checked heres G again, and stores 1 to G. But if neither of these go off, then G wont change. So presumedly, G is zero in your calc, and the screen came up with no 4 in a row, so, I fixed this in the latest version, but I don't have the chance to upload it yet (its a lot better) you can just store 1 as G then run everything again and hopefully it will work.

The newer version has
the numbers on the graphscreen, with room to spare when i make them sprites
a score bar
a level up feature that works better
a cursor that surrounds the 2x2 square rather than an asterisk in the upper right corner

I'll upload it in a zip file later today but right now I gotta finish a few things
Title: Re: Twist
Post by: skuller972 on August 10, 2010, 01:41:37 pm
Alright heres the latest file. A big improvement from the last one. You can change the second variable in LSAV1 to change the level you're on, because I realized it's currently set to 13, and thats pretty boring to complete a level with if you want to see it level up. Oops.
Title: Re: Twist
Post by: DJ Omnimaga on August 10, 2010, 03:51:00 pm
I'll try that tomorrow I think, if I get some time.
Title: Re: Twist
Post by: Builderboy on August 11, 2010, 01:36:56 am
This is really well made :) Although the speed is noticeable.  Are you checking the entire screen for matches?  Maybe it would speed things up if you only checks the tiles you know had changed, and spread out from there, that way you dont have to check parts you know didnt change.
Title: Re: Twist
Post by: meishe91 on August 11, 2010, 01:51:48 am
Ya, my suggestion would be kind of what Builder said. Check the tiles you move and then when the screen fills in then check up there or something. I haven't tested the new version you released but I will soon :)
Title: Re: Twist
Post by: skuller972 on August 11, 2010, 09:46:48 am
Yea good idea. Like when the cursor rotates I check all the lines between 3 to the left and 3 to right, shortening it if it's closer to the edge, and the same for up and down, but it would get complicated after that, having to remember all of the positions. And wouldn't all of the extra code to write after that make it slow too? I'm not exactly sure how I'm going to take care of the speed yet
Title: Re: Twist
Post by: skuller972 on August 12, 2010, 12:36:15 pm
Newest update.

I didn't really improve on the check system, other than isolating it to it's own subprogram. Not that that is an improvement, but it's easier to edit now.

I added sprites though! Uses Donut Quest style text sprites. It is kind of slow, but instead of re-spriting every gem every time, which would make it insanely slow, it is only slightly slow, because it stores the 'shown' gems as a matrix and the 'current' gems as another and only renders the ones that are different.

Feedback would be great. Bugs. Advice. Etc.



EDIT:
P.S. Screenie!
Title: Re: Twist
Post by: Hot_Dog on August 12, 2010, 01:12:24 pm
Holy, this is looking good!
Title: Re: Twist
Post by: skuller972 on August 14, 2010, 01:58:09 pm
I just added a little pause function for the game. Not that much of an advancement, so I'm not gonna upload it, but it basically uses the same program as the 'options' on the main menu, just adding 'Exit Game?' and 'Yes' or 'No', then if you picked no, it reloads only the part of the screen that got covered, rather than the entire screen. Which would be very slow.
Title: Re: Twist
Post by: ztrumpet on August 16, 2010, 01:16:52 pm
Wow, nice!  That looks great!  I really like the main menu.  Excellent job on that.  What are you using for inverted text? :)
Title: Re: Twist
Post by: skuller972 on August 16, 2010, 01:43:42 pm
its just a little assembly program to do it that uses the whole AsmPrgm function. I got the hex code here
http://tibasicdev.wikidot.com/hexcodes#toc3
Title: Re: Twist
Post by: DJ Omnimaga on August 16, 2010, 06:59:09 pm
Darn this looks pretty sweet, nice spinoff of Bejewelled too.
Title: Re: Twist
Post by: skuller972 on August 17, 2010, 01:09:24 pm
YES! I added checking for gems in a row greater than 4, just now. I need to rewrite it in for vertical because it's only on horizontal right now, but I'll upload it soon. :D

EDIT:
uploaded it, it probably has some errors, because i accidentally deleted the hole pause function I had, so i had to rewrite it today along with the rest of the stuff i added, and I wasn't as focused on it as the first time so it wont be as perfect as it could've been.
TWIZT is the group file
the folder has each individual file
Title: Re: Twist
Post by: DJ Omnimaga on August 18, 2010, 12:09:06 pm
Cool to see new version, I'll download that one and check it out later :)

Nice to see you back into the game.
Title: Re: Twist
Post by: skuller972 on August 18, 2010, 12:40:00 pm
Yea I'm not really sure what else I should add. But if I don't add something 'fun' it will be a really monotonous game.