I recently have been experimenting with the older calculators and got an idea I don't know if it's possible but that's why I'm here. My idea was to have a game that runs on two calculators and they're connected together and it's 2d and a character is displayed on the screen probably a 0 and it an shoot. Each character is displayed on both screens. I would like to do this bit I don't know how linking works in programs. Thanks BTW I also would like this written in basic but asm or c could work I guess. Razz
Unfortunately, it's not possible to transfer data between two calculators in BASIC without one of them being paused or taking blocking user input - see the TI-BASIC Dev page for the GetCalc( command for more details.

In C and assembly, the USBDRVCE library can be used to transfer data between calculators. I also added support to the SRLDRVCE library for calc-to-calc linking earlier today, which might be a bit easier to use, if a worse fit for the job. Unfortunately, both of these libraries are still under development and not officially released yet. Additionally, using these libraries is somewhat involved and probably not the best choice for a starter C project. If you're still relatively new to C, I would recommend getting the program working in singleplayer first, before trying to add multiplayer support to it, which will also give more time for the libraries to get released.
Yeah, I'm new to C. Okay I will do what you said and develop single player first and wait. Also I want to learn how the C libraries work do you know any good ways or places to learn?
Also thanks so much for the info.😄
Edit: Yea ti basic is very limited I was going to make a single Calc multi-player version but ran into a problem where 1 it would run slow there could only be one input at a time thanks again for the help.
Invalid_Jake wrote:
Yeah, I'm new to C. Okay I will do what you said and develop single player first and wait. Also I want to learn how the C libraries work do you know any good ways or places to learn?

Download the freaking toolchain and read the documentation.
Here's the documentation for the toolchain. You can use pretty much any C tutorial for it, aside from the CE specific libraries (graphx, fileioc, keypadc, fontlib) it works the same as regular C.
Thanks 😊 I officially hate ram resets now I got so far on my game one my ce and the ram got reset and deleted my game. I have an older version modified for the ti 84 plus. I'll have to get it from it. Then work out making the corrections re-ading the new features this socks I had everything backed up but that ugggg.
I would suggest trying to make a simple turn-based game first, like battleship, before attempting to code real-time games such as shooters that require constant data transmission.

Also, I would like to play battleship.
Thanks for the suggestion I decided to program it in C , single player for now I might add with bots of course.
Bump I've decided to take this project back up again however it will have to wait till after the holidays because of midterms at school. If anyone has any suggestions for the gameplay let me know. Thanks all and have a merry Christmas. Very Happy
I'd make it not exclusively multiplayer and allow co-op gameplay but without friendly fire, else friendly fire make those types of game way too hard IMHO.
DJ Omnimaga wrote:
I'd make it not exclusively multiplayer and allow co-op gameplay but without friendly fire, else friendly fire make those types of game way too hard IMHO.

That sounds like a great idea thanks for the suggestion. Smile
Since you are new to C, I would recommend taking the online C course done by Dartmouth here on Edx https://www.edx.org/course/c-programming-getting-started. You can opt for the no-pay version but your time will be restricted to 2 months or so for finishing the course (that's plenty of time).
If you pick up a programming language just by looking at example code and toolchain documentation, you won't learn it well (from my own experience), so I would definitely recommend taking the Dartmouth courses! After you have a good grasp of C basics, then you can move on to using the CE toolchain and looking at example CE programs.
It's actually perfect timing for you to pick the project back up, since the USB libraries that commandblockguy mentioned finally got added to the toolchain! I'm excited to see how the project goes, be sure to keep us updated Smile
randomguy wrote:
Since you are new to C, I would recommend taking the online C course done by Dartmouth here on Edx https://www.edx.org/course/c-programming-getting-started. You can opt for the no-pay version but your time will be restricted to 2 months or so for finishing the course (that's plenty of time).
If you pick up a programming language just by looking at example code and toolchain documentation, you won't learn it well (from my own experience), so I would definitely recommend taking the Dartmouth courses! After you have a good grasp of C basics, then you can move on to using the CE toolchain and looking at example CE programs.

Thanks I've been, looking for something like this.
TIny_Hacker wrote:
It's actually perfect timing for you to pick the project back up, since the USB libraries that commandblockguy mentioned finally got added to the toolchain! I'm excited to see how the project goes, be sure to keep us updated Smile

Yea, that's kinda why I picked it back up
I'll be sure to keep everyone updated. The CE has been missing something like this for a while. Very Happy
  
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.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
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

 

Advertisement