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.
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.
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
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 . . .
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
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 . . . )
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
edited December 2013
Recursive Formula Demo
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!
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 . . . . . . . . . ]
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.
@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.
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 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.
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.
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!
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.
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!
Comments
This is an example of a scrolling scene with a mini-map.
Arrow keys to move.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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.
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.
I have someone who wants to know how to do scrolling scenes with a universal build so I'll probably post that soon.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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 . . .
More details at http://forums.gamesalad.com/discussion/comment/439125/#Comment_439125 (note: Pro forums area).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Great stuff ! >-
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
)
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!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
(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.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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 . . . . . . . . . ]
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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!
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
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.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I included a few notes...this should easily merge into a project.
here is a video.
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
Howdy Doody - Merry Christmas Everybody - ooops it's past that, New Years!
:-t
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
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
I'd love to see you crack a viable flood fill (and then steal it for myself )).
Ha ! That's great, who would have thought there was a big smiling poo in unicode !
)
http://forums.gamesalad.com/discussion/63093/community-tutorials-by-braydon-sfx#latest
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx