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

Pages: 1 ... 22 23 [24] 25 26 ... 113
346
News / Re: An Omni TI book, 7 years in the making
« on: March 19, 2012, 04:08:46 pm »
*.*  I'm not sure what to say...

Spoiler For Spoiler:
You should definitely get this one published; It will outsell KermM's BASIC book. :P

347
:P
Well, it took a lot of persuasion to join Omni
yep, 28 minutes and 5 seconds of it to be exact. :P

348
:P
I actually figured that u were gonna write that since u r like 28 minutes before me
and 5 seconds to be exact. ;)

349
>:D I am 2705

350
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: March 15, 2012, 06:54:37 pm »
Quote
[16:47:26] <+OmnomIRC> (O)<boot2490> leafy... are you always online? are you more than one person?
[16:47:34] <+leafy> yeah i'm like
[16:47:34] <+leafy> a
[16:47:36] <+OmnomIRC> (O)<parser padwan> yes
[16:47:38] <+leafy> group of people
[16:47:44] <+OmnomIRC> (O)<boot2490> seriously?
[16:47:49] <+leafy> yeah
[16:47:52] <+leafy> we all code
[16:47:55] <+leafy> on the same stuff
[16:47:55] <+OmnomIRC> (O)<parser padwan> leafy: the coders of tomarrow
[16:47:56] <+OmnomIRC> (O)<boot2490> sheeyat
[16:48:01] <+Runer112> leafy's just an orgy of coders
[16:48:02] <+OmnomIRC> (O)<boot2490> lol
[16:48:02] <+leafy> mhm
[16:48:04] <+OmnomIRC> (O)<Netham45> Skynet: Leafy edition
[16:48:09] <+leafy> orgy porgy ford and fun
[16:48:23] <+OmnomIRC> (O)<boot2490> wowo
[16:48:23] <+Fishbot_> Netham, you need to approve the hebrew spambot
[16:48:25] <+OmnomIRC> (O)<boot2490> w
[16:48:27] <+OmnomIRC> (O)<parser padwan> you are leafy #4, right?
[16:48:31] <+OmnomIRC> (O)<boot2490> lol
[16:48:37] <+leafy> uhhh
[16:48:38] <+leafy> no
[16:48:39] <+OmnomIRC> (O)<boot2490> parser, too
[16:48:42] <+leafy> that's jason
[16:48:45] <+leafy> i'm number 2
[16:48:46] <+OmnomIRC> (O)<parser padwan> tell leafy #3 to get online more often
[16:48:51] <+OmnomIRC> (O)<boot2490> there are certian people that I never see offline
[16:48:59] <+leafy> aw :(
[16:49:01] <+Fishbot_> I prefer leafy #2
[16:49:04] <+leafy> you don't like me?
[16:49:17] <+OmnomIRC> (O)<parser padwan> not as much as leafy 3
[16:49:22] <+leafy> D:
[16:49:25] * +leafy cries

351
Humour and Jokes / Re: Pi day
« on: March 15, 2012, 04:42:53 pm »
Kind of ironic that Einstein's birthday is on pi day...
* parser padwan runs

352
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: March 14, 2012, 10:14:14 pm »
Hey I remember that!!!
Spoiler For Spoiler:
It was only like 3 minutes ago... :P

353
Axe / Re: Need help with horribly coded platform engine
« on: March 13, 2012, 11:02:09 pm »
First off, a few simple optimizations ;)
Code: [Select]
.TEST
.GFX
ClrDraw
ClrDraw
[FFFFC3DBDBC3FFFF]→Pic0
[FF9999FFFF9999FF]→Pic2
[00FF00FF00FFFF00]
.MOV1
[10107CBCBA282834]→Pic1
.MOV2
[10107CBCBA284466]
.MOV3
[08083E3D5D14142C]→Pic9
.MOV4
[08083E3D5D142266]

.VARS
0→J→Q→D→F→L
20→X→Y

.MAINLOOP
Repeat getKey(15)

.GREY
ClrDraw
Pt-On(16,48,Pic2)
Pt-On(32,48,Pic2)
Pt-On(32,40,Pic2)
DispGraph
ClrDraw

