Author Topic: Snes Mini Simple - WIP  (Read 1036 times)

nayasis

  • Newbie
  • *
  • Posts: 1
    • View Profile
Snes Mini Simple - WIP
« on: April 16, 2019, 10:37:24 AM »
I'm afraid if anyone is interested. but I've been working AM Snes mini theme on RasberryPI.

It only support game selection but very light and quick so maybe works well on RasberryPI. (not tested yet.)

Code is based on CONVEYOUR_HELPER by ArcadeBliss and DAVBARC MINI NES LAYOUT by caminiti45. ( thanks all sincerely )

I'll release soon after refactoring code.

let me know what you think.

https://youtu.be/LSsmhDS9GsQ


ps... following function maybe helpful for some AMT developers. thank you.

Code: [Select]
function printf( ... ) {

local iCnt = vargv.len();
if( iCnt == 0 ) return;

local param = [];
param.append( this );
for( local i = 0; i < iCnt; i++ ) {
param.append( vargv[i] );
}

print( format.acall(param) );

}

printf( "src:%s, min : %d, hour : %d\n",fe.game_info( Info.PlayedTime ), 1, 2 );

Code: [Select]
// [fe.sound.loop = true;] cause AM crash. I don't know the reason exactly. but, It works well as Plan B.
function playSound( path, loop=false ) {
local sound = fe.add_sound( path, true );
if( ! loop && ! sound.playing ) {
sound.playing = true;
}
if( loop ) {
fe.add_ticks_callback( this, "loopSound" )
}
function loopSound( ttime ) {
if( ! sound.playing ) {
sound.playing = true;
}
}
}

« Last Edit: April 16, 2019, 10:48:03 AM by nayasis »

rand0m

  • Sr. Member
  • ****
  • Posts: 226
    • View Profile
Re: Snes Mini Simple - WIP
« Reply #1 on: April 16, 2019, 01:39:55 PM »
Good job and welcome to Am forums!

maikolik

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Snes Mini Simple - WIP
« Reply #2 on: April 23, 2019, 09:06:27 AM »
A master piece theme, i like the snes mini graphics look

spaffley

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: Snes Mini Simple - WIP
« Reply #3 on: April 30, 2019, 04:36:43 AM »
If you need me to test on a pi 3b and 3b+, I would be happy to.

maikolik

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Snes Mini Simple - WIP
« Reply #4 on: May 22, 2019, 10:14:24 AM »
wooow!! great job, you still work in this theme?