SdFat developer has checked in my fix. SdFat 1.0.6 should work.
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.
#17
Tiny Arcade & Pocket Arcade / Re: SdFat and directories
June 23, 2018, 12:13:11 AMQuote from: kuran_kuran on June 20, 2018, 03:47:27 AMThat does work. I started comparing parts of the code to the Arduino SdFat library. I believe I found the issue. Unfortunately this means I have to tell people to install the library and then fix it or include a copy in my code. I don't like those options.
Please use SdFat in the new version of SuperOteme.(SuperOteme103_source.zip)
http://daimonsoft.info/kuran_kuran/index.php?TinyArcade%2FSuperOteme
#18
User Projects / Code Examples / Re: Color Monsters
June 16, 2018, 11:13:36 AMQuote from: lennevia on June 08, 2018, 12:06:40 PMThe code is at https://github.com/dulsi/colormonster. Right now it just allows you to paint things. The save file format will need to change so I don't recommend creating anything elaborate.
This looks really cool! I'd really like some new TinyArcade games!
#19
Tiny Arcade & Pocket Arcade / Re: SdFat and directories
June 16, 2018, 11:09:55 AM
Grrr... The SdFat library I copied from SuperOteme is not working. It creates the file in the subdirectory but fails to write to it. I'm unsure if it did work and started failing or if I never checked the file size and it never worked.
For the time being I've gone back to the Arduino IDE SdFat library and store files in the main directory.
For the time being I've gone back to the Arduino IDE SdFat library and store files in the main directory.
#20
Tiny Arcade & Pocket Arcade / Re: SdFat and directories
June 14, 2018, 10:09:38 PM
I downloaded the source code to SuperOteme. I copied the SdFat library from it. That works. I'm not pleased with this solution as I don't want to keep a copy of that source in my project. It also makes it difficult for my simulator to support it.
Has anyone gotten the SdFat library in Arduino IDE working? Do I need to initialize it differently or maybe alter the SdFatConfig.h settings?
Has anyone gotten the SdFat library in Arduino IDE working? Do I need to initialize it differently or maybe alter the SdFatConfig.h settings?
#21
Tiny Arcade & Pocket Arcade / SdFat and directories
June 13, 2018, 07:05:59 AM
For my color monster game, I've been looking into SdFat. I've been able to write to a file in the root directory. I haven't been able to write a file in a subdirectory. I'd much rather save information in the game directory than in root. I did tried this:
Anybody know what I'm doing wrong?
Code Select
dataFile.open("colormonster/colormn1.dat", O_WRITE | O_CREAT | O_TRUNC)Anybody know what I'm doing wrong?
#22
User Projects / Code Examples / Color Monsters
June 04, 2018, 01:04:21 AM
I've been thinking of how to use the TinyArcade. I wanted something which uses the sd card. My current idea is a Pokemon like game. The world is black and white. The creatures aren't very powerful until they gain color. You paint your monsters in the game. I'm still very early in the design. Included a screenshot from my simulator running the painting screen. Might need a zoom screen on the TinyArcade as it is hard to do details on the small screen. The monster is the Cateye taken from the Tuxemon game.
#23
Tiny Arcade & Pocket Arcade / Re: Games Won't Boot
June 04, 2018, 12:58:13 AMQuote from: RyanM on May 25, 2018, 06:38:14 PMAre you putting it on an sd card? Did you name the bin the same as the directory name?
\I can't get Invaders to work, which is why I bought it in the first place!
#24
Tiny Arcade & Pocket Arcade / Re: Kooky Kookies - a Neo Retro Game
March 05, 2018, 08:52:27 AMQuote from: jkahle1 on March 04, 2018, 02:43:25 PMI believe the TinyArcade game selection program requires it to be in a folder with the same name as the game.
Is the game meant to run in a folder or the root directory?
#25
User Projects / Code Examples / Re: Viobyte (Pac-Man Clone)
March 01, 2018, 11:13:41 PMQuote from: jkahle1 on February 27, 2018, 08:57:27 PMThe post above has a downloadable version as an attachment. It was my quick and dirty first port. The newest one is attached to this post. I also posted another article explaining the porting process.
Any chance of a downloadable version?
#26
User Projects / Code Examples / Re: Viobyte (Pac-Man Clone)
December 05, 2017, 10:43:39 PM
I assembled the TinyArcade and did a quick port of the Viobyte. Code is not available yet. Speaker makes a noise while it is running. Not sure why. The game works but the TinyArcade doesn't register the diagonal direction very well (or maybe my code is wrong). Without that the game is really hard. I think it may also be running faster than on the tinyscreen video game kit but that can be tweaked easily.
#27
User Projects / Code Examples / Re: Viobyte (Pac-Man Clone)
November 22, 2017, 10:27:27 AM
I forgot to post that I wrote an article describing some of my development of viobyte.
#28
TinyDuino Processors & TinyShields / Re: TINYSCREEN VIDEO GAME KIT can't be programmed...
November 22, 2017, 10:25:11 AMQuote from: zezba9000 on November 21, 2017, 12:07:08 AMThe board TinyScreen+ is for the TinyScreen+ not the tinyscreen video game kit which uses the older tinyscreen and tinydruino. I've had a lot of fun with the tinyscreen video game kit. I did a post about my viobyte project.
Never mind got it working, the directions from TinyCircuits seems wrong.QuoteBoard = "Arduino Pro or Pro Mini"
Processor = "ATmega328P (3.3V, 8 MHz)"
I did not see this in the docs but in a YouTube video... maybe I missed something but didn't look like it.
#29
TinyDuino Processors & TinyShields / Re: Tiny Screen + example compile fail missing sam.h
September 08, 2017, 05:46:20 PM
I encountered the same problem. Fedora 26 has arduino 1.6.6. I installed arduino 1.8.4 from the testing repository. That allows me to compile my viobyte game for Tinyscreen+ but it doesn't work for some reason. Additionally it fails to compile for the Arduino Pro so I can't build for the video game kit with 1.8.4 installed. I've reverted back to 1.6.6 for now.
#30
User Projects / Code Examples / Viobyte (Pac-Man Clone)
August 31, 2017, 09:43:05 AM
Since Asteroids and Space Invaders are already available, I decided to make a Pac-Man clone. It's not quite complete yet. You can eat dots and ghosts can kill you. No power pellets. The tunnel to the other side of the screen doesn't work. Score and lives are not displayed.
Thanks to zet23t for his simulator and jonwingrove for his sprite library.
Viobyte's Description: You are a computer virus trying to steal as much data as possible. The system is defended by the Generic Host Offensive Software Terminators (GHOST).
Code: https://github.com/dulsi/viobyte
Simulator used for development: https://github.com/dulsi/tinyscreensim
SMF spam blocked by CleanTalk