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.


Topics - Elsewhere

Pages: [1]
1
TI Z80 / Polarizer
« on: February 13, 2011, 12:19:23 pm »
Yay, finished my first Axe game!

I didn't know if it warranted a new thread or not but I erred on the side of caution and put it here.

So, anyway, Polarizer! Basically, you try to fill all the squares in, but filling in a square makes it so you can't fill in adjacent squares until you fill in another. Use the arrows to select, 2nd to confirm, and Clear to exit level/menu/game. Beating all the levels might get you something nice! Warning: This game has to be run by either DCS, MOS, or some similar shell to work. The two versions are also slightly different due to TI weirdness. Nothing big, though.

Currently I need help coming up with harder levels because a lot of them are just huge pushovers. Anyone who thinks they came up with a tough one, feel free to share it and I could overwrite one of the filler levels.

So... tell me what you think!

EDIT: Newest version is here

2
Axe / A Question Of Data(
« on: February 10, 2011, 06:18:26 pm »
So, first off, I'd like to say hello all, as this is my first post here.

Anyway, getting to the matter at hand, and I don't know if this is the right place, I have a question about how I should properly use the Data( command.

I have a variable in my program, let's call it A, and I do
Code: [Select]
:Data(1,0,1,0,0,0,0,0,0,1,0,1)->Ato write to it. I then read from it like so:
Code: [Select]
:If {B+A}=0
:(stuff)
:Else
:(other stuff)
:End
where B is added to get me the value stored in the Bth position after A.

This all works very well, just as I'd expect it to, but the problem arises when I try to assign different values to A using Data(. Throughout the course of a level in the game, all the values in A are set to 1. The problem I'm experiencing currently is that using Data( again to just rewrite to A doesn't work and re-entering the level after completion (without actually ending and re-executing the game, mind you) has all those values still set to 1. I've tried DelVar, storing 0 to the first place then Fill( -ing, using the same method I used to write to it (0->{B+A}) and just more Data(, but it seems I don't have an appropriate grasp on what I'm doing because all the values in A remain at 1 after being set once. I can't tell if I'm performing these actions wrong or it doesn't work, so I'm wondering if any of you gurus out there know how to rewrite a list of data to a variable. And also, is Data( even supposed to be used on variables, or am I writing onto the first byte which is the variable and then into the positions onward, which are not meant for the variable?

The source is really big, messy, and hard to sift through so I won't include it unless someone thinks it'll help. :-X

Pages: [1]