Don't have an account? Register now to chat, post, use our tools, and much more.
Online Users
There are 107 users online: 3 members, 77 guests and 27 bots.
Members: Pizzaboy.
Bots: Spinn3r (1), MSN/Bing (1), Magpie Crawler (3), VoilaBot (1), Googlebot (19), MSN/Bing (2).
SAX
 » Goto page Previous  1, 2, 3, 4  Next

Should I have properties pop up? So the board would disappear, and the property displays
Yes  80%  [ 4 ]
No  0%  [ 0 ]
Other. Explain in the thread  20%  [ 1 ]

Author Message
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 12 Dec 2011 04:35:45 pm    Post subject: I am trying to do that, I just need the If and Ans memnonics to help with that first. Catherine said she would post here when she learned something. I tried looking them up, but I must be using google wrong, because I found nothing._________________

... I think redheaded girls are kind of cool

Joined: 01 Dec 2010
Posts: 2418
Location: Stomp Stomp Stomp, The Idiot Convention

 Posted: 12 Dec 2011 04:46:37 pm    Post subject: OP, meet Opcode list, Opcode list, meet OP: http://www.z80.info/z80oplist.txt for if statements, you generally just use cp (compare) statements followed by a jump. For example, this code in TI-BASIC: Code: ```0->A ... If A:Then A+1->A End``` In z80 Assembly, a similar chunk of code, would be: Code: ```   xor a // a == 0 ...    cp 0    jr z, NotTrue // if register A is zero, jump to the NotTrue Label                      // like how jumping past the if block to the End would                      // be like    inc a; NotTrue:       // end label``` Using opcodes (strongly recommended against), it would be: Code: `AF...28013C`_________________-Ashbad
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 12 Dec 2011 04:49:16 pm    Post subject: So I will try that. I will probably make it with opcodes just for now until I learn how to use z80 ASM to do all that fun stuff I need. Thanks for the help ashbad. If I find some time tonight I will get a draft going. Which reminds me. I need to download the DCS SDK for fedora._________________

... I think redheaded girls are kind of cool

Joined: 01 Dec 2010
Posts: 2418
Location: Stomp Stomp Stomp, The Idiot Convention

Posted: 12 Dec 2011 04:51:30 pm    Post subject:

 Aes_Sedia5 wrote: So I will try that. I will probably make it with opcodes just for now until I learn how to use z80 ASM to do all that fun stuff I need.

Opcodes *ARE* z80 assembly, and I was only giving you a list of them to daunt you out of it, same with the example. Don't use it, as you can see, it's very cryptic working with unnamed hEx equates for the instructions. Trust me, use the DSC SDK's asm tools, and you'll be 10000% happier.
_________________
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 12 Dec 2011 04:52:46 pm    Post subject: Ok. I did not know the DCS SDK had those things in there. and I have the list of opcodes, it was not very daunting. haha. Thanks though._________________
souvik1997

Guru-in-Training

Joined: 19 Apr 2010
Posts: 2870

 Posted: 12 Dec 2011 04:55:13 pm    Post subject: Also, to use the Ans variable in ASM, use the bcall _RclAns._________________CALCnet Tournament-38% deviantArt
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 12 Dec 2011 04:55:47 pm    Post subject: Thanks souvik. That will help a lot._________________
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 14 Dec 2011 05:14:14 pm    Post subject: Hey. Screen shot time! I have my title screen working. Now. Should I have those dollar signs move like they are now, or randomly. If it is random, it move one space in either direction from where it is to start with. So it moves sorta in a line instead of all over the place. Not sure how I could do that though._________________
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 16 Dec 2011 02:30:30 pm    Post subject: As for the above. Weregoose gave me the idea to make the dollar sign a pong like animation, So I will try that, and have it Bounce off of the text in the middle and at the top. I will work on that next. I tried my hand at sprite drawing and I stink. Could someone here help me with sprites? I dont know if I should use the original monopoly pieces or if I should use new sprites. I personally dont really care on way or the other, I will leave that choice up to whoever decides to help. I was thinking 5x5 pixels for the sprites. I am planning on having the entire board on the screen, so That may be a bit big or small I am not really sure. but 5X5 should work._________________
Sorunome

Expert

Joined: 22 Feb 2011
Posts: 636
Location: Somewhere out there

 Posted: 16 Dec 2011 03:50:50 pm    Post subject: Title screen is looking cool! _________________
krazylegodrummer56

Power User

Joined: 20 Nov 2011
Posts: 404

 Posted: 16 Dec 2011 07:46:23 pm    Post subject: I love the title screen to_________________Projects: Learn how to program in Prizm C First C program! Tic-Tac-Toe: Get it HERE!
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 16 Dec 2011 11:06:00 pm    Post subject: Thanks a bunch, You have no idea how encouraging that is. I hope to finish it in a month or two. Right now I am looking for help with the sprites, and I am drawing out the board. In between remaking my derivative program and Drawing the monopoly board I am making the card program._________________
Nick

