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 - JWinslow23

Pages: 1 ... 36 37 [38] 39 40
556
Axe / Re: Lights Out help?
« on: December 01, 2013, 04:26:40 pm »
Is there an equivalent of sub( in BASIC for use in Axe? And can you store a string to a Pic (sprite)?

557
Axe / Re: Lights Out help?
« on: December 01, 2013, 12:21:34 pm »
Sorunome and Streetwalker, thanks for the compliments! Final version in a few days, hopefully.

Hayleia, I actually DID base my graphics off of his, and I will be sure to credit him for the graphics.

Xeda has also optimized it to 1,400 bytes compiled. Now to add a win message...and code coming sooner today!

EDIT: The source is attached, and I have a screenie. (Sorry the graphics look weird in the win message, I used Wabbitemu. They look fine on a TI-83+, so I don't know what was wrong there.)

If you don't have Axe Parser, I'm releasing the no-shell compiled result too! The Axe source is ASHUTDN.8xp, and the compiled result is SHUTDOWN.8xp.

558
TI Z80 / Re: Tipover - the crate game <<contest 2013>>
« on: November 30, 2013, 09:47:20 pm »
This game is really fun! Consider yourself one of my heroes, Keoni29, I am +1ing you!

559
Axe / Re: Lights Out help?
« on: November 30, 2013, 09:15:22 pm »
OK, an update is coming tomorrow. Xeda Elnara is now working on whatever optimizations I missed, and in the meantime, I'll give you this to mess around with if you want. It's the Axe source.
If you want, I can make gameplay modes to select, like Lit Only, Toggle, or even choosing the x move instead of the + move! But should I include the puzzles from the original? I don't know if I should, there are literally 900.

560
Axe / Re: Lights Out help?
« on: November 30, 2013, 08:16:19 pm »
I did in the source already, just figured out that trick. Also, I made an optimized version, so change the screenie. (Looks cool, though!)

The source is attached.

Oh, and the black squares are lights "on", and the white squares are lights "off". Just looked like you thought the opposite.

EDIT: Uhhhh...SHOULD it be the opposite?

561
Axe / Re: Lights Out help?
« on: November 30, 2013, 05:09:53 pm »
Size. The speed is adequate. And sorry, this is my first ACTUAL endeavour in Axe.

EDIT: Never mind, the Rect and RectI commands are providing many chances for optimizations. I'll get back to you.

EDIT 2: Now the size of the compiled result is 1,767 bytes. Code tomorrow, along with some other stuff for an in-game sidebar.

562
Axe / Re: Lights Out help?
« on: November 30, 2013, 05:01:58 pm »
Fix 5, you are my hero! :D

Well, now to add the fancy stuff.

Also, Can somebody optimize my code?

563
Axe / Re: Lights Out help?
« on: November 30, 2013, 04:49:17 pm »
Sorry, HER. I keep forgetting she is a girl. :-\

Anyways, that's actually EXACTLY what I want. I just want it so that if a button is pressed, it doesn't repeat the action (and if it does, as for the arrow keys with this method, not very fast. :D)

EDIT: Also, does the Text command HAVE to be inside the loop for it to display text in the current situation? Because I just added it outside of the loop in the version still on my calc, and the text keeps getting erased.

564
Axe / Re: Lights Out help?
« on: November 30, 2013, 11:57:45 am »
I'll tweak the code accordingly. Thanks!

I'll get back to you when it's done.

EDIT: The motion code works well, but apparently the debounce code given made the grayscale look weird when I was pressing buttons at all. I'll try to tweak THAT.

EDIT 2: I can't figure out another debounce code! Can anyone give me a debounce routine for use with 4 level grayscale?

EDIT 3: Never mind, Xeda Elnara made one for me. Here it is:
Code: [Select]
getKey -> A
If A=B
0 -> A
Else
A -> B
End

And you use B=code instead of getKey(code).

I'll be sure to credit her. Also, I'm working on the light toggling and wincheck. Soon, I'll post the code!

EDIT 4: The source is attached. I will add a win message, a title screen, and everything else to make this "presentable" later, but I at least want optimization for this part. Can someone optimize this code? I'm using the latest version of Axe Parser.

565
Axe / Re: Lights Out help?
« on: November 30, 2013, 11:45:19 am »
Where exactly would I put that in the code?

566
Axe / Lights Out help?
« on: November 29, 2013, 02:01:21 pm »
I need help with adding a selection box to this code (basically, I want a white box around the square selected). I know what I want, but try as I might, I can't do it! And the fact that the keys are so sensitive (and repeat) don't help, either.

The tries I did for adding it in either have it not move, have it be black and not moving right, or having it (apparently) go out of bounds. I thought I did it right, but it just doesn't work! What can I add to this code to make that? I can probably figure out the ENTER pressing light change afterwards.

Code: [Select]
.LIGHTOUT
ClrDraw rr
DrawInv
DrawInv r
[00C0F0FCFEFEFFFF]→Pic1
[FFFFFFFFFFFFFFFF]→Pic2
[0000000000000000]→Pic3
0→C
Repeat C
For(X,0,5
For(Y,0,5
Pt-Off(9*X+1,9*Y+1,Pic3
Pt-Off(9*X+1,9*Y+1,Pic1)r
If rand^2
Pt-On(9*X+1,9*Y+1,Pic2
C+1→C
End
End
End
End
Repeat getKey(15)
DispGraph rr
End

567
TI Z80 / Re: Mad Libs
« on: November 27, 2013, 01:33:23 pm »
Sorry, I forgot to add it in. But thanks!

568
TI Z80 / Mad Libs
« on: November 27, 2013, 12:48:12 pm »
My Mad Libs game is finally here!

I'll just copy-paste the readme now.

Code: [Select]
< You must be able to display this on one line >
                   _      _         _
/'\_/`\           ( )    ( )     _ ( )
|     |   _ _    _| |    | |    (_)| |_     ___
| (_) | /'_` ) /'_` |    | |  _ | || '_`\ /',__)
| | | |( (_| |( (_| |    | |_( )| || |_) )\__, \
(_) (_)`\__,_)`\__,_)    (____/'(_)(_,__/'(____/

                  by Josiah W

##############
#Requirements#
##############

* 4,152 bytes of RAM for the game AND var usage.

* (recommended, but not required)
No content in Pic1, Pic2, Str0, Str1, Str2 A, B,
N, X, or Y. These variables are overwritten by
MADLIBS.8xp.

##############
#Installation#
##############

* Transfer MADLIBS.8xp to your calculator. Then,
run it as a BASIC program on the homescreen.

#############
#How to Play#
#############

* Mad Libs is a fill-in-the-blank game.
* Press ENTER to get past the title screen.
* The story is "(adjective) WEATHER AHEAD!".
* There are 28 words you must enter (preferably
without a colon). Those will be words you fill
in for the blanks.
* Afterwards, press ENTER to read the story.
Press ENTER to move forward in the story.

###################
#Legal Information#
###################

* This program is freeware, please distribute it
freely. Do not sell this game, or claim it as
your own. Credit me for writing it.

#########
#Credits#
#########

* Nickelodeon Magazine for the Mad Libs story in
use.
* The user mountain100 on TI-BASIC Developer (he
is now Nicoskiy) for providing support along the
way.
* Xeda Elnara (from the same site) for providing
a string-extraction routine in use in the game.
This is it:

:"HELLO WORLD:BONJOUR:VENUSAUR→Str1
:DelVar B1
:While N and Ans
:N-1→N
:B+1→A
:inString(Str1,":",Ans→B
:End
:If not(Ans
:1+length(Str1
:sub(Str1,A,Ans-A

For different values of N, this would output
"HELLO WORLD", "BONJOUR", or "VENUSAUR".
* Whoever created the concept of "Mad Libs".

#################
#Version History#
#################

v1.0: Initial release

The file is here! How would you rate it?

569
This is cooler.

I know it's not March 14, but this is still cool to watch. Doesn't this bring you back?

This TAS actually obsoleted that other Total Control hack. I think it's partly because the setup was shorter, and the result was cooler.

570
TI Z80 / Re: Barebones Mastermind Game
« on: November 25, 2013, 06:44:07 pm »
Thanks for the small bugtest! Download in a few minutes!

EDIT: The file is attached here.

Pages: 1 ... 36 37 [38] 39 40