Spare Code ? Dump It here.

191012141527

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Mini Map demo

    This is an example of a scrolling scene with a mini-map.

    Arrow keys to move.

    image
  • SocksSocks London, UK.Member Posts: 12,822
    A dynamic lens-flare set up . . . . . for games, title sequences and, of course, large alien motherships coming to destroy the earth with their giant otherworldly laser cannons.

    Two ways to control it - double click the main control (the light source) and chose either 'move by hand' or 'automatic move', 'move by hand' is basic drag it around with your finger/mouse and 'automatic move' is a simple pseudo-random movement (just to demo the flare moving) - but obviously if you wanted to use the lens flare in your SuperSpaceDeathWarriors™ game you'd dump both these controls and constrain the main control to a light source (the Sun, a rocket, missile, explosion . . . etc etc)

    Flick the video over to 720p as you can't see the subtle details at the default 360p.

  • SocksSocks London, UK.Member Posts: 12,822
    Mini Map demo
    @tatiang

    Excellent ! :)

    I've already stolen this for my game ! >:) Once you look into it, what you've actually done is pretty simple (like most things in GS), but the overall effect really works well.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Share and share alike. Thanks, @Socks.

    I have someone who wants to know how to do scrolling scenes with a universal build so I'll probably post that soon.
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    @tatiang
    Share and share alike. Thanks, @Socks.

    I have someone who wants to know how to do scrolling scenes with a universal build so I'll probably post that soon.
    Yes, that would be useful, those kinds of questions come up on a daily basis.

    Here's a weird (but ultimately pointless) experiment, I was seeing if I could generate a complete 24 bit spectrum with just a single black and white image in GameSalad . . .

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2013
    Graphing Demo

    image

    More details at http://forums.gamesalad.com/discussion/comment/439125/#Comment_439125 (note: Pro forums area).

  • -Timo--Timo- Member Posts: 2,313
    COOL! thanks for sharing :)
  • SocksSocks London, UK.Member Posts: 12,822
    @tatiang
    Graphing Demo

    Great stuff ! :)>-
  • SocksSocks London, UK.Member Posts: 12,822
    This is just an effect someone might like use in a game somewhere . . .
  • SocksSocks London, UK.Member Posts: 12,822
    flies !

  • SocksSocks London, UK.Member Posts: 12,822
    Random curved grid path (what a random title) :))

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @Socks Like the rings and lol @ the flies!
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    @tatiang
    @Socks Like the rings and lol @ the flies!
    The rings might be good for some kind of space game, a portal into another world perhaps or maybe just a backdrop for a score / level page . . . . and the flies . . . hmmm . . . . good to follow around animated hobos . . .
    :))
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2013
    Recursive Formula Demo

    image
    screenshot

    [Aside: I've been working on trying to implement recursive formulas. Recursive loops and spawning of actors (e.g. for a grid) aren't too difficult but I was having trouble getting calculations to work. My goal is to set up a recursive flood fill (http://en.wikipedia.org/wiki/Flood_fill) for no specific purpose but to see if I can do it!]

    This project solves the recursive formula a[n]=2a[n-1]+5 for a[1]=3 and (theoretically) any value of n, though I wouldn't push it past about 25 in testing. ;)

    See the actor notes for details...

    Would love some feedback from @Socks, @RThurman and anyone else!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2013
    Recursive Fibonacci Demo

    (See post above for back story).

    Works up to about n=45.

    See http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibtable.html for accuracy.


  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    @tatiang
    Would love some feedback from @Socks, @RThurman and anyone else!
    I would love to be able too !! But I know nothing about recursive formulas !!!

    I need to look into them, the idea of a flood fill (I know what that is at least ! :) ) sounds very useful though, I'd love to see someone pull that off in GameSalad.

    [heads off to look up recursive formulas . . . . . . . . . ]
  • ArmellineArmelline Member, PRO Posts: 5,403

    This is actually quite a funny project (I did it as an example for a question asked in the forums), even though I made the project myself, I can never remember how it was done, I can never get my head around how you would be able to scratch through one layer to reveal one beneath, so I open the project and check to see how it was gone . . . . it then becomes obvious . . . a few weeks later I've forgotten again and have no clue as to how you'd do it, it's weird, it's like the method (as cheap and easy as it is) won't stick in my memory !?
    I'll admit I opened this file up, went "that's really clever", and clicked on every actor looking for the code to reveal the win/lose actor before realising what you'd done. You clever bastard, you.
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    @Socks
    WOW! You just keep belting these out. I have no idea how to get graphics effects like those. I'm glad someone does! Thanks for sharing these!
  • -Timo--Timo- Member Posts: 2,313
    awesome :) thanks for sharing!
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    @tatiang
    That's some pretty impressive problem solving! Elegant combination of spawning spawners and tables there!

    When I read the title, I though to myself, "How is he going to do that?" Then when I saw what you did, I had one of those, "Doh... Of course that's how you would do it" moments.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Thanks, @RThurman. The flood fill is going to be a lot harder to tackle. That and I eventually want to make a match-3 demo that uses recursive searches.
  • Thunder_ChildThunder_Child Member Posts: 2,343
    edited December 2013
    I was tweeking a game and suddenly wanted to make what looks like a particle...become unstable over a period and then explode...right now the actual explosion is not so interesting as much as the period over which the particle becomes unstable...I think it worked out pretty good...thought I would share....

    I included a few notes...this should easily merge into a project.

    here is a video.

  • mataruamatarua Auckland, New ZealandMember Posts: 854
    flies !

    This becomes all the more powerful by combining a single character. Unicode of course ;)

    Howdy Doody - Merry Christmas Everybody - ooops it's past that, New Years!
  • Thunder_ChildThunder_Child Member Posts: 2,343


    This project solves the recursive formula a[n]=2a[n-1]+5 for a[1]=3 and (theoretically) any value of n
    Yea...what he said....
    :-t
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    @Thunder Child - Nice! Thanks for sharing with the community.
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    I got to thinking about the conveyer belt demo @Socks did a while back (http://forums.gamesalad.com/discussion/comment/435730/#Comment_435730).

    I thought about using min and max functions along with Socks' favorite equations to flatten an ellipse into a conveyer belt. Might be useful for someone!

    http://www.mediafire.com/download/v2midjbniew6d5j/flattened_ellipse.zip
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    Thanks, @RThurman. The flood fill is going to be a lot harder to tackle. That and I eventually want to make a match-3 demo that uses recursive searches.
    @tatiang

    I'd love to see you crack a viable flood fill (and then steal it for myself :))).
  • SocksSocks London, UK.Member Posts: 12,822
    I got to thinking about the conveyer belt demo @Socks did a while back (http://forums.gamesalad.com/discussion/comment/435730/#Comment_435730).

    I thought about using min and max functions along with Socks' favorite equations to flatten an ellipse into a conveyer belt. Might be useful for someone!

    http://www.mediafire.com/download/v2midjbniew6d5j/flattened_ellipse.zip
    Love it, much more simple to implement than my version. :)>-
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    @matarua
    flies !

    This becomes all the more powerful by combining a single character. Unicode of course ;)

    Howdy Doody - Merry Christmas Everybody - ooops it's past that, New Years!

    Ha ! That's great, who would have thought there was a big smiling poo in unicode !

    :))
Sign In or Register to comment.