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
1
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?

2
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.


3
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.

https://github.com/mickelson/attract/issues/340

4
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,

5
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.

https://youtu.be/XJu3IQLdMiY

Update:

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

https://youtu.be/IPTRFDriUao

6
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?

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

8
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.

DOWNLOAD:

9
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 = ""
?

10
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.

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

https://build.btolab.com/project/attractmode/

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


Features:
- 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.

REQUIREMENTS:

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












YOUTUBE DEMO VIDEO:

https://youtu.be/qs49MDNx5wY


CHANGELOG:

18/04/2017
 - Fixed a bug causing layout error in colour randomizer

17/04/2017
 - 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

13/04/2017
 - 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

21/03/2017
 - Initial Release


Please download the latest nightly build of Attract Mode
https://build.btolab.com/project/attractmode/

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


DOWNLOAD:

13
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.


14
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
}

15
I'm working on a new conveyor like module which is very simple but optimized for speed and animation smoothness. What's forced me to write it? Conveyor freezes all other animations while transiting, which was unacceptable for me. I need your advise first. I went with type 2
It will look like this:



What padding works for you best of those 3? Or shall I make paddings configurable like: tile padding, carrier padding, selector padding?

UPDATE:

First beta version released https://github.com/oomek/AttractMode-Carrier

Pages: [1] 2