1306
Axe / Re: help with bullets!
« on: November 30, 2011, 08:42:04 pm »
True, and mine has unlimited bullets also, I fixed that, and I don't need collision yet But I o appreciate the help!
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. 1306
Axe / Re: help with bullets!« on: November 30, 2011, 08:42:04 pm »
True, and mine has unlimited bullets also, I fixed that, and I don't need collision yet But I o appreciate the help!
1307
Axe / Re: help with bullets!« on: November 30, 2011, 08:25:22 pm »
Yeah, and I know how to optimize that to like just A, but I'll do that later
1308
General Calculator Help / Re: Need help getting games!« on: November 30, 2011, 08:05:32 pm »
By the way! Welcome to Omnimaga! And happy programming/gaming
1309
Axe / Re: help with bullets!« on: November 30, 2011, 07:26:32 pm »
Thanks Epic, that helps
edit: Wait, can you help me with this? The way I did mario shotgun had the bullets like the code below, but If you've played it you'd realize that when you shoot, then shoot again the bullet jumps back to the gun. I want to make it so when you shoot twice, it shoots 2 bullets seperate. Is there a way to modify THIS code to do that? :.SEEKER :DiagnosticOff :[1824183CDB182466]→Pic1M :[0000000303000000]→Pic1BR :[000000C0C0000000]→Pic1BL :2→X:50→Y:0→J :ClrDraw :Line(0,63,95,63) :Line(0,0,95,0) :Line(0,0,0,63) :Line(95,0,95,63) :Line(0,50,30,50) :Lbl 1 :Repeat getKey(15) :If getKey(54) :X→A:Y→B:1→S :End :If (S=1) :A-2→A :End :If (S=1) :Pt-Change(A,B,Pic1BL) :End :If getKey(55) :X→D:Y→E:1→T :End :If (T=1) : D+2→D :End :If (T=1) :Pt-Change(D,E,Pic1BR) :End :If getKey(2) and (X≠1) :X-- :End :If getKey(3) and (X+8≠95) :X++ :End :If getKey(4) and (pxl-Test(X,Y+8) :15→J :End :If (J>0) :Y-- :J-- :End :If (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0) and (J=0) or (pxl-Test(X+3,Y)=1) :0→J :Y++ :End :Pause 25 :Pt-Change(X,Y,Pic1M) :DispGraph :Pt-Change(X,Y,Pic1M) :If (S=1) :Pt-Change(A,B,Pic1BL) :End :If (T=1) :Pt-Change(D,E,Pic1BR) :End :If (A≥95) :0→S :End :If (D≥95) :0→T :End :End Edit2: Nevermind I fixed it, And for the record my code is a lot shorter then yours I think, considering mine includes character movement and jumping lol, but thanks again 1310
Axe / help with bullets!« on: November 30, 2011, 06:12:57 pm »
So I'm working on a game, and I want to have bullets. I used bullets in Mario shotgun, but I want to do a better job of it this time, but I don't really know how. Any way I posted my source code below and I'd really appreciate any help with showing me where to put in a 'bullet' code, and what it should look like I already have the sprites for the bullets (picBL->bullet to the left) (picBR->to the right)
:.SEEKER :DiagnosticOff :[1824183CDB182466]→Pic1M :[0000000707000000]→Pic1BR :[000000C0C0000000]→Pic1BL :2→X→A:50→Y→B:0→J :ClrDraw :Line(0,63,95,63) :Line(0,0,95,0) :Line(0,0,0,63) :Line(95,0,95,63) :Lbl 1 :Repeat getKey(15) :¦ If getKey(2) and (X≠1) :¦ X-1→X :End :If getKey(3) and (X+8≠95) :X+1→X :End :If getKey(4) and (pxl-Test(X,Y+8) :15→J :End :If (J>0) :Y-1→Y :J-1→J :End :If (pxl-Test(X,Y+8)=0) and (pxl-Test(X+7,Y+8)=0) and (J=0) :Y+1→Y :End :Pause 25 :Pt-Change(X,Y,Pic1M) :DispGraph :Pt-Change(X,Y,Pic1M) :End 1311
Humour and Jokes / Re: Win« on: November 28, 2011, 08:29:54 pm »
careful...He might come back for the rest of you!
1312
Humour and Jokes / Re: Win« on: November 28, 2011, 08:24:29 pm »
Chuck Norris took it right after roundhouse kicking Casey Anthony
1313
Humour and Jokes / Re: Win« on: November 28, 2011, 08:11:20 pm »
So I saw this, and thought, 'What if I started typing stuff into google?'
Here's what I got 1314
TI Z80 / Re: Robo-Gun: My first big axe game« on: November 28, 2011, 06:41:53 pm »
I don't think they would approve of it if it didn't work
1316
Axe / Re: ANother noob qusestion« on: November 28, 2011, 06:22:43 pm »
so could I store a main loop as an appvar? for example, could I have my program set up as this:
in the program it has the menu info, then if you press level 1 it opens appvLEVEL1 which has all of the loop and stuff for that level, ? This is, to store level 1 as an appvar instead of another program. 1317
Axe / Re: ANother noob qusestion« on: November 28, 2011, 06:17:53 pm »
so is L6 a list? How does that part work, How do I put stuff as the list?
1318
Axe / Re: ANother noob qusestion« on: November 28, 2011, 06:11:34 pm »
Wait, how do you make appvars?
1319
TI Z80 / Re: Robo-Gun: My first big axe game« on: November 28, 2011, 06:09:08 pm »
I'd download it, but Ti connect is being stupid!
1320
Other Calculators / Re: The best calculator Game you played« on: November 28, 2011, 05:15:04 pm »Illusiat 13, Donut Quest II, and Portal are at the top of my list. where did you find portal for the calc? I WANT! LINK?? |
|