Tiny Asteroids - Zero gravity


#1

Description

Tiny Asteroids is Asteroids(1979) clone.

I know, Arduboy Arcade is making.
Please excuse duplicate games. :smiley:

Installation

Request : “windows” Arduino IDE 1.6.x + "arduboy developer kit"
Arduboy 1.0 not run.

  1. download from github
  2. pls edit test.bat for your computer(must change COM port number)
  3. execute test.bat
  4. play it

Controls

L/R : move
A : shot
B : accel
U : warp(random)

Arange rule

max stage is 5. 1-3 is training stage.
UFO and UFO shot dont hit player ship.

Development

compiler : windows Arduino IDE 1.6.8(avr-gcc) + 1.0.6(make.exe)
image converter : python 2.6 + PIL
etc : Visual Studio 2015 C#, OpenOffice 4.1.2


Eried's Unofficial Repo :)
Eried's Unofficial Repo :)
"Semi-Official" Game List for the Arduboy
(Ross) #2

Asteroids will always be one intense game. Your video had me on the edge of me seat! Ha, I’m being serious too, Asteroids is an awesome game.


#3

tipsy ship lol

Operation of the uniform linear motion is difficult.
For this reason, Level setting made easy.

Asteroids have many parameter. Correct answer is I do not know.
I respecting the author of original game.


(Ross) #4

I think the game was originally designed for and played on academic networks. It’s not surprising the physics model is simple and fun.


#5

@akkera102
will you release “tiny asteroids” & “tiny 2048” for the arduboy, too ???
PLEEEEEEEEEEEEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAAASE :kissing_heart:


#6

actually, my all games maked 1.0 version before few days.

pls see github :slight_smile:


#7

maybe i am just too dumb but i have tried everything to get your games working. may you or someone can help me?? :cry: :cry: :cry: :cry: :cry:

i have changed “test.bat” to the following:

@echo off
SET VAL1="C:\Program Files (x86)\Arduino\hardware\tools\avr\bin"
SET VAL2=COM9
SET VAL3="C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"
SET VAL4=COM8
SET VAL5=test_arduboy_10.hex

set PATH=%VAL1%;%PATH%

tool\reset %VAL2%
avrdude -C%VAL3% -v -patmega32u4 -cavr109 -P%VAL4% -b57600 -D -Uflash:w:%VAL5%:i

pause

i have changed all the BOLD above. the path and the com ports as this is my IDE install path and COM 9 is my arduboy. all sketches working fine to upload them with the arduino IDE.
then i was looking for your “make_bin.bat” ; “make_clean.bat” and “make_usb.bat” and fixed the pathes there, too.
compiling your game ends up as the following output in the dos box:

resetting…
done

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2009 Joerg Wunsch

     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

     Using Port                    : COM8
     Using Programmer              : avr109
     Overriding Baud Rate          : 57600
     AVR Part                      : ATmega32U4
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PA0
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
       lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : butterfly
     Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
Drücken Sie eine beliebige Taste . . .


#8

test.bat is equal the log of Arduino IDE.
your editting is correct.

i think my reset.exe is wrong.
new bug… i saw that for the first time.
but modification idea is nothing…

umm… reset.exe reset the Arduboy into bootloader mode.
if you physically do, page will be helpful.
http://community.arduboy.com/t/how-to-reset-arduboy-if-its-bricked/807

new test.bat here. i added only “rem”.

@echo off
SET VAL1="C:\Program Files (x86)\Arduino\hardware\tools\avr\bin"
SET VAL2=COM9
SET VAL3="C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"
SET VAL4=COM8
SET VAL5=test_arduboy_10.hex

set PATH=%VAL1%;%PATH%

rem tool\reset %VAL2%
avrdude -C%VAL3% -v -patmega32u4 -cavr109 -P%VAL4% -b57600 -D -Uflash:w:%VAL5%:i

pause

how to use.

  1. physical reset.
  2. wait 1, 2 sec. timing will be important.
  3. execute new bat.

if no good 5 times, please give up.
i tested only devkit. i dont have arduboy 1.0.


#9

i bricked my arduboy many times and i am an expert now in resetting it and bring him back to life :blush: BUT no chance to to get the game uploaded to the arduboy :cry:
is there anyone else who got this to work on his arduboy and if yes - how ???


#10

Here goes nothing.
SET VAL4=COM8 -> COM10

http://community.arduboy.com/t/tiny-2048-smooth-moving/746/13?u=akkera102


#11

well, i tried everything including changing all COM constellations but i have no luck or i am just an idiot. i don’t get your games to work on the retail arduboy. no chance and i also used the “fixed” makefile from @cactus described at Tiny 2048. I fixed this file myself yesterday already and had no luck.
@bateske PLEASE send @akkera102 his arduboy NOW !!! i need his games :joy: :joy: :joy: :joy: :joy: :joy: :joy: :joy:


#12

When will it run on Arduboy 1.0???

(sorry about my english)


#13

as soon as @akkera102 holds his retail (factory) arduboy in his hands. just be patient a little bit :wink:


#14

normal of windows computer can play game with arduboy 1.0.
dogfriend computer is rare case… probably…:sweat:


#15

really? it dosen’t work to compile on my win 10, win 8.1, win 7 and also no chance with my mac…
and all are different hardware :hushed:
all other games work to compile with the notebooks above :wink:


#16

i will check out at a friends’ pc, okay? maybe i am just to lame to setup the os correct :grinning:


#17

your all machines is Failure?
to be honest, i dont know where the problem.

if any people say failure, i will delete support infomation.


#18

none of my notebooks will compile it for the arduboy 1.0 to work.
if you say it works on arduboy 1.0 then people shall post here that it works on arduboy 1.0 with pic or vid !! and let me know how they got it to work :wink:


#19

@cactus, Would you help me?
i hope to Arduboy 1.0 can play game.


#20

How must I edit test.sh if I have mi arduboy connected to /dev/ttyACM0???

#!/bin/bash 
 
export avrdudeconf=/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf 
export uart=/dev/tty.usbmodem1421 
export hexfile=test_arduboy_10.hex 
 
python -c "import serial;ser=serial.Serial('/dev/tty.usbmodem1421',1200);ser.write('');ser.close()" 
sleep 2 
avrdude -C${avrdudeconf} -v -patmega32u4 -cavr109 -P${uart} -b57600 -D -Uflash:w:${hexfile}:i

Edit by @ekem to use Markdown code blocks.