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 - squidgetx
Pages: 1 ... 8 9 [10] 11 12 ... 123
136
« on: November 09, 2012, 11:23:55 pm »
Yup, it's beautiful. My, you're perceptive leafy. Yes, I will have a problem with entities on the edge of maps. It's actually pretty easy to add a bit of code to the map load routine to parse in all entities on the surrounding maps as well, but for now I'm just going to not put entities on edges of maps . If it become a problem while map designing, I'll do something about it then.
137
« on: November 09, 2012, 11:09:59 pm »
It's the same fade I use in a lot of games, haha. For some reason (maybe it's the screen driver or something) it just looks really clean and awesome. The code is literally Fill(L6,768,$FF) DispGraph Pause 400
138
« on: November 09, 2012, 10:40:03 pm »
Warp tiles & NPCs as part of the map are now implemented (in addition to full parsing of all map metadata, etc.) Things left to do: -In-game menu -NPC talking system (probably going to borrow a lot of code from Embers) -battle engine (woooo) -begin thinking about plot details and begin map making~ Current size (executable): 5kb
139
« on: November 09, 2012, 10:17:21 pm »
Nice work penguin.
I don't have much else to say. Although the explanation of how you tracked it down is pretty cool and useful as well. Good job.
140
« on: November 09, 2012, 10:04:42 pm »
You can't do it in one command, nor should you want to. Grayscale sprites come in two layers, so (well, I guess you waste a few cycles reloading the x and y arguments) you'd most commonly have code that looks like pt-on(x,y,pic1) : pt-on(x,y,pic1+8)r Pt-Change is the invert, and it uses xor logic. So anything black on the sprite will be black if the pixel that's being drawn on is white, (1 xor 0 = 1), and white (invert) if the pixel it's being drawn on is black (1 xor 1 = 0). White pixels in the sprite will be transparent (n xor 0 = n)
141
« on: November 09, 2012, 09:53:58 pm »
Pt-On uses 'or' logic, so any black pixels in your sprite will be drawn black (n or 1 = 1), and anything white in the sprite will be transparent (n or 0 = n) Pt-Off overwrites completely, so black will be black and white will be solid white.
To make them draw to the backbuffer, just add the ^r (radians symbol) at the end
142
« on: November 07, 2012, 11:36:23 pm »
I see that now... *facepalm* I need to pay more attention
No worries. And nice to see the screen not disappearing while you're picking a piece. Do you have any other plans besides adding in AI?
143
« on: November 07, 2012, 11:09:13 pm »
Thanks will I've finished up the npc display routine, now moving on to making sure you can't walk through them either. Will post an official update when finished
144
« on: November 07, 2012, 08:20:29 pm »
Oh nice Note that the bitmap Y offset might be kinda weird (at least in my experience it's about 3 px off ) Edit: Never mind, that *shouldn't* be a problem
145
« on: November 07, 2012, 05:08:27 pm »
I'm not very good with math
Lol.
146
« on: November 07, 2012, 05:04:35 pm »
Woah, necro! (sort of)
Welcome to the forums, tincopper2.
I'm not ztrumpet, but I can tell you that if you want to use 16x16 sprites in pure Axe, you'll have to use 4 8x8 sprites...that's the only way to do it without an Axiom or assembly coding. (or, as dj mentioned, you can use the bitmap command but that sucks if you want to get any kind of reasonable speed)
There are probably quite a few 16x16 sprite routines floating around in assembly, you could probably find one relatively easily (although if you want clipping that's a different story...)
147
« on: November 07, 2012, 03:48:48 pm »
Not the marijuana legalization, but pretty much... I think that what you do is your business... I may not agree with what you do, but I won't stop you from things that are not seen as ethically wrong.
What's your definition of ethically wrong? And what do you think about politicians whose source of ethics come from religious ideas and push for things like pro-life and illegalization of samesex marriage because of religious doctrine? Sorry if I seem like I'm giving you the third degree here and also hijacking the thread, but I've never met an atheistic conservative lol (I live in a pretty blue state) Also, those peanuts are raw I think...so you can boil them OR roast them! Win-win
148
« on: November 07, 2012, 03:40:52 pm »
That's an interesting combination. So as an atheist, are you socially conservative as well, or more like a libertarian (fiscally/governmentally conservative, but pro gay rights/choice/marijuana legalization)?
149
« on: November 07, 2012, 03:35:11 pm »
So, what are your political and religious views? Just curious, I won't argue with you (and I hope no one else will), but if you feel comfortable I'm kinda interested in what your views are now that you've said not to debate with you on it hehe. Anyway, welcome to Omnimaga, and good luck with Stanford/MIT
150
« on: November 07, 2012, 03:26:43 pm »
I'm only kinda new to java but this is how I would begin thinking about it. Pipe in the file .html, parse as text, move through it until you reach <table>, begin parse table code which just looks through and ignores everything in <> unless it's tr, then look for stuff in td and output it on a line (when you reach </td>, output a comma), once you reach </tr> make a newline, and loop until you reach </table> I guess the annoying part would be trying to make a good tag recognition algorithm, but you could if you were feeling lazy/inelegant just scan one character at a time and then just use a lot of if statements once you find a "<" character. This is when I think a lower-level language would be more appropriate than java, mainly because looking for certain character patterns would be super easy in something like Axe or C (i think, anyway), where in Java I have no idea what the proper library/api is or how to use it for that purpose
Pages: 1 ... 8 9 [10] 11 12 ... 123
|