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

Pages: 1 ... 12 13 [14] 15 16 ... 82
196
Humour and Jokes / Re: 500 Ways to Torture a programmer
« on: December 28, 2010, 07:30:37 pm »
16. Alternate Qwerty and Dvorak keyboards every 10 minutes

that's ruthless...

197
ASM / Re: Assembly/Hexadecimal Questions
« on: December 28, 2010, 01:34:14 pm »
not sure, but it appears that * = one byte value and ** = two byte value.

so ld (12), hl would be 22000C right?
edit: or maybe its 220C00, because z80 is little endian.

it'd be a good idea to compile an axe program with:
Code: [Select]
.TEST
12
and see what comes out with this

198
Computer Projects and Ideas / Re: Juggernaut
« on: December 28, 2010, 12:43:15 pm »
Nice, although for some reasons there seems to be some white stuff surrounding buttons. As for the laser key I am used to have Z for jumping and X for shooting, but otherwise I don't have any other suggestions right now.

yeah, the white stuff is because when i edited them in GIMP the background was white, and the buttons were automatically anti-aliased into the white background. i tried to take most of it off.

199
Computer Projects and Ideas / Re: Juggernaut
« on: December 27, 2010, 10:32:47 pm »
alright, i think this is the final main menu. suggestions?
This is the one submenu:
Play
-Slot 1 (Empty)
-Slot 2 (Lvl 3)
-Slot 3 (Completed)
-Custom

the other three options act as you'd expect.

edit: i just realized these are the exact same options as i had first... the main menu has jumped around from Play, Help, Quit to New, Load, Help, Quit to New, Load, Help, Level Editor, Quit and now back to this.

200
Computer Projects and Ideas / Re: Juggernaut
« on: December 27, 2010, 09:02:28 pm »
Nice nemo. Just make sure the first levels aren't too hard. An example of too hard is the first level in Donut Quest and the Beta of Exodus 0.95, as well as Pyrix 1.0. The difficulty curve should be reachable by everyone IMHO.

i hope it will be.

also, i need some input. what key should be for shooting the laser? ideally, i'd use Spacebar. but for some reason, it causes conflicts with the right arrow key. right now i'm using Z but it's kind of awkward. i'm thinking of using F for people who use the homerow.

201
TI Z80 / Re: Online Z80 Table
« on: December 27, 2010, 12:02:33 pm »
you might want to note the fact that it's row-column not column-row.

202
Computer Projects and Ideas / Re: Juggernaut
« on: December 27, 2010, 11:20:59 am »
How soon will it be playable?

the engine is pretty much finished. i won't be releasing the game until after the deadline though. here's a list of things i need to do:

Menu
-add navigation and sub-menus
-add custom level support
-implement saving/loading levels
-use buttons instead of rectangles (see first post)

Level Editor
-add ctrl+z and ctrl+y shortcuts for undo and redo, respectively
-implement saving/loading of custom levels

Gameplay
-support half-broken blocks
-turn on the ability to die (it's implemented, just turned off for testing purposes right now)
-add in transitions between levels
-fix small physics bug. happens just enough to be noticeable and annoying, but still rare.

203
Computer Projects and Ideas / Re: Juggernaut
« on: December 27, 2010, 11:11:31 am »
This is nice! When is the deadline for the contest?

thanks! the deadline is the 15th of February, so i have a lot of time to work on the navigation system, which i'm a little nervous about because i need to make my classes play nice with each other.

204
Computer Projects and Ideas / Re: Juggernaut
« on: December 26, 2010, 11:32:27 pm »
more progress! level editor is practically complete. the screenshot is the first level of Juggernaut. there will probably be two other "introductory" levels like this before some thinking is required to solve the levels. by the way, the redo/undo/help/save/load/exit buttons were designed by me (: i'm quite proud of them. bilinear gradient + dodge/burn + saturation in GIMP = success. i'm thinking of changing the main menu to them.

205
So how would I use End in my program?
* holmes221b is kinda confused.

If (expression):Then
//code executed if expression is true
//more code being executed.
End
//code executed always
If (expression)
//code executed if expression is true
//code executed always

if you don't understand this, you may want to search TI|BD's starter tutorial

press [Prgm][7] to get the End token.

206
you need End's with those if/then statements.
Code: [Select]
If X=1
Disp "x is 1"
Disp "always displayed"
If X=1:Then
Disp "X=1"
Disp "Displayed when x=1"
End

by the way, 1000 posts

207
The Axe Parser Project / Re: Subroutines
« on: December 26, 2010, 10:32:30 pm »
Oh, okay. So if you wanted to code bullets being shot from a sprite, and there were multiple bullets, how would you keep track of them?

storing the bullets as any number of bytes describing its direction, speed, position etc. and then putting them in a free ram area like L1

208
The Axe Parser Project / Re: Subroutines
« on: December 26, 2010, 10:08:37 pm »
So...I still don't get the difference between using subroutines and labels, and just labels and gotos. Are subroutines carried out simultaneously?

no, nothing is simultaneous. a label just marks a place in a program. you can do GOTO LBL or Sub(LBL). both work. the difference is a GOTO will not return to where it was called. a Subroutine will.

Code: [Select]
Sub(LBL)
Disp "This is printed"
Goto LBL
Disp "this will not be printed"
Lbl LBL
Disp "printed twice"
Return

209
The Axe Parser Project / Re: Subroutines
« on: December 26, 2010, 10:03:27 pm »
a subroutine can be thought of as just a chunk of code which you want to re-use in multiple parts of your program
say you wanted to open an appvar in multiple places in your program. you could use a subroutine, which would take a pointer to the appvar as an argument, and it would return a pointer to the appvar's data.
Code: [Select]
sub(APV,"appvONE")
//more code
sub(APV,"appvTWO")
Return //end the program
Lbl APV //this is the subroutine
GetCalc(r1) // r1 is the graphing variable.
Return //return from the subroutine

210
Math and Science / Re: Omnimath Challenge
« on: December 26, 2010, 09:20:49 pm »
The Java answer was perfect for me, simple and good!

i didn't know how to explain what i did in my code so i just copied it.

Pages: 1 ... 12 13 [14] 15 16 ... 82