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 - Oomek

Pages: [1] 2
Scripting / [WIP] Blur Shader
« on: June 01, 2017, 06:09:56 AM »
Attract Mode Blur Shader WIP - Snaps

Attract Mode Blur Shader WIP - Videos

Scripting / [ANNOUNCEMENT] Blending modes will come to Attract Mode
« on: April 20, 2017, 06:07:03 AM »
I'm planning to add belnding modes to Attract Mode (overlay, multiply, add, subtract)
Are you happy?

Themes / [CONCEPT] NEON Theme
« on: April 15, 2017, 08:24:30 AM »
I've come up with the idea last night of a Neon Theme and I need your feedback. Would you like me to make that kind of theme? Feel free to post any suggestions.

General / Snap video freezes and sound looped after waking up PC
« on: April 10, 2017, 03:36:20 AM »
The topic should be self explanatory, but anyway, here is the issue. When I put my PC to sleep while the snap video is playing and then wake PC up using any button that is not bound to navigation Attract Mode freezes and sound is played in a short loop until I press up or down arrow.

I've created an isuue on github as I believe this is a bug, but if anyone knows some workaround to this please let me know.

Here is a screensaver I coded recently, but I need to know how it performs on weaker devices like RP, so please download it, copy to layouts folder select it as a layout and tell me how many FPS it's showing on the screen.

Thanks in advance,

Themes / 3D Conveyor [WIP] & 3D Screensaver [WIP]
« on: April 02, 2017, 08:27:39 AM »
I didn't see any themes that would show snaps transforming in 3D space, so I thought, maybe it's not possible in Attract Mode.
So this morning I started experimenting and here is the result.


I'm also experimenting with using my method to do some new screensavers.
Here's my first try.

Scripting / How to set a Tag from the script?
« on: April 01, 2017, 07:35:07 AM »
I constructed my own overlay for setting a games tag, but I'm stuck at actually adding/removing a Tag value for a selected game.
Does anyone know how to do it?

General / Filter exception to ignore Global Filter?
« on: March 30, 2017, 11:54:52 AM »
Is it possible to add an exception in one of the filters which will ignore the global filter?
I've got a global rule "Tag does not contain hidden"
I set up a new filter "hidden" where I want to list the only games that are hidden.
I've added a rule inside the "hidden" filter "Tag does contain hidden"
I've also tried adding an exception "Tag does contain hidden"

None of it seem to work. Is it even possible to override the rule from the main filter?

General / [DOWNLOAD v0.1] Attract True Black - Application
« on: March 29, 2017, 04:17:49 PM »
Attract True Black v0.1

I wrote this application for my own use as I was annoyed how the transitions look in Attract Mode when you launch or exit a game. You got random flashes and a mouse spinner destroying the pleasure of staring at the pure darkness while the game is loading.

Since you guys like experimenting I thought I will share it with you.

What does this app do?
It sits in the system tray waiting for Attract Mode to be launched, then it:
- kills the desktop and all open explorer windows
- sets all the mouse pointers to the transparent one embedded in ATB
- displays a black borderless window to be sure nothing leaks through

When you exit Attract Mode:
- cursors are restored
- desktop is back
- black borderless window is hidden

Remember, I wrote this in a few hours, so I'm not responsible for any mental damage any potential bugs might caused you like for example:
- I've lost all my opened explorer windows, and I can't be bothered to open them again
- my cursors are gone and I had to restore them in the mouse properties window using a keyboard
- my screen is black and I don't know how to use either a task manager or alt tab.

You have been warned, happy experimenting :)

And remember, set your screen mode to  fullscreen or borderless, or you will get a black screen when you launch AM.


Scripting / How to destroy a variable or an object in Squirrel?
« on: March 22, 2017, 09:50:43 AM »
I'm struggling to find a way to destroy an object or a variable.
when I make for example

Code: [Select]
local myText = fe.add_text()
How can I get rid of it from the screen apart from writing

Code: [Select]
myText.msg = ""

Scripting / Is there a way to save layout config from the script?
« on: March 20, 2017, 03:14:12 PM »
I can't believe  there is no alternative to get_config() like set_config().
Is there any other way of storing a permanent value from the script which can be recovered next time you run AM.

General / Nightlies link dead?
« on: March 19, 2017, 10:02:31 AM »
Is it only me or the site with nightlies dead to everyone?

Themes / SILKY Theme v0.6.9 beta
« on: March 13, 2017, 01:00:34 PM »
SILKY Theme v0.6.9 beta

- silky smooth animation ( stuttering on the video is caused by the recording software )
- adapts to all horizontal resolutions with pixel perfect positioning
- configurable number of snaps in Layout Options
- rewritten animation module from scratch
- rewritten conveyor from scratch ( I use my carrier.nut module )
- custom dialogs
- configurable colour scheme in Layout Options
- colour randomizer ( assign a button to "Custom1" in AM Controls )
- I used genre icons from Game Station theme. I hope the autor doesn't mind. I was inspired by his work anyway. Only the genre displaying function was taken from his code.

Note: Colour randomizer scheme is overriden on launching AM by the colours set in Layout Options. If you want the scheme to be permanent, leave Colours blank in Options, or copy the values given by the randomizer to Layout Options.


- the latest Attract Mode nightly build
- snaps and videos on the SSD for smooth scrolling
- set selection_speed_ms  51 in attract.cfg



 - Fixed a bug causing layout error in colour randomizer

 - Improved readability of small fonts in resolutions 800x600 and below
 - Added ability to set a delay in seconds after which the game list autohides. Setting it to 0 disables autohiding.
 - Further speed optimizations

 - Game List Rows added to Layout Options
 - Snap list show/hide added to Layout Options
 - Fixed flyer trigger so it does not slow down animation

 - Initial Release

Please download the latest nightly build of Attract Mode

In case of a "502 Bad Gateway" error here is an alternative link to the Windows build from 07/04/17!DoFTmLyI!_qm79iHXoSQSwveyO9XYzdiGPyyPqQAfASpINNrlgQk


Scripting / Text alignment in AM is completely off [SOLUTION]
« on: March 12, 2017, 07:51:49 AM »
Is there any way to make text alignment in AM more coder friendly?
Setting Align.Left does not make the text to be aligned to the left. The y offset is wrong too. What's even worse the gap changes depending on the font type used, so it's practicaly impossible in AM to make a neat theme which scales to various resolutions. I need to compensate the gap and vertical alignment manually in pixels which destroys scalability.

Scripting / Subpixel positioning
« on: March 05, 2017, 08:05:23 AM »
How to make AM to position object with subpixel accuracy?
When I move an image the content moves with subpixel filtering, but the frame of a picture is snapping to pixels.
The same happens with text boxes

Run this code and see. It will jump in 1 pixel increments instead smoothly transitioning across the X axis.

Code: [Select]
local test = fe.add_text( "", 0, 0, 32, 1080)
test.set_bg_rgb( 200, 200, 200 )

fe.add_ticks_callback( "tick" )
function tick( tick_time ) {
    test.x += 0.01

Pages: [1] 2