Recent Posts

Pages: [1] 2 3 ... 10
1
Themes / Re: help with controls on a theme
« Last post by zpaolo11x on Today at 11:17:50 AM »
@zapaolo11x interesting. Do you have a layout of yours I can reference to understand why? I would have thought the other way around. List index can change, but it’s easy for lots of things to hook into a signal change and execute code with it.

My Arcadeflow theme uses this method, the layout is huge with a lot of stuff happening, I can craft a minimal version if you think it's useful. If I remember well, I didn't use "next game" "prev game" because I didn't like the transitions it triggered, therefore I'm using index++ with a custom method to take care of long keypresses.
2
Scripting / Re: Problem plugin - Random
« Last post by calle81 on Today at 11:02:03 AM »
I just tried the updated plugin from the master branch and it works perfectly.  Thank you! :)
3
Themes / Re: help with controls on a theme
« Last post by keilmillerjr on Today at 08:47:30 AM »
@jedione makes sense. Thank you. Do you have any issues with navigating the config menu trigging your theme?

@zapaolo11x interesting. Do you have a layout of yours I can reference to understand why? I would have thought the other way around. List index can change, but it’s easy for lots of things to hook into a signal change and execute code with it.
4
Scripting / Re: Squirrel development environment
« Last post by alec92 on Today at 08:45:49 AM »
Thanks for suggestions guys.
I found a Itellij Idea squirrel plugin - its functionality is limited though.
So I guess using AM as a shell and AM console as a output is a way to go!
5
Scripting / Re: Squirrel development environment
« Last post by iOtero on Today at 08:32:54 AM »
Notepad++ with squirrel highlighter plugin...
6
General / Re: Full screen Gens
« Last post by Darkfire on Today at 08:02:51 AM »
Okay. Fusion is best, incredible comparison between both. Fullscreen it works at the first test in Fusion. Thanks! =)
7
Themes / Re: help with controls on a theme
« Last post by zpaolo11x on Today at 08:02:06 AM »
this is what i use in my own themes, and just alter as needed


I do something similar but instead of signaling "next game" and "prev game" I just use fe.list.index++ or fe.list.index--. Why? I honestly don't remember, something to do with how transitions are managed when signaling instead of pressing keys.
8
Themes / Re: help with controls on a theme
« Last post by jedione on Today at 07:53:24 AM »
this is what i use in my own themes, and just alter as needed

right know the code is set up to do what you need..

Code: [Select]


local flx = fe.layout.width;
local fly = fe.layout.height;
local flw = fe.layout.width;
local flh = fe.layout.height;



function on_signal( sig )
{
switch ( sig )
{
case "up":
fe.signal( "" );

return true;


case "down":
fe.signal( "" );

return true;


case "left":
fe.signal( "next_game" );

return true;


case "right":
fe.signal( "prev_game" );

return true;


case "select":
default:

}

return false;
}

fe.add_signal_handler(this, "on_signal");


though i know you will not like doing it this way,   ???
9
Scripting / Re: Squirrel development environment
« Last post by keilmillerjr on Today at 07:46:24 AM »
I am currently using the Atom.io code editor. It’s multi platform. Use terminal on Mac, cd to the bin folder within the app package, and execute the bin or launch script directly. It eliminates some errors that have happened on Mac platform. Check out debug plugin. Comes in handy.
10
Scripting / Re: Squirrel development environment
« Last post by zpaolo11x on Today at 06:22:40 AM »
I just use Visual Studio Code with Squirrel Language Highlight extension by Richard Bowker, and Shader languages support by slevesque. I always run attract from the console and mostly use "print" commands for basic debug. Not the best but it works.
Pages: [1] 2 3 ... 10