Tuo's 26 (+2) StencylForge "Demo-" Games & Chat (Updated: 05.21.2016)

Tuo

  • *
  • Posts: 2469
Here you can find demonstrations of common issues with coding that are fully available to use on StencylForge, where you can find them all quickly by doing a search for "Demo-" as only I (at the time of writing this) use that titling (NOTE: New demos will be lacking the "-" part since the new titling system doesn't allow for hyphens). The parentheses show which Forge the demo is available in:

"Demo- Infinte Climb": A basic infinite climbing mechanism that is easier to understand but less flexible, as well as wrap-around player movement. (2.2 & 3.0)

"Demo- Infinite Climb (Advanced)": An advanced infinite climbing mechanism that allows for much greater flexibility if you understand it, again with wrap-around movement. (2.2 & 3.0 [as a part of the normal version])

"Demo- Clicking Stacked Actors": A fast, simple method to grab the top actor in a stack although it is not very expandable. (2.2 [3.0 has Jigsaw Puzzle, which is a better version IMO])

"Demo- Clicking Stacked Actors (Advanced)": A more involved method that allows some flexibility with selection orders. (2.2 [3.0 has Jigsaw Puzzle, which is a better version IMO])

"Demo- Jigsaw Puzzle": The basics for a simple jigsaw puzzle, including the most advanced of the clicking stacked actors coding that includes changing layers, snapping pieces into place, and checking for completion. (2.2 & 3.0 [which is Featured :D])

"Demo- Sonic-Style Running": An elegant but advanced method for doing angular platformers, specifically running up walls and inside of loop-de-loops that can open/close (and thus a short Tile API demo too). (2.2 & 3.0)

"Demo- Upgradable Shooter": The primary purpose is to demonstrate how to do an upgrade shop (with three different ways to purchase upgrades). That said, this has a TON of other demos inside of it since this is a fully-working game. (2.2 & 3.0)

"Demo- Platformer 1- Base": This is the beginning of my "Run & Gun" example game. It includes a lot of concepts, including double-jumping, multiple enemy AI coding, scrolling, and a ton more. (2.2 & 3.0 [As "Demo- Simple Platformer"])

"Demo- Platformer 2- Wall Jump & Shooting": This is an extension of the base platformer game to show how to add in wall jumping and shooting. (2.2 [3.0 as "Demo- Complete Platformer"])

"Demo- Platformer 3- Guns Upgrades": This is an extension of the base platformer games to demonstrate how to add in gun switching and homing missiles. (2.2 [3.0 as "Demo- Complete Platformer"])

"Demo- Miner": This demo goes over how to make a massive mining game (200x300 tiles!) without lag, using tile API, and two drop methods (a simple RNG and a wrap-around list). (2.2 & 3.0)

"Demo- Infinite Platformer": I have been seeing too many "Canabalt"-like requests, so I decided to make a very simple version for everyone to learn from. (2.2 & 3.0)

"Demo- Platformer 3 - Guns (Straight Shooting)": This is a quick adjustment to the normal Platformer 3 (all of the changes are in the player) to make the shooting come out straight instead of towards the mouse. (2.2 [3.0 as "Demo- Complete Platformer"])

"Demo- Infinite Space Shooter": This demo was certainly a blessed one. God gave me a brain to come up with a perfectly seamless wrap-around behavior to simulate a truly infinite game in both dimensions. It also is chock-full of other techniques, including actorless buttons, centered text drawing, drawing HP/time bars, magnetic coins, time-limited power-ups, and a ton more. (2.2 & 3.0)

"Demo- Word Search Game": This demo goes over how to use lists (including pseudo-2D ones) and drawing codes to make a fully functional word search game. It's pretty intensive on the coding, but the entire game is all in just one massive scene behavior. (2.2 & 3.0)

"Demo- Off Screen Actors": This demo covers how to handle a large scene with a ton of actors (the demo has 1000) with minimal lag by using lists to store what the actors off-screen are doing so that they can be killed and re-created once they are close enough to matter to the player. (2.2 only)

"Demo- Dress Up Game": Okay, first don't look at the graphics :P. This is a demonstration on how to attach "clothing" to an actor which then stays with him throughout the game. The same concepts can be used for attaching swords, shields, etc. for other games. (2.2 & 3.0)

"Demo- Explosions": This is a quick demo designed to show how to make explosions that send particles flying and that create a force that will affect nearby actors in a realistic way. (2.2 & 3.0)

"Demo- RPG 1 - Dialogue": This is the first of a possible RPG set. The entire focus is on making a robust dialogue engine; mine is controlled by the distance to the player and allows for branching choices, as well as controlling actors via the dialogue (such as controlling whether or not the player can go to the next scene). (2.2 [3.0 as "Demo- Complete Platformer"])

"Demo- Actorless Card Duel": This is likely going to be my only advanced demo game. It is rather small actually (only two scenes (and 3 fonts)), but it's mega-sized on the coding... and the comments to explain that coding. It's great for seeing how to use lists extensively, use methods to speed up redundant codes, or how to stretch drawing blocks as far as they go. (2.2 & 3.0)

"Demo- Truly Infinite Platformer": This is a major expansion on my other infinite platformer games, taking the games fully into the second dimension. Now, the player is able to explore anywhere that they desire to go. (2.2 & 3.0)

"Demo- Complete Platformer": It doesn't get bigger than this: a complete game! This is the game you see on NewGrounds, Kongregate, and here in Stencyl (called "A Corny Platformer"). Seriously, it has so much packed into it, you'll just have to check it out to see all that you can learn from it. (3.0 only)

"Demo- Real Text Boxes": This came as a request from GregAnims. Making a REAL text box (one that can handle things like copy/paste, etc.) requires some AS3 coding knowledge, but I did my best to simplify it to something that can be used by most non-newbie Stencylers. (2.2 only [I don't know how to do it in HAXE])

"Demo Radial Gravity": This came from a request in the "Ask a Question" section. In the end, it's three demos in one. One covers a simpler one-planet gravity system. The second focuses on a very controlled method to hover around a planet. The third shows off how to handle multiple planets at once.

"Demo Light Sources with Image API": This came from a request from some friends of mine. It contains three different ideas for handling multiple light sources. One works well in flash and is the most expandable option. Another is a unique workaround to deal with non-flash image API lag issues. The third goes over just static images. There's also a quick "scratch off" tutorial in the title scene.

"Demo Updated Puzzle": This is an update to my old "jigsaw puzzle" demo. It utilizes the Image API system in some pretty sweet ways to automatically generate the puzzle pieces, allowing for quick expansion and multiple difficulties.

---------------------------------------------

"Invasion from Below": This is actually my submission for the Ludum Dare 29. I've uploaded it to the StencylForge though so that anyone who has access to 3.1 (as of writing this, only paid users can use it) can see how to use the image API in almost all its forms.

"Grid Movement Options": This shows four ways to do grid-snapping movement in Stencyl, ranging from simple to complex all in one game. I may convert it to a demo later if there is demand for it.

Feel free to request a game tutorial on a concept (just know I might refuse 8) )

Also, I am now running a Stencyl support chat (http://www.livestream.com/stencyl). I can't guarantee I will be on, but if I am, it's an opportunity for you to get some instant answers. :)

« Last Edit: May 21, 2016, 12:06:23 pm by Tuo »
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
EDIT: Adding my initial post here to clear up the first post to list the Demos:

Since I have been making some demonstration/tutorial games for folks in "Ask a Question", I figured I might as well catalog them all here for anyone to use. You can find them all quickly by doing a StencylForge search for "Demo-" as only I (at the time of writing this) use that titling. As of 11.06.2012, there are two to use:

"Demo- Infinte Climb": This shows how to make a basic infinite platformer vertically by making the platforms themselves move instead. It's indeed rather basic, but it can help give an idea as to how to make an infinite game (as well as how to do wrap-around player movement).

"Demo- Infinite Climb (Advanced)": This is a more detailed version of the infinite platformer. It uses methods to allow for changing the delay between platforms over time, as well as how to make the speed change at the same rate for a smooth transitioning from easy to hard. [Includes coding comments.]



Just added another two to the list:

"Demo- Clicking Stacked Actors": A quick way to see if actors are on top of each other, and if so, only click on the topmost one. [Includes coding comments.]

"Demo- Clicking Stacked Actors (Advanced)": A more thorough way that includes a manual ordering of the actors. Has a lot more functions than the basic method, such as reversing options to find the actor on the bottom instead. [Includes coding comments.]

« Last Edit: November 14, 2012, 09:46:45 pm by Tuo »
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
Added yet another to the list:

"Demo- Jigsaw Puzzle": Shows a different way of dealing with stacked actors, as well as layers, and snapping into position... aka, everything you need to build a basic jigsaw game.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
Do you mean like in Sonic? I am thinking of a way to pull that off, but it might take a bit. I hope you don't mind screwing gravity :P.

EDIT: The programming part is simple enough to do... rounded collisions not so much...

« Last Edit: November 14, 2012, 09:57:33 am by Tuo »
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
Been working on it for quite a bit now. The system's a bit buggy, but it's getting there... I just need to figure out how to stop you from climbing UP walls (I guess we can think Knuckles instead of Sonic :P).
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
It took several hours today, but I finally got it mostly bug-free. I hate using tiles "normally", but I don't think you'd want my additional coding for rounded collision tiles, so it will have to do. In the end, while the coding is tricky in some spots (I hope you like some Tile API usage), it ended up being a rather elegant solution. Anyways, add another to the list:

"Demo- Sonic-Style Running"
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
What modification specifically were you looking at?
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

ridhwaan08

  • Posts: 288
Could you make a demo on a upgrade shop thanks ;D
Also thanks for all the other demo's
Nothing is impossible, the word itself says 'I'm possible'!

Audrey Hepburn

Tuo

  • *
  • Posts: 2469
One of the most common requests I've seen... will try to make one soon.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

ridhwaan08

  • Posts: 288
Nothing is impossible, the word itself says 'I'm possible'!

Audrey Hepburn

Tuo

  • *
  • Posts: 2469
This one is taking a bit to make since I kinda need a game in order to have an upgrade shop that makes sense :P.

EDIT: Why do I always care so much, even for just demo games...? I just finished making embossed buttons for a demo game...  :o

« Last Edit: November 15, 2012, 08:26:07 pm by Tuo »
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
Well, it's past midnight, and after several hours, I have a "demo" that is basically a working game. I even put in a startup scene to allow for saving/loading. Ironically, I've had more fun playing with this "fast" demo than the actual game I am creating for real... (I will warn anyone playing it for fun that I am good at these types of games and adjusted the difficulty for myself)

Anyways, the shop goes over three primary different upgrade types: 1. Choice selection (only one possible), 2. Plus button (infinite upgrades), 3. Bar selection (for a range of values).

Coding comments will be added soon (as I said, this post is after midnight).

"Demo- Upgradable Shooter"
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

ridhwaan08

  • Posts: 288
thanks I am gonna download it
Nothing is impossible, the word itself says 'I'm possible'!

Audrey Hepburn

Tuo

  • *
  • Posts: 2469
Now the demo is fully commented. I did my best to explain how it all works together, but feel free to ask for further clarification. It's hard to do the comments when there are multiple pieces that work together at once in different events.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Tuo

  • *
  • Posts: 2469
I'm halfway asleep right now, but try to move the coding around so that the force to the 90+actor (the one that pushes the actor into the tiles) only activates if a direction is being held down (or add in a local number attribute to get a delay between a direction being held down and deactivate it when the time has passed). If you need me to do it, will try to look at it tomorrow.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)