Switch to full style
Understanding the language, error messages, etc.
Post a reply

How Do I Import Code to the Arduino Software

Wed Oct 28, 2015 2:07 am

I know there's probably a really easy way to find this out, but I'm slightly confused and this is the only place I know to ask. I want to import someone else's code to the Arduino software so I can draw from it and modify it(for example, I want to make some sort of game where a monster chases you through a maze while you try to find the key, using Myndale's 3d demo.) How do I do this? I go to the code repository for any given game and there's a list of binaries, bitmaps, and a bunch of other stuff. I have no idea what to do with this.

Re: How Do I Import Code to the Arduino Software

Wed Oct 28, 2015 7:33 am

Hi superfreaky you should have a look at http://gamebuino.com/wiki everything is explained there

Re: How Do I Import Code to the Arduino Software

Wed Oct 28, 2015 7:03 pm

I looked all over that page, but I didn't find what I wanted to know. I want to take the code for the 3d demo and put it into the arduino software ide so I can use it as a base for a game I want to make. I know this type of thing can be done, because that's how the taxi game was made. I've checked the arduino website, but no luck there yet. Do I use the .HEX file? Or do I copy-paste the code?

Re: How Do I Import Code to the Arduino Software

Thu Oct 29, 2015 8:02 am

Hi,

For the 3D engine you can copy past the code from http://gamebuino.com/wiki/index.php?title=3D_dungeon_rendering .

For the taxi Game I ve download the code from the git repo : https://github.com/Rodot/UFO-Race .

You cant start from the .hex file.

++

Re: How Do I Import Code to the Arduino Software

Thu Oct 29, 2015 5:40 pm

OK, thanks! I suppose you download the file marked 'bin'?

Re: How Do I Import Code to the Arduino Software

Fri Oct 30, 2015 7:55 am

I download the full zip and I use the source code in

https://github.com/Rodot/UFO-Race/tree/ ... forace.ino

if you have the ide arduino installed it open directly with all code.

the bin folder contains the compiled executable.

Re: How Do I Import Code to the Arduino Software

Sat Oct 31, 2015 1:10 am

Do I add it to the 'sketches' folder?

Sorry about all the questions, I am a noob.
Post a reply