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.


Messages - Oomek

Pages: 1 ... 7 8 [9] 10 11 ... 21
121
Announcements / Re: Version 2.4 sneaking in!
« on: July 26, 2018, 07:10:02 AM »
It’s
Code: [Select]
attract --loglevel debug

122
General / Re: new BlendMode...
« on: July 26, 2018, 03:42:51 AM »
You have to wait until I finish moving to a new house, then I'll wrap it into some neat module so it's easy to use, because now it's entangled with the rest of the files.

123
General / Re: new BlendMode...
« on: July 26, 2018, 02:36:46 AM »
Remind me please when and where did I post the blur shader? It’s still unfinished and requires some tweaking.

124
Announcements / Re: Version 2.4 sneaking in!
« on: July 25, 2018, 01:07:35 PM »
Could you run AM  with —loglevel debug parameter and post a log here? (It’s double dash - - without a space)

125
General / Re: new BlendMode...
« on: July 25, 2018, 12:55:26 PM »
It’s the same as in Photoshop.
Add an image1 as a background then another smaller image2 on top and set the image2.blend_mode = BlendMode.Add for example. You won’t see any effect change if there is only black background underneath the image you are applying a blend mode to.

I can post some example code next week if it’s still not clear enough.

126
Scripting / Re: Attract-Mode BUG: Listbox not fade correctly.
« on: July 25, 2018, 12:49:03 PM »
I have a theory that what you are experiencing is actually an issue with the animation module that has used a loophole present in AM v2.3 as I do not see anywhere in that module any references to the sel_alpha or selbg_alpha properties.

127
Scripting / Re: Attract-Mode BUG: Listbox not fade correctly.
« on: July 24, 2018, 11:20:26 AM »
It fades fine when I've tried with the code below:

Code: [Select]
local flw = fe.layout.width
local flh = fe.layout.height

local snap = fe.add_artwork( "snap", 0, 0, flw, flh )
local lb = fe.add_listbox( 0, 0, flw, flh )
lb.set_bg_rgb( 100,100,100)
lb.bg_alpha = 255;

function tick( ttime ){
local f = (cos( ttime * 0.002 ) + 1) * 127
lb.alpha = f
lb.bg_alpha = f
lb.selbg_alpha = f
lb.sel_alpha = f
}
fe.add_ticks_callback( "tick" )

Would you be more speciffic and provide an example code of when it's not fading?


128
Announcements / Re: Version 2.4 sneaking in!
« on: July 24, 2018, 11:07:05 AM »
I noticed my layout is a bit slower and a bit more stuttering on 2.4 with respect to 2.3, I made a side by side video since the difference is quite strong https://youtu.be/bXEFtRepDt4 . I used many tricks on my layout to make it smooth (rawset_index_offset, adding and updating hidden text objects in a nested surface), debugging this will be hard since this tricks I have no idea why they worked like they did lol

add this to your layout:

Code: [Select]
local bar = fe.add_text( "", 0, 0, 32, flh )
bar.set_bg_rgb( 255, 255, 255 )
bar.bg_alpha = 200


function tick( ttime ) {
bar.x += 4
if ( bar.x > 1920 ) bar.x = 0
}
fe.add_ticks_callback( "tick" )

and start disabling objects. If you'll manage to identify the cause of stuttering I can look and see why it happens.

129
Announcements / Re: Version 2.4 sneaking in!
« on: July 24, 2018, 10:57:07 AM »
From what I remember it was supposed to save the power on idle. The tick function is suppsed to be called on each redraw ( if any of the object’s properties has changed since the last frame ) not every millisecond.

130
Most likely you forgot to add sel_alpha property to the list

131
Nahh... I don’t brag for titles, but thanks for appreciation.

Here are another 2 issues I found that may affect the borderless performance:

If you have DPI scale set in display settings to anything other than 100% do the following:
Right click on the shortcut to attract or on the attract.exe and tick disable DPI scaling on the compatibility tab, or
set the DPI override to "Aplication" (the options may vary depending on the version of Windows)

If your desktop resolution does not match the native resolution of the display it can also hinder the performance of the borderless mode. You can fix it by setting "GPU Scaling" in your driver settings.

By doing this you adding an extra framebuffer so when AM reads the snap from the disk it has 32ms instead of 16ms
to update the images. That makes the animations much smoother.

Or just use Full Screen if you can and you do not have issues with it like screen flashing on launching games :)

132
Check your window.am file if it’s not containing the negative offset

Code: [Select]
position -1,-1
size 1922,1082

If it looks like this you may be crippling the performance by skipping Windows’ borderless optimizations.
You can manually set it to the correct size

Code: [Select]
position 0,0
size 1920,1080

Or change your window mode to Full Screen and then back to Window (No Border)
The true window mode “Borderless Window” will be implemented in the future that won’t require this workaround.

This happens if you set Window (No Border) after Fill Screen.

133
Themes / Re: [CONCEPT] NEON Theme
« on: July 04, 2018, 09:38:09 AM »
One day it may come out of the concept phase. Recently I commited myself to improving Attract mode. Now when we have blending modes this theme is finally possible to construct as I wanted it.

134
Themes / Re: Ambience HD theme [WIP]
« on: July 04, 2018, 09:30:04 AM »
Hello, I introduce myself: I am igarikoitz, creator of the themes Aurora, Aura and Aura 4K for RetroFE.

After watching your latest video about the Ambience HD theme that you are doing, the possibility of the Frond-end Attrack Mode to create the themes has been powerfully called to me.

In August I have vacations in my work and I am considering studying the theme system used by Attrack Mode, to create a version of Aura 4K.

In any case, Oomek very good design. Keep it up so it's getting very impressive.

I'm happy that I'm the source of your inspiration. AM api is maybe hard to learn for the beginner, but if you spend some time dissecting other themes you will learn quickly and appreciate the versatility Squirrel provides.

135
Themes / Re: Ambience HD theme [WIP]
« on: June 27, 2018, 03:13:13 AM »
Andrew is in a process of merging my contributions to the Attract Mode on which my theme heavily relies on, so you have to be a bit more patient, It will be released as soon as the AM 2.5.0 is out

Pages: 1 ... 7 8 [9] 10 11 ... 21