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

Pages: 1 [2] 3 4 ... 62
16
TI Z80 / Re: Yahtzee, Axe edition RC 1
« on: February 08, 2016, 08:29:36 pm »
Fixes for everything except the [2nd] + [ON] leak. GUI improvement. I'm waiting for Runer, so I can ask him about some of the other Axe keyscanning options.

17
TI Z80 / Re: Yahtzee, Axe edition RC 1
« on: February 08, 2016, 01:51:30 pm »
By key list do you mean like in the help menu? I think you could leave it as it is ([mode] brings up the help screen) or perhaps add an entry to the main menu or a [mode]=? button on screen. Personally i'd prefer to see all my combos.

Ok, I can do that.

And your loop should more or less get turned into that asm code, i'm not familiar with Axe but in your program try pressing [2nd]+[On]. You'll exit your program and the RAM your program occupied won't be freed (a massive RAM leak).

Ah, I was not aware of that happening. Looking in the Axe documentation, I think there is a version of getKey that uses the OS's version (scancode?). I did notice that, in the game, [2nd] and [Alpha] are still active as they normally are (something that's been bugging me, since I like using [2nd] as a primary key). I'll fix that and report back.

The way it works is, if you score more than one Yahtzee, you score again against an additional combo before rolling again.
You mean the second time around you get the fifty points and then pick another combo? The problem currently is you can just continually choose Yahtzee and get an infinite amount of points, at least until the counter overflows. I think i always just played after the first Yahtzee any others will give you 100 points, but with your way at least prevent the player from chosing another Yahtzee ;)

Well there are different ways of handling the scoring. In some programs I've seen you can score Yahtzee again, and then another combo. In others, you can score another combo and get a 50 point bonus. Both ways accomplish the same result, but I believe the latter might actually be better, require less coding, and be less bug-prone. I'll work on this and post back.

Btw, i forgot how much i love playing this game :D Please post when you get the new GUI ready!

I love it too. I actually had a handheld Yahtzee thing, but it broke, so that's why I made this haha. And will do, ofc. Thanks for the comprehensive bug reports :p

18
TI Z80 / Re: Yahtzee, Axe edition RC 1
« on: February 08, 2016, 10:11:48 am »
I would just use a loop with _GetCSC, in asm:
waitKey:
bcall(_GetCSC)
or a
jr z,waitKey

I tested the game again and it seems to work pretty well, it'd be nice to be able to see all the sets at once. Also, when you pick your points after rolling, the dice aren't rolled again, you can choose to hold dice from the previous roll. I'm not sure what exactly happened, but i held dice until i eventually got a Yahtzee, and the second time i choose Yahtzee it wouldn't let me roll anymore, all i could do was press enter to get more points (see screenshot). I just tried it again and the same thing happened. Getting two Yahtzees (or maybe getting a Yahtzee after holding all five cards?) prevents you from being able to roll the dice anymore.

the game is Axe, not asm, so I can't choose. I used getKey^r because it waits for a key, so I save a loop.

The way it works is, if you score more than one Yahtzee, you score again against an additional combo before rolling again.

Lastly, I found the thing with Holding before the first roll myself on a playthrough and fixed it. That was indeed a bug, or moreover an oversight on my part. Thanks. I have improved the UI, but before spending time on it, I wanted to ensure the fundamentals work.

As for seeing all the sets on screen, in the new GUI i might have room for it, but I did want to put some of the key bindings right on the main screen. So I'll ask this here, how many people would vastly prefer all combo's shown on screen? Or would a key list be preferred?

19
TI Z80 / Re: Yahtzee, Axe edition RC 1
« on: February 06, 2016, 09:54:09 pm »
Why are you using GetKey? Also, i'd either disable interrupts or turn off the run indicator (_RunIndicOff or resetting the bit in indicFlags).

What are the keys? I get to the screen where you have the five boxes, but there are no die or anything. I can select the boxes using the f1-f5 keys, but nothing else. The game screen looks a bit plain, but it's a nice start :) I played Yahtzee a ton in school, i believe this was the game i used to play, perhaps you could use it for some inspiration:
http://www.ticalc.org/archives/files/fileinfo/191/19190.html

The keys are as follows:

[Math] - roll
Left/Right - cycle combos
Enter - score combo
Mode - show help
Clear - quit

And what would you recommend I use other than getKey? I used that bc it waits for a key, which saves me a loop.

ps: I do agree the score/combo section of the interface could be a bit...nicer.

20
TI Z80 / Re: Yahtzee, Axe edition RC 1
« on: February 05, 2016, 05:59:27 pm »
Here is RC 1 of the Yahtzee Axe game. Please test and report any bugs/GUI glitches found here

21
TI Z80 / Re: Yahtzee, Axe edition bugs
« on: February 04, 2016, 12:29:49 pm »
I wish I could test this, but I only have a CE now. Could it and Project Slender be ported?

Slender is on hold, since right now I only have time for small projects. I'll be continuing it hopefully in about a month-ish. For those reason, I've opened Slender access to the community. The info to access the repo is below:

Code: [Select]
Server Name: acagliano.no-ip.biz
User: git
Password: tiCalcDevs
Path to game source: /home/git/repos/slender1.git
Supported commands: Anything related to git, and scp.

And sure it can be ported, I just don't know the language, nor do I have the CE so I'd need to have someone who does fork it.

