Giter Site home page Giter Site logo

city41 / ardynia Goto Github PK

View Code? Open in Web Editor NEW
49.0 3.0 12.0 5.34 MB

An adventure game in the style of Zelda, for the Arduboy

Home Page: https://www.city41.games/ardynia

License: Other

JavaScript 14.78% Makefile 0.25% C++ 49.17% C 35.81%
game arduboy arduboy-game game-2d

ardynia's People

Contributors

city41 avatar nieldm avatar pharap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ardynia's Issues

Will not compile with gcc 7.2.0

With gcc 7.2.0 it has the error:

sketch/src/loadEntity.cpp: In function 'loadEntity(Entity&, unsigned char) [clone .part.0]':
sketch/src/entityTemplates.h:49:23: error: variable 'entityProperties' with dynamic initialization put into program memory area
 const uint8_t PROGMEM entityProperties[NUM_ENTITIES * NUM_ENTITY_PROPS] = {
                       ^
lto-wrapper: fatal error: /usr/bin/avr-gcc returned 1 exit status
compilation terminated.
/usr/lib/gcc/avr/7.2.0/../../../../avr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Leonardo.

Error Compiling: lto-wrapper failed

Hello, I've noticed that when compiling the latest release (using Arduino IDE 1.8.15), I get the following compiler error. It only seems to pop up for this game, so I'm not sure what's going on.

/Users/andrewmeyer/Google Drive/Arduboy Games/ardynia/src/loadEntity.cpp: In function 'loadEntity(Entity&, unsigned char) [clone .part.0]':
/Users/andrewmeyer/Google Drive/Arduboy Games/ardynia/src/entityTemplates.h:49:23: error: variable 'entityProperties' with dynamic initialization put into program memory area
 const uint8_t PROGMEM entityProperties[NUM_ENTITIES * NUM_ENTITY_PROPS] = {
                       ^
lto-wrapper: fatal error: /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc returned 1 exit status
compilation terminated.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Error with game.h

Hello,
I'm a fairly inexperienced programmer when it comes to Arduino, and for some reason when running Ardynia I get the following error:

Arduino: 1.8.7 (Mac OS X), Board: "Arduboy"

ardynia:6:22: error: src/game.h: No such file or directory
compilation terminated.
exit status 1
src/game.h: No such file or directory

If you have any suggestions, I'm all ears.
Thank you!

move .ino and src/ down into ardynia/ folder

This should make it easier for those using the Arduino IDE to compile the game. @Pharap brought this up on the arduboy forum here

quoting what he said

While you’re here, would it be too much trouble to ask for one more small change?

As it currently stands, if you want to compile from source you have to rename the enclosing directory to ‘ardynia’, which can be a bit of a trip hazard for people who aren’t familiar with the Arduino IDE’s foibles.

So would you be able to create a folder called ardynia and move ardynia.ino and the src directory into it to save people the extra step after downloading the source?

(I did this myself in my fork, but haven’t included it in the PR. I didn’t do it in a very clean way anyway.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.