Author Topic: Twist  (Read 12236 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
Re: Twist
« Reply #30 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.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Twist
« Reply #31 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 :)
Spoiler For Spoiler:



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

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #32 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
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #33 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!
« Last Edit: August 12, 2010, 12:36:58 pm by skuller972 »
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Twist
« Reply #34 on: August 12, 2010, 01:12:24 pm »
Holy, this is looking good!

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #35 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.
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

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: Twist
« Reply #36 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? :)

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #37 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
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

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: Twist
« Reply #38 on: August 16, 2010, 06:59:09 pm »
Darn this looks pretty sweet, nice spinoff of Bejewelled too.

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #39 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
« Last Edit: August 17, 2010, 01:57:52 pm by skuller972 »
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

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: Twist
« Reply #40 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.

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Twist
« Reply #41 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.
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>