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 ... 10 11 [12] 13 14 ... 82
166
Math and Science / Re: Formula for getting prime number?
« on: January 07, 2011, 04:32:22 pm »
I know that :P
But I need to write a formula so Java can know if the number is prime or not
EDIT: never mind. I got it

Code: [Select]
boolean isPrime=true;
for(int k = 2 ; k < number ; k++)
{
if ( number/k == 0)
isPrime=false;
}

try number = 2.
edit: nevermind

167
Math and Science / Re: Formula for getting prime number?
« on: January 07, 2011, 04:30:50 pm »
I know that :P
But I need to write a formula so Java can know if the number is prime or not

ok... well knowing that the only factors of a prime number are itself and 1, theoretically, couldn't you test the range 2 through n-1 and see if the any of them are factors? of course this wouldn't work for two, but then just put if(n == 2) isPrime = true;

168
Math and Science / Re: Formula for getting prime number?
« on: January 07, 2011, 04:27:35 pm »
a prime number is defined as number whose only factors are 1 and itself. is that enough to start you off?

169
Official Contest / Re: Cage Match #4: Puzzle with a Plot
« on: January 07, 2011, 04:11:30 pm »
i just managed to get slide to work (worked in doors but not as no-stub).

i liked it, but it was very similar psyche, but less challenging, though i did enjoy the scrolling. i give psyche my vote due to the lack of storyline on slide, but i think with a few improvements slide could be better than psyche with more time invested into it.

170
Official Contest / Re: Cage Match #4: Puzzle with a Plot
« on: January 06, 2011, 10:59:18 pm »
i'm already addicted to the psyche.. this game is great. i can't figure out what to do with HBJR's, and slide wouldn't work on wabbit (it's an outdated version btw, since recent versions don't support XP drag and drop of programs).

171
TI Z80 / Re: 'DE
« on: January 06, 2011, 10:42:34 pm »
sorry to bring this back from the grave but, any progress on this?

172
Computer Projects and Ideas / Re: Trio and Niko: Falling
« on: January 06, 2011, 08:04:15 pm »
thanks eeems ;)  Sorry for adverting moar than once :(

Now guys, seeing the two gifs, qwerty's demonstrating speed and eeems' demonstrating the sword engine (so far) what do you think should be improved early on?  What should be added next?  (besides the obvious tilemapping and enemies :P)

making the sword swing go around 360 degrees no matter which side you face. because everytime you swing the sword you end up facing north.

173
Computer Projects and Ideas / Re: Juggernaut
« on: January 06, 2011, 07:31:59 pm »
update: loading, deleting, and saving levels is perfected. now i just need to make levels, figure a way to incorporate the storyline, save to the save file, and run custom levels along with transitioning between levels. whew. ok, here's the most evil line (666):
Code: [Select]
panel.setCharacterImage(charAnimationLeft[2]);
which.. means the character is jumping left.

and here is a screenshot

174
Computer Projects and Ideas / Re: Juggernaut
« on: January 02, 2011, 07:40:10 pm »
major progress today, i managed to get the program to work in a self contained jar file, and figured out how saving/loading is going to work, and set up the structure to make it very easy to implement. also i've begun making levels, and i figure if i make one per day i should have plenty to choose from by the time the contest finishes.

175
Axe / Re: Axe drawing questions
« on: January 01, 2011, 08:29:20 pm »
Hello!

Some questions regarding Axe:
1) Can anyone explain to me how tunnel side drawing/generation works? And if possible, could I get an example to play with?
2) How big can sprites be?
3) Where/how are sprites drawn? Like text?
4) For "special" big font, are they just sprites?
5) Is there a good sprite drawing tool I could use? (Both calculator and PC)

1) do you mean like a tunnel game?
2) 8x8 is the biggest the Pt-Change/On/Off routines will draw. Bitmap( will draw as large as you want, but it is a slow TIOS routine. you can join together multiple 8x8 routines to draw bigger sprites.
3)they're drawn onto the buffer, and then DispGraph copies the buffer to the screen.
4) see the Fix command in the commands list to change the font size.
5)Runer112 made a good one awhile back, i forget where it is. somewhere in the forum. PC there are no specific ones i can think of.

176
Miscellaneous / Re: Programmers Heirarchy
« on: January 01, 2011, 05:01:36 pm »
No Python? :( Looks like a great table, though. I love the Ruby part :D

right below perl

177
The Axe Parser Project / Re: Features Wishlist
« on: December 31, 2010, 05:28:04 pm »
Speaking of optimizing control structures, any chance for Do...While loops?

isn't a Do While loop equivalent to a Repeat loop? except that repeat is until the condition is true rather than while it's true..

178
Minecraft Discussion / Re: Minecraft
« on: December 31, 2010, 05:19:14 pm »
Although this is not legit (Geekboy gave me 64 diamond picaxe and Juju2143 disabled health) this was still one heck of a huge fall O.O

whoa, that's pretty cool. how did you make that gif?

179
Computer Projects and Ideas / Re: JavaTyper - a text editor in Java
« on: December 31, 2010, 01:54:51 pm »
i think you can change the cursor (i.e. go from the standard cursor to the hourglass waiting cursor, etc), but i don't think you can actually change the cursor's attributes like color.

180
Computer Projects and Ideas / Re: Juggernaut
« on: December 31, 2010, 01:50:07 pm »
Wow that's pretty colored! O.O

Nice, though. I am really curious how hard this will be to solve. :O


it turns out the screenshot is impossible. i did make a version that's possible, but it's really frustrating so i think i'll have a couple levels already "custom" just meant to be really difficult and challenging, but not part of the game.
hmm...  looks good!
although, do you want me to edit the crumbled blocks so the bottom and top fit together so the crack looks continuous?

thanks! and no, the crumbled blocks are ok. thanks for offering though
You can fix the aliasing if you use the magic pen tool and fiddle with the feather and threshold :)

is this with photoshop? i use gimp


Pages: 1 ... 10 11 [12] 13 14 ... 82