Newbie

Joined: 30 Nov 2011
Posts: 25
Location: Belgium

 Posted: 17 Dec 2011 05:27:39 am    Post subject: this looks good, seems quite a tricky task to make it, thumbs up for what sprites do you need help? i really wanna help if you need it..
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 17 Dec 2011 12:07:43 pm    Post subject: well the only sprites I need help with are the monopoly pieces, that move around the board representing players. (for now) I may need help with some aspects of the board later. So it is mostly up to you, if you want to keep the original pieces (A.K.A Money bag, top hat, dog, car etc.) of if you want to make something a little more themed like calculators. Totally up to you. Also today if I find time I plan on remaking the title screen for the Dollar signs to have a pong effect._________________
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 18 Dec 2011 12:43:47 am    Post subject: Ok I am trying to get the pong effect on the title screen. This is the code I have so far it just bounces back and forth, which is a good start. Code: ``` Repeat Ans=105 getKey->K Text(theta,Z,:\$ Text(Theta,Z-Y,"___ If Z>=94 xor (Z<=60 Then randInt(Z+1,Z-1)->Z End 1->Y Then If not(Z) xor Z>=25 randInt(Z+1,Z-1)->Z -1->Y End If Theta<=0 xor ((Theta>=30 and theta<=46) Then Randint(theta+1, Theta-1)->theta 1->V End If Theta >=64 xor Theta<= //crap. I just had a major brain lag and now I dont remember what the rest was. I was about to hit submit when I had this code perfect when my mom closed the tab. Parents. I will post for now and then finish it later if I can. ``` Either way that only bounces diagonally, not sure how to make it go everywhere like pong._________________
comicIDIOT

Guru

Joined: 01 May 2006
Posts: 5108
Location: SFBA, California

 Posted: 18 Dec 2011 01:33:31 am    Post subject: Pong wasn't "everywhere." It went a certain trajectory based on where it hit the paddle. You're best bet would be to get a random integer from 0 to 80 and somehow use that integer to get the deflection angle for the text off the paddle. I'm not familiar with how it's done but you'll likely have to do some work in RAD equations or something._________________ -Alex
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 18 Dec 2011 09:46:26 am    Post subject: Sorry. I need to stop making posts when I am tired. I was wanting that, but, I also thought of another way for it to work. I could always have it start one place above or below like I am now, then just have it go diagonal each time. Not quite pong but its close. Note: gah. I need to comment my code better._________________
Nick

Newbie

Joined: 30 Nov 2011
Posts: 25
Location: Belgium

 Posted: 20 Dec 2011 01:50:42 am    Post subject: how big must the sprites be, and BW, greyscale..? and what viewing angle (above, aside..)? here's a preview of a fast scetch Last edited by Nick on 20 Dec 2011 02:28:33 am; edited 2 times in total
Aes_Sedia5

Minor Calculator Deity

Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

 Posted: 20 Dec 2011 01:56:13 am    Post subject: I was thinking an above view, Just black is fine as this is Ti Basic. and I was thinking 5x5 pixels. What do you meant by BW?_________________
Nick

Newbie

Joined: 30 Nov 2011
Posts: 25
Location: Belgium

 Posted: 20 Dec 2011 02:28:11 am    Post subject: black and white euh, 5x5 is very small, that will be hard to show what it is xs but i'll try it
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

»
 » Goto page Previous  1, 2, 3, 4  Next Page 3 of 4 » All times are GMT - 5 Hours

 Jump to: Select a forum Announcements----------------Cemetech AnnouncementsCemetech LabsContests General Discussion----------------Technology & Calculator Open Topic-- Electronics/Hardware Development-- Calculator HardwareYour ProjectsGeneral Open Topic-- Politics & Rants-- Reviews-- Humour/Jokes Cemetech's Projects----------------Doors CSSourceCoderMember Features-- TI-Freak8x-- Merthsoft-- GrammerOther & Upcoming Projects-- The BASIC Elite-- mobileTunes-- CALCnet 2.2-- SuggestionsProgramming the TI-83 Plus/TI-84 PlusUsing the TI-83 Plus/TI-84 PlusWebsite Programming & Design----------------General Programmingz80 AssemblyTI-BASICCasio Prizm/FX Development & ProgrammingWebsite Markup & ScriptingGraphics1337 Programming Tips Building with Blocks----------------FreeBuild, LEGO, and Minecraft-- FreeBuild General-- Suggestions & Troubleshooting-- Content & Gallery-- Servers & Activities
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.039820 seconds.