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

Pages: 1 2 3 [4]
46
Scripting / Re: Any one know the code of this grid sliding effect?
« on: April 24, 2017, 01:32:50 AM »
sorry i don't use this grid.nut. perhaps i will find time to look into it.

greets!

47
hey bjose!

thx for your ideas, but i don't use the conveyor.nut. i wanted to understand Scripting not by copying any Code without understanding it. so i dont understand all Relations in the GRID.NUT example layout and the conveyor class.
my TestTheme above is very short only for understanding it. ist not a nice Code.

i tryed also the NxL theme by atrfate. he has a theme with a grid like i want but it doesn't work in my attractmode :(

i will try some Things in my Code this week.

thx anyway! really nice of u.

48
Scripting / Re: Any one know the code of this grid sliding effect?
« on: April 23, 2017, 04:55:59 AM »
hi!

i also try to do this Scrolling effect AND i've done the Code for a Grid which scrolls ONLY when borders of Grid are hit (down or up). Left and reight borders will scroll through Favorites. if a border is hit the games will scroll not only 1 line, but a whole page (in my grid 4x3=12 games). to not confuse by Scrolling 12 games i also Need to add a smootch Animation.
 heres my working theme without Animation and the link to my thread:



http://forum.attractmode.org/index.php?topic=1611.0

the cool thing is also that a video is playing with bigger size of the actual game. in my thread u can download my .nut file and try.

perhaps we can do such grid togather. because a scrolling grid without hitting a border is not very handy i think.


49
thx for ur answer, but i tried many Things with no Progress.
is there a way to get an Information if an Animation has ended?

i want to update my indexoffset only after Animation end.
i want to scroll a gamegrid with 12 games up with nice Animation.add. only after Scrolling up 1000 Pixel, i want to update the gameindex.

does anybody know a nice solution?

in my attachment there is the .nut file. the theme works. but adding animations is now a pain with my Code. i think my Code sux.

and heres a pic of my theme. ist like the grid BUT the game_index only Progresses by going down the grid end or up. you can move free left to right and up and down and the list stays. the favorits Switch only if you go beyond 4 games left or right.


50
hi and thx for this great Project!

i use the Signal function to check my downkey. after pressing down 4 times i want to Animation.add WITH wait function.
i don't want to usee the When Option, because i want to start the Animation only after 4 key downs.
it seems the wait=true Option sticks in a Loop wihtout using a whenoption.
when i use when= When.ToNewSelection , the wait Option works.
is there o way to make a wait Thing on my own? or how can i manipulate an existing Animation (start, stop or delete)?




local movey_cfg = {
   //when = When.ToNewSelection,
    property = "y",
    end = -y*300-100,
    time = 800, wait=1
}

fe.add_signal_handler( "on_signal" );
function on_signal( sig )
   {
      switch ( sig )   
      {
         case "down":
         {
            if (frame_y < y-1)
            {
               frame_y += 1;

            } else {
                     animation.add( PropertyAnimation( gamegrid_surface, movey_cfg ) );  <------------
                fe.list.index += x*y;
            }
            return true;
         }
...............



thx

Pages: 1 2 3 [4]