Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - meishe91

Pages: 1 ... 32 33 [34] 35 36 ... 207
496
TI-BASIC / Re: TI-83+/84+ (SE) BASIC Tips, Tricks, and Routines
« on: November 08, 2010, 07:28:43 pm »
There a couple of really handy things you can do for optimizations.



Code: [Select]
If K=1 or K=2 or K=3 or K=4 or K=5
\Do something.\

Can be...

Code: [Select]
If max(K={1,2,3,4,5
\Do something.\

(Not mine, I think I saw Nemo do it first but I don't know if it predates him doing it where I saw.)



Code: [Select]
If K=21 or K=105
\Do something.\

Can be...

Code: [Select]
If 42=abs(K-63
\Do something.\

However this one does not always work. You have to test and make sure. The basic algorithm to figure out the numbers is (Keycode #1+Keycode #2)/2 and that will give you the number to subtract by. Then you just subtract one of the keycodes by it and it will give you the number that they will equal. (Example: 105+21=126/2=63 then 105-63=42 and 21-63=-42 which |-42|=42).

(I don't take credit for this optimization. It's Ztrumpet's as far as I know.)



Code: [Select]
X+(K=26)-(K=24
Ans-(Ans=17)+not(Ans→X
Y+(K=34)-(K=25
Ans-(Ans=9)+not(Ans→Y

Can be...

Code: [Select]
min(16,max(1,X+sum(⌂List(K={24,26→X
min(8,max(1,Y+sum(⌂List(K={25,34→Y

(Not sure who I saw this from but it was a while ago but calc84maniac talked about this method a few weeks ago on HCWP.)



Code: [Select]
31(A>1)+31(A>2)+31(A>3)+31(A>4
Can be...

Code: [Select]
31sum(A>{1,2,3,4


Code: [Select]
0
For(A,1,dim(L1
Ans+(C=L1(A
End
If Ans
\Do something.\

(Note: this is untested but it's basically supposed to check a list if it holds the value of variable and if it does it will do something.)

Can be...

Code: [Select]
If max(C=L1
\Do something.\

(I don't remember who this was that showed this but I feel like it was Player...might have been Nemo though. I don't remember though.)



Well that's all for now. If I think of anymore off the top of my head I will post them.

497
TI Z80 / Re: Breakout clone
« on: November 08, 2010, 05:32:33 pm »
But if each block give a certain amount of points, wont the score for every level (READ: After you have hit every single block!) be the same?

It wouldn't have to be for a couple of reasons:

1. Not all levels would need to have the same number of blocks.
2. Different blocks can have different point values. IE some blocks take multiple hits to destroy and would be worth more points(other clones have done this).
3. Powerups. Power ups could affect point values also. Say for example he added a gun powerup that allowed you 3 free shots, (where if a bullet hits a block it destroys the block) he could make it so that blocks destroyed in this manner did not give points since they are essentially freebies.

Just some thoughts anyways. =)

Well what I think he was saying is that for any given level if a certain type of block has a certain point amount assigned to it then every time you beat that level you'll have exactly the same points. That's when the idea of multipliers and such came in from lookitsan00b. Builder was just saying there wouldn't be much of a point system if each time it was the same number each time you beat the same level.

498
TI-BASIC / Re: Probably Pointless Program
« on: November 08, 2010, 05:23:44 pm »
Ok, I'll take a look at what you came up with and do some more where I can :)

499
Humour and Jokes / Re: Now that's respect.
« on: November 08, 2010, 01:42:37 am »
/\may the power of christ compel you implies that it does not yet have the power to do so. just saying :P

also:666 does not signify the devil, but rather the antichrist, Nero. as in the Roman emperor.

Actually no, my use is correct. Compel means to force to summit or to overpower, which is what the power of Christ is doing. Also, since that line is basically a prayer  it's not the same use of "may" as in like "May I use that?".

Ya, it's true that 666 does signify the Antichrist but it can also signify the devil, just depends who you're talking to. Where does Nero fit in though? Yes, he was a tyrannical b****** that burned down half (?) of Rome and enjoyed it but there isn't any proof he was the Antichrist since the Antichrist is supposed to bring the end of days, the Apocalypse.

Indeed evil is everywhere on Omni. Fortunately, unlike the old board, he did not doom us or anything. :P

One day, however, maybe it will turn into that?

You just wait, it's going to happen now :P

Code: [Select]
27154175928871285582608745517002178602783852106501698717822300469657836753478460368801341786128731708104036939461813692537639077673481414235926995498143858530905800579257577728654776697403203062270940063
60766303376954723573441938832586188596016367470293927056824802313616723833055936666012921423197877144002263245144781093460546462577369746630718678029483041060373313376482455606599856532001111174233450768
20028856039271697478224170953365430292002540313209626985629026842226720098365723596644589192169647865964771608482657447815673166354263425761875056075351412658924918167675222004537186685221728745459415025
18360808878652761018483351379011675765428791014988836637303281815148080095280900552856112536615564857837519167151638992363706861254590892859150985652406127177843303565990709993709902715765127586600733302
03056837091283930047861621641585036345954793261655938958528887787015485809464578621129939332862958831071512540975054084502434251778312533420797866343585737488189658088166135702806970218348448326520273444
42640175038787842736503395375213097324598270999348133857903750526167553966478796074667482527451958013385703152678559571864116226566032365908052857936209172690002387460244899885396862691793991738773357078
06261349270708582036935274518032743842288955551290945148599861596950147014647040264988934921200677857338729285109903634952746952067683288196885672490446008499479347670804298757716319349241596122341765978
71572025453337833347778302180149050776756997666496986768928345872048250467876984390672980229837086937833383950784572454289045426575068734258655962334325421601355688864237522292295626481335330885694873182
95430287726946641649809356760113688980954104973336888392785547924780056268147894207107543052594542403021659363655062233931413319416693234844064515946449947016545969427094539246444208735559647539174640853
111520180776757872042024272504000286839563050880598016



666^666

H...h...how did you compute that? Or did you find it somewhere?

500
Humour and Jokes / Re: Will Netham45 kill us?
« on: November 08, 2010, 01:33:20 am »
*Whistles*
Hmm, I wonder what's happening on this thread?  Ohcrap, a pink lo

*cough*Blue*cough* ;)

501
Computer Projects and Ideas / Re: Nightmare
« on: November 08, 2010, 01:09:50 am »
That is really cool. Also very nice work on the game, it looks sweet so far :) Can't wait for more :D

502
Humour and Jokes / Re: Win
« on: November 08, 2010, 12:19:07 am »
Marco Tempest does this type of stuff for his stage shows and such. It's really cool.

503
Humour and Jokes / Re: Now that's respect.
« on: November 08, 2010, 12:17:47 am »
* Meishe91 somehow goes to a dimension where Omnimaga is a physical being. Pulls out holy water and a bible and starts splashing the water on the "demon" chanting "May the power of Christ compel you, may the power of Christ compel you..."

:P Just kidding :D We have a lot of coincidences around here though :P

504
OmnomIRC Development / Re: Today's Log freezes in Chrome
« on: November 08, 2010, 12:05:55 am »
Ya, I'm fairly sure Chrome automatically updates itself. That's an odd issue though :(

505
Miscellaneous / Re: What is your code like?
« on: November 07, 2010, 11:54:49 pm »
My code is:

As optimized as possible as written or at least just written so it works.
Occasionally there is the bug here and there that is a pain to fix.
Optimized even greater when gone over again, if possible.
Commentless.

506
Humour and Jokes / Re: Will Netham45 kill us?
« on: November 07, 2010, 11:30:04 pm »
Hmmm, nobody seems to be able to get a full two sentences out. Let's see how far I can get before Ne

(Crap...)

Spoiler For For some reason reminds me of...:

507
TI Z80 / Re: Breakout clone
« on: November 07, 2010, 11:20:52 pm »
Looking really cool. Can't wait to see more on this.

508
Other Calc-Related Projects and Ideas / Re: Battlefield
« on: November 07, 2010, 07:20:04 pm »
Hmm, ok.

509
Computer Projects and Ideas / Re: Collision Detection-Less Snake
« on: November 07, 2010, 07:10:02 pm »
Add a menu and some scoring and you pretty much got it. A few times it was an instant death because it just started and then crashed into the wall.

Ya, that happened to me too.

510
Miscellaneous / Re: Dragon Cave Image Thread
« on: November 07, 2010, 06:37:06 pm »
Ok, will change when I get back from dinner :P

Fixed.

Edit:
Eggs finished.

Pages: 1 ... 32 33 [34] 35 36 ... 207