Show Posts

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.


Topics - kent79

Pages: 1 ... 6 7 [8] 9
106
General / AM support mouse or touch monitor input?
« on: March 05, 2016, 06:21:09 PM »
I would like using "mouse" or "touch monitor" instead of joystick to select the game. May I know AM support Mouse control or not? If support, how to activate it?  :)

107
Scripting / fe.add_shader scanline issue
« on: March 03, 2016, 03:51:49 PM »
Hi,

I am using shader method to create scanline. In 1920x 1080 resolution is my ideal effect - light scanline. But when I changed to 1024 x 768 resolution. The line become too dark like as below 2nd picture. I know the line width is controlled by crt.vert and crt.frag files. But don't know where to revise. Could you teach me how to change the value to become like as 1st picture effect on 1024 x 768 resolution. Thanks.

108
Scripting / How to optimize wheel spin for game station theme
« on: March 01, 2016, 06:07:30 PM »
Hi,

I would like to speed up game station theme. The current script is original running num_arts = 10. How to update as below script to work on "exactly" num_arts = 5 instead of 10? I think it is effect the performace. Thanks.


My ideal code should be :
 
 local wheel_x = [ flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822,]; 
 local wheel_y = [ 0, fly*-0.08, fly*0.152,, fly*0.384, fly*0.616 ];
 local wheel_w = [ flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, ];
 local wheel_a = [ 205,  205,  255,  205,  205,];
 local wheel_h = [ flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23, ];
 local wheel_r = [ 0, 0, 0, 0, 0, ];
 local num_arts = 5;


Code: [Select]
{
 fe.load_module( "conveyor" );
 local wheel_x = [ flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, flx*0.822, ]; 
 local wheel_y = [ 0, fly*-0.08, 0, fly*0.152, 0, fly*0.384, 0, fly*0.616, 0, fly*0.848, 0, 0, ];
 local wheel_w = [ flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, flw*0.179, ];
 local wheel_a = [ 0,  205,  0,  205,  0,  255, 0,  205,  0,  205, 0,  0, ];
 local wheel_h = [ flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23, flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23,  flh*0.23, ];
 local wheel_r = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
 local num_arts = 5;

class WheelEntry extends ConveyorSlot
{
constructor()
{
base.constructor( ::fe.add_artwork( my_config["orbit_art"] ) );
}

function on_progress( progress, var )
{
local p = progress / 0.1;
local slot = p.tointeger();
p -= slot;
slot++;

if ( slot < 0 ) slot=0;
if ( slot >= 10 ) slot=10;

m_obj.x = wheel_x[slot] + p * ( wheel_x[slot+1] - wheel_x[slot] );
m_obj.y = wheel_y[slot] + p * ( wheel_y[slot+1] - wheel_y[slot] );
m_obj.width = wheel_w[slot] + p * ( wheel_w[slot+1] - wheel_w[slot] );
m_obj.height = wheel_h[slot] + p * ( wheel_h[slot+1] - wheel_h[slot] );
m_obj.rotation = wheel_r[slot] + p * ( wheel_r[slot+1] - wheel_r[slot] );
m_obj.alpha = wheel_a[slot] + p * ( wheel_a[slot+1] - wheel_a[slot] );
m_obj.video_flags = Vid.NoAudio;
}
};

 local wheel_entries = [];
 for ( local i=0; i<num_arts/2; i++ )
wheel_entries.push( WheelEntry() );

 local remaining = num_arts - wheel_entries.len();


// we do it this way so that the last wheelentry created is the middle one showing the current
// selection (putting it at the top of the draw order)
 for ( local i=0; i<remaining; i++ )
wheel_entries.insert( num_arts/2, WheelEntry() );

109
General / Intel x5 z8300 Cherry Trail Compute Stick
« on: February 29, 2016, 08:54:41 PM »
Just bought a Compute Stick Intel x5 z8300 with 4GB to be my station.

The price is 3 times for RPi 3, but higher performance and memory. The power consumption is 2A instead of. The most important can be installed windows OS. So, it is comfortable playing with attract mode, browser, media server or some else like as normal PC.

What is your choice?

 :)


110
Scripting / Display current time
« on: February 07, 2016, 07:39:09 PM »
Hi

I would like to add current time function in theme. date() is working, but don't know full script of interval update in background. Please help me., Thanks.

date().hour
date().min

111
Scripting / Request of Animation effect - shine & glow
« on: January 05, 2016, 08:01:53 AM »
Dear liquid8d

Please consider add as below effect in further AM. I think it is best applying for video snap or flyer design. Thanks.  :)

Preview:
http://www.webtutorialplus.com/demo/image-shine-glow/index.html

Source code:
https://www.dropbox.com/s/9ewrqnw2p488g8u/image-shine-glow.zip

112
Scripting / Animation issue
« on: January 01, 2016, 05:56:40 AM »
I am working on animation, but facing some issue. I would like a image in and out with animation in 2 conditions (Transition.ToNewList  & Transition.ToNewSelection)