.LVDRAW
Pt-On(16,40,Pic0
Pt-On(32,32,Pic0
For(A,0,88)
Pt-On(A,56,Pic0
A+7->A
End

.ANIM
If F>16
0→F
End
If F>8
If D=1
Pt-On(X,Y,Pic1+8
Else
Pt-On(X,Y,Pic9+8
End
Else
If D=1
Pt-On(X,Y,Pic1
Else
Pt-On(X,Y,Pic9
End
End

.KEY-LEFT
If (getKey(2)) and (pxl-Test(X-1,Y)=0) and (pxl-Test(X-1,Y+7)=0)
X--
0→D
F++
End

.KEY-RIGHT
If (getKey(3)) and (pxl-Test(X+8,Y)=0) and (pxl-Test(X+8,Y+7)=0)
X++
1→D
F++
End

.GRAVITY
If (J=0) and (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0)
Y++
End
If J>0
If (pxl-Test(X,Y-1)=0) and (pxl-Test(X+7,Y-1)=0)
Y--
End
J--
End

.KEY-JUMP
If getKey(54)
If pxl-Test(X,Y+9) or (pxl-Test(X+7,Y+9)=1)
16→J
End
End

DispGraph
End

Pause 1000

Also, with a tilemap, you have a set spot in memory to store it. such as: (assuming we are using 8*8 tiles with no scrolling)
GetCalc("appvTempTilE",96)->W  <---- the tilemap is 96 bytes because the screen can hold 12*8 tiles.

You also want to have all your tilemap pics in one place, so that the tilemap can draw them.
For this, I will use Pic2. (this is assuming a 0 in the tilemap is empty and 1 and so on is various tiles)

[0000000000000000]->Pic2
[sprite_when_tilemap_number_is_1]
[more_hex_for_more_tilemap]
[.........................]

and so on and so forth until you have all the data you need for your tilemap.

Secondly, you want to draw it. If you have a static tilemap, I would suggest drawing it to the back buffer and recalling it every frame.

ClrDrawr
For(A,0,11)
A*8->C
For(B,0,7)
Pt-On(C,B*8,{B*12+A+W}+Pic2)r
End
End

sorry, that was a little badly explained.



EDIT: here's a small example:

Code: [Select]
.TILE
GetCalc("appvTileTemP",96)->W

For(A,0,95)
rand^2+0->{W+A}
End

[0000000000000000]->Pic2
[FFFFFFFFFFFFFFFF]

ClrDraw

For(A,0,12)
A*8->C
For(B,0,7)
Pt-On(C,B*8,{B*12+A+W}+Pic2)
End
End

DispGraph
getKey[sup]r[/sup]

354
Introduce Yourself! / Re: Hi Omnimaga! jhgenius01
« on: March 13, 2012, 10:26:57 pm »
Holy necropost batman.
Not as bad as some from around 2005 x.x

355
Introduce Yourself! / Re: Hi Omnimaga! jhgenius01
« on: March 13, 2012, 10:25:08 pm »
<.<

356
TI-Nspire / Re: OSLauncher 3.1
« on: March 13, 2012, 08:22:24 pm »
[offtopic]
your "O" is a little off, but that looks awesome :D
+1
[/offtopic]

357
TI Z80 / Re: [AXE LIB] YAAM - Yet Another Axe Mapper
« on: March 13, 2012, 07:38:30 pm »
I really like this, it speeds up programs up quite nicely. :D

However, when you have maps in which MX or MY is bigger than something like 110, it starts barfing. :-\

358
Miscellaneous / Re: Rubber Duck Programming
« on: March 13, 2012, 05:12:32 pm »
lol yeah lots of the time I have a question, then type it all up nice and neat, and then I realize the answer XD

359
Also with the projects, does this have to be a NEW project, not one that we have posted/shown screenies of?

360
Axe / Re: Axe Q&A
« on: March 12, 2012, 10:18:57 pm »
Why does sin(1) return 3 and sin(3) return 11?

Pages: 1 ... 22 23 [24] 25 26 ... 113