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

Pages: [1]
1
Scripting / Re: can you make a video play for each display.
« on: March 21, 2022, 07:07:58 AM »
no it is my first language.

ok so im thinking like the "fade to game" using that we can set attractmode to display an image/video prior to launching the emulator.
what i would like to do is program it so that when we select a display from the main display for example to go from the main display to the NES display that is plays a video inbetween like this.

Main display shows > select NES display > Video Shows > NES Display Shows

2
Scripting / can you make a video play for each display.
« on: March 21, 2022, 06:07:00 AM »
Hello so new to coding in general and super new to squirril but having alot of fun with attractmode. so what i would like to do is have attractmode play a video clip when i move from one display to the next (im thinking console startup videos) so how would i do that.

my first thought was to look for the event handler that registers the click and loading the appropriatly titled display. but i cant find that in any .nut file i look at is that how attractmode works?

3
Themes / Added Video snaps for retrodiction theme
« on: March 07, 2022, 05:31:15 AM »
So after finding the Retrodiction theme here:
http://forum.attractmode.org/index.php?topic=3199.0

Loved it and use it as my theme for the set up im bulding, decided i wanted the video snaps and the logo for my games here is a video of what it looks like:
https://www.youtube.com/watch?v=ZlGjgtuK0Rw

And here is the Layout nut.

Also Please forgive the half finnished build. also if anyone knows why the font keeps doing that and how to prevent it ill be very grateful haha

4
Scripting / Re: Y value not affect placement in Layout.
« on: February 15, 2022, 04:17:52 AM »
Code: [Select]
function on_indextransition( ttype, var, ttime )
{
indicator_graph.height = (indicator_bar.height)/(fe.list.size) * (fe.list.index+1)
indicator_position.y = (indicator_bar.height)/(fe.list.size) * (fe.list.index) +418
indicator_text.y = (indicator_bar.height)/(fe.list.size) * (fe.list.index) + 418
}

fe.add_transition_callback( this, "on_indextransition" )

That's the section of code that moves the circle in the original layout

https://github.com/randombyt/RetroDiction/blob/master/layouts/retrodiction/layout.nut


Awesome thankyou, makes sense now you have pointed it out. obviously its vertical location would be based of the list rather than the objects location

5
Scripting / Y value not affect placement in Layout.
« on: February 15, 2022, 03:21:41 AM »
hey,

so ive been making some small modifications to the Retrodiction theme found here: http://forum.attractmode.org/index.php?topic=3199.0

ive added in a space above the games list for the game logo.

ive managed to freely modify every bit of the layout except the indicator circle. i can move it in the x axis but not matter how much i increase the y value its starting position never changes

i only started learning programming about a year ago for fun so its probably just me missing something small but any help would be appriciated.

here is the offending code as far as i can tell.

Quote
//Indicator Bar
local indicator_bar = fe.add_image( "images/indicator_bar.png", 21, 240, 12,730 );
local indicator_graph = fe.add_image( "images/indicator_graph.png", 23, 240, 8, 760 );
local indicator_position = fe.add_image( "images/indicator_circle.png", 5, 400, 42, 42 );



6
Themes / Re: The Great Themes Collection for Attract-Mode Plus [Beta]
« on: February 12, 2022, 04:19:04 PM »
yep still cant get the Emumovies videos to play on the displays menu

7
Themes / Re: Hyperspin Theme Mode [Released]
« on: February 12, 2022, 12:54:49 PM »

(edit NVM, just found the beta version)

Hey Yaron,

excellent work love this. i am having one small issue though. i cant get the system videos to play in the "hyperspin main menu theme" i tried placing them in

...\attract mode\menu-art\themes  (which is working for the wheel)

but neither are showing the video only the static

thanks


8
General / Re: Can I make certain URL to open with attractmode?
« on: January 10, 2022, 01:27:36 PM »
so its verry possible im just being an idiot here, but i tried all that and firefox tells me it didnt understand the address, and is trying to open the full file path including the.url at the end of the address

Pages: [1]