When I startup AM, then trigger Transition.ToNewList. At this moment, press key to select new game. It will trigger second animation. Then it runs 2 times. How to modify the code to run one time only? Thanks. 

Code: [Select]
::OBJECTS <- {
 marquee = fe.add_artwork("marquee", flx*-0.2, fly*0.69, flw*0.18, flh*0.1 ),
}

 local move_marquee1 = {
   when = Transition.ToNewList ,property = "x", start = flx*-0.2, end = 0, time = 600
 }
 local move_marquee2 = {
    when = Transition.ToNewSelection ,property = "x", start = flx*-0.2, end = 0, time = 600,
 }
 local move_marquee3 = {   
  when = Transition.ToNewList ,property = "x", start = 0, end = flx*-0.2, time = 1000, delay = 3000
 }
 local move_marquee4 = {   
  when = Transition.ToNewSelection ,property = "x", start = 0, end = flx*-0.2, time = 1000, delay = 3000
 }

 animation.add( PropertyAnimation( OBJECTS.marquee, move_marquee1 ) );
 animation.add( PropertyAnimation( OBJECTS.marquee, move_marquee2 ) );
 animation.add( PropertyAnimation( OBJECTS.marquee, move_marquee3 ) );
 animation.add( PropertyAnimation( OBJECTS.marquee, move_marquee4 ) );

113
Scripting / About ScrollingText module
« on: December 27, 2015, 12:06:47 AM »
I am looking at ScrollingText module, but no setting as below. Could someone add it or teach me how to do? Thanks.

Display static Text hold on 5 sec. and then beginning Scrolling

Expect coding:

local scroller = ScrollingText.add( "[Title]", 0, 0, 100, 75, ScrollType.HORIZONTAL_LEFT );
scroller.settings.holdon = 3000
scroller.settings.delay = 3000;

114
Themes / Game Station Theme v2.6.3 (Support 4:3 & Wide Screen now)
« on: December 24, 2015, 09:35:51 PM »
Game Station supported for 4:3 & Wide Screen now. Please download correct layout theme. It supports multi emulator purpose.

I would like to say thank you first to AM development team, liquid8d, version, omegaman, xbs, Bgoulette. They help me a lot for the new layout.

Preview Here: https://youtu.be/d8VyyXFjrpA


Change Log in new version:

1. Add layout mode option (default is simple)
Simple mode - for new user, display wheel logo and single back group color only, but color can be customized in option   
Expert mode - for advanced user, system, logo, wheel logo and back group color (each catalog each color) setup by layout.nut file manually

2. Add game list display option (listbox only, listbox + spin, spin only) (default is listbox + spin)
If you are using old machine, recommend using listbox only

3.Display logo by (wheel only, wheel + system, system only) (default is system only) 

4. Add CRT effect option for video screen (default is No)

5. Add Preserve aspect ratio of Flyer option (default is No)

6. Display spin by (snap,wheel) (default is snap)

7. Add animation effect

8. Add scrolling effect for display title   ->  It is not support this moment until liquid8d update a new scrolling module.

9. Layout improvement

Current download version  v2.6.3

115
General / How to genrate rom list with Category/genre information
« on: December 04, 2015, 11:58:14 PM »
Hi All,

I am using AM to generate rom list example as below , but there is no Category/ genre information included. How to do it with genre information? Please teach me. Thanks.

1941;1941: Counter Attack (World 900227);MAME;;1990;Capcom;shooter;2;270;joystick (8-way);good;1;raster;;;

116
Themes / New theme - SimpleFlyer
« on: November 13, 2015, 04:22:48 PM »
Flyer as a background, extreme simple and light theme. Enjoy !



117
Scripting / About show text issue
« on: November 08, 2015, 07:59:28 PM »
I would like to show a text with a while (example 3 seconds)  and then disappear with fade out effect. How to do that? Thanks.  :)

118
Scripting / How to flyer and video become bigger
« on: November 06, 2015, 04:23:57 AM »
Dear All,

As below linking is newGrid theme. Now, would like to flyer and video become bigger while game selected. But I don't know how to do

Anyone can teach me? Thanks.


http://forum.attractmode.org/index.php?topic=412.0



119
Themes / New Theme - simpleGrid
« on: November 03, 2015, 05:29:45 AM »
This is a new theme called SimpleGrid. It based on original Grid layout. Enjoy!  :)

Preview:
https://youtu.be/Gr0Un9dfYyw



[attachment deleted by admin]

120
Hi All,

I have idea to add into reflectSpin and simpleCools theme, but don't know how coding. Anyone can help me? Thank you so much.   

In current layouts, preview video area is shown game's video. But when game's video is empty. It will show black screen. My question is, can we make it to show snap picture while game's video is empty? Anyone can write the code to do this? Thanks.

1. Check video exist or not
2. If exist, show video
3. If not exist , show snap
   

Pages: 1 ... 6 7 [8] 9