* In related news (slender fan film) *
Spoiler For Spoiler:
there is a Slender fan film in production, headed by me and a few friends who either like making movies or like horror. I created a funding campaign at http://gofundme.com/slender-origins if anyone is interested in donating. Also, anyone who wants to help in other ways like ideas/set ideas or even joining (NY area) can PM me.

Here I have enclosed the source file and executable file for the Yahtzee game. Current untraceable bugs:

1. Saferam L1 not clearing after a Fill(), a looped zero, and other means of zero-ing the data

I stepped through both instances of Fill(L1,...) in a debugger, and both are behaving correctly. If there's any unexpected data there after this, you must be putting it there. :P

That was my fear, which will make this way harder. Only thing I can think of is the CONTINUE label somehow being executed. I'll look when I get home from work later, but if in the meantime, you or anyone sees anything that could cause that, do poke me :)

22
TI Z80 / Yahtzee, Axe edition RC 1
« on: February 03, 2016, 09:54:03 pm »
Here I have enclosed the source file and executable file for the Yahtzee game. Current untraceable bugs:

1. Saferam L1 not clearing after a Fill(), a looped zero, and other means of zero-ing the data
2. I believe small straight and full house still glitch, and i need to be able to reset the game to test those again, so see 1. haha

23
Art / Sprite Request: Slender
« on: November 11, 2015, 11:45:36 am »
As programming for TI-Slender nears the last few things to be done, I still find myself short sprites and a map. I already have a Slenderman sprite and a page sprite. What i do need is:

1. A tree
2. A creepy tree
3. A car
4. A truck
5. A shack-like building

Sizes are up to the maker's discretion, but keep in mind they need to be in memory as the largest possible instance (viewed from very close up). They may be drawn normally, I will create the masks for the darkness myself. Anyone willing to assist can comment this thread and even upload to this thread, or email me at [email protected] Please include information for credit to be given to you.

Also, any good map makers in the house?

24
Other Programming Languages / Weird Select Tag Behavior
« on: October 29, 2015, 06:13:38 pm »
http://clrhome.org/bugs

Issue: Click on "Post a Bug". In the widget that pops up, the drop down menu is properly formed but I also get the selected option echoed back out in front of the object. Why? Code for the entire page is here: http://pastebin.com/6edLrcfE

Could this have to do with using the jQuery .show() method on the form makes interior hidden elements visible as well?

25
TI Z80 / Re: Polynomials All In One Math Tool Upgraded
« on: July 11, 2015, 08:33:15 pm »
New update/bug fix. Division algorithm improved and streamlined and debugged. No longer says divide by zero for everything.

26
TI Z80 / Re: Polynomials All In One Math Tool Upgraded
« on: June 10, 2015, 09:53:35 am »
Here's the final official release:

Polynomials All In One v2.1

Input by two-part string, operators first, then operand.
Use characters D, I, and Z for derivative, integral, and zeroes, respectively.
Use the character W at the very beginning of the string to activate "show work".
Please review the documentation included.

Screenshots

27
TI Z80 / Re: Polynomials All In One Math Tool Upgraded!
« on: June 06, 2015, 11:35:27 am »
•   2.0 RC1 – Division bug resolved. Error catching for divide by zero added. Trailing parenthesis removed where possible. Zeroes algorithm improved. Older version used the solve() built in command. This version uses a modified rational zeroes test ( x = p/q )


28
TI Z80 / Re: Polynomials All In One Math Tool Upgraded!
« on: June 05, 2015, 09:11:32 pm »
Update:

New version provides bug fixes in the derivative, integral, zeroes algorithms. It also improves on memory cleaning after some of the routines use significant memory.

29
TI Z80 / Re: Polynomials All In One Math Tool Upgraded!
« on: June 05, 2015, 07:09:40 pm »
This sounds pretty awesome! Any reason you used the curly brackets instead of the normal paranthesis?

That has since been amended.

30
TI Z80 / Polynomials All In One Math Tool Upgraded
« on: June 05, 2015, 06:46:07 pm »
A while back I wanted to upgrade my Polynomials All-In-One program which added, subtracted, multiplied, and divided polynomials. It also could do derivative, integral, and zeroes. I hoped to allow it to auto-order of operations parse. I still could not implement an efficient order of operations parser, so I settled for the next best.

You type a list of operators, followed by a colon, followed by a bracket-enclosed list of polynomials (I could change the brackets to parenthases if people prefer it). For example, to do:
Code: [Select]
(3x^2 - 7x +2) - (4x - 4) * (x^2 + 4x - 1)you would type at the prompt:
Code: [Select]
-*:{3x^2-7x+2}{4x-4}{x^2+4x-1}
Additionally, the letters D, I, and Z (and their lowercase counterparts) will add derivative, integral, and zeroes to the computation queue. Zeroes simply displays the zeroes, but doesn't affect the prior value, allowing the queue to resume after doing zeroes as normal.

Here's two screenshots of the program doing a few simple operations. Anyone who wants to beta test it can download it here.


+++++++++++++++++++++


BUGS I KNOW OF: Dividing with a 1-term denominator gives a Domain error on the deltaList line; Doing a derivative or integral as the first and only argument gives a domain error due to the string->list conversion (now resolved but not in the beta uploaded)

Also, the program currently discards any remainders from division. If someone can advise me on how to use it, I'll try to.

Pages: 1 [2] 3 4 ... 62