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

Pages: 1 ... 135 136 [137] 138 139
2041
TI Z80 / Re: Metroid-like game
« on: September 14, 2010, 10:33:07 pm »
Quote
here are some basic ideas about axe:

data is generally defined as hex in [] brackets. [112233010203] defines 6 bytes of data in hexadecimal with the decimal equivalents 17,34,51,1,2,3. data can be defined with the command Data(). Data(17,34,51,1,2,3) is equivalent to [112233010203]. note that you cannot define a number greater than 255 with this method. though, Data(256r) would work, but it would also take up 2 bytes in memory.

pointers are central to axe. for example, [112233010203]->GDB1. GDB1 is a pointer to the start of the 6 bytes of data. you can access a certain byte of data at a pointer by using {} braces. so {GDB1} = 17. {GDB1+1} = 34, and so on. variables A-Z + theta are pointers. they are 2 bytes, therefore hold values 0-65535. if you subtract 1 from 0, you get 65535. if you add 3 to 65534, you get 1. rarely if ever do you use curly braces {} with just A-Z or theta inside.

Thank you for the example. It helped.

Quote
The largest semantic obstacle when learning axe is Pointers.  If you've never programed in a language that uses pointers before, you might have a hard time getting used to it.  The Wikipedia article about them is good, but its pretty technical and most of the examples are with C syntax.  The second important thing to be aware of is the difference between signed and unsigned numbers,  operations, and what you can actually store in the built in variables which are 16-bit integers instead of floats.  Once you get past those 2 things, you'll start having a lot of fun because you get a lot of power, some times too much when it causes ram clears or freezes, so be sure to use it responsibly and archive/backup anything important.

Thanks for the link. So pointers are something that start at the beginning of data in memory.I know about signed/unsigned and operations.

Quote
To add to Quigibo comment on making your project in parts, if possible, I recommend still splitting your games in multiple files (and backing up regularly even on a computer or flash drive) even once you are very used to Axe. This makes it easier to scroll through code and data.

I did that with a text based RPG I was making a while ago. Had one for the story, battles, store/inventory, and beastary.

Quote
This sounds interesting!  What are you planning in terms of enemies and items and weapons and features?  And as the others have said, Axe has similar syntax but some of the concepts are definetaly new.  If you have never coded a platformer before i definetaly recommend playing around in whatever language you plan to use and figure out how you are going to get your physics to work.

I don't lnow yet for enemy types. I guess Ill make that up as I go along. I definately wamt some kind of uber weapon as an easter egg. And I plan on having other easter eggs/unlockables.

Quote
This sounds like a cool project.  Good luck on it, as well as learning Axe.  If you want, feel free to look through the source to Axe Snake and Spider (click the ticalc banner in my sig to find them).  I hope you learn Axe and make this game, and many more. Smiley

Thank you Ill definitely look into them.

2042
TI Z80 / Re: Metroid-like game
« on: September 12, 2010, 10:51:15 pm »
bytes bits nibbles yes I do know, I also know about bit operations.

2043
TI Z80 / Re: Metroid-like game
« on: September 12, 2010, 10:46:46 pm »
Hex I might be able to handle. binary... **shudders**.

2044
TI Z80 / Re: Metroid-like game
« on: September 12, 2010, 10:44:13 pm »
Cool thanks. Does axe run on the 84 emu? And do you write it on the calc or on the computer and send it to the calc?

2045
TI Z80 / Re: Metroid-like game
« on: September 12, 2010, 10:37:44 pm »
I've made two RPG's, one was text based and another was a full one with multiple levels, leveling up, and random monster encounters. I've modifies a pong game to include another ball, and a peg randomly placed so it can move the ball if things get repetitive.

Thanks for the fore-warnings. Is there any source code I can look through?

2046
TI Z80 / Re: Metroid-like game
« on: September 12, 2010, 10:27:54 pm »
I've programmed with TI basic for several years now. I heard that axe has TI basic like syntax. I think Ill be ok.

2047
Site Feedback and Questions / Re: An idea
« on: September 12, 2010, 10:26:33 pm »
Quote
If we didn't have that, imagine the whole mess that would have happened on that 462 post day in the OS 2.1 thread x.x


I was referring to this post. Sorry if I confused you. I went a bit off topic there. :/

2048
Site Feedback and Questions / Re: An idea
« on: September 12, 2010, 10:18:36 pm »
462 posts? O.o Dang that OS must be seriously unpopular by now. I wonder what TI will do about this.

2049
Other Calculators / Re: Block Dude
« on: September 12, 2010, 10:14:07 pm »
Cool. I love block dude. I even went as far as to beat the entire thing twice. (first took a week or two the second. In a day!)

2050
TI Z80 / Metroid-like game
« on: September 12, 2010, 10:05:07 pm »
I am going to create a metroid like platforming game for the 83+/84. I was going to write it in Ti basic using pixel graphics but now Im thinking of switching to axe parser.

2051
General Calculator Help / Re: ndless help
« on: September 12, 2010, 09:59:27 pm »
Ahh ok that's what I thought. Im trying that now.

2052
Art / Re: Which Looks More Water Like?
« on: September 12, 2010, 09:41:33 pm »
Um. No I just looked back at earlier posts and saw it. It's on the previous page.

Forgive me if I make any spelling errors. Im using a crappy laptop keyboard,

2053
General Calculator Help / Re: Nspire OS v. 1.7
« on: September 12, 2010, 09:35:38 pm »
I think all OS's support that. I was using 1.7

2054
General Calculator Help / Re: ndless help
« on: September 12, 2010, 09:34:04 pm »
No upgrade. I'm installing 1.4. I ran it this time and it worked until it said something about not finding files. Do I have to put those tns files on the calc first. (eg hooks.tns)

2055
Art / Re: Which Looks More Water Like?
« on: September 12, 2010, 03:45:04 pm »
I liked the tird one. It would be good for ocean water. The first one though would be good for like a lake.

Pages: 1 ... 135 136 [137] 138 139