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

jffilion83

  • Posts: 131
Hey =)

I was wondering if you could help out with the infinite system, Im trying to implement a minecraft style engine but Its not evident with the tiles as they are non interactive. Ive been trying to do a kind of huge map using only 1 screen width, with a map already stored as an attribute. Since the Tiles cant move, Im stuck with using actor for now, But since its 20 actor wide and 30 height, the scene can be overloaded really quick... which hits the FPS a lot, even with minimal behavior code.

I saw the game Miner that Coleislazy made, He did manage to do it, but Im quite sure how it was implemented.

Any help would be really appreciated.

In the meantime, you can beta test my current W.I.P. here http://www.stencyl.com/game/play/15704

Thanks,
Jeff.

Tuo

  • *
  • Posts: 2469
I can think of one way of doing it. The trick will be keeping track of all of the parts at once without the coding going haywire with lag if you have dug down like 1000 tiles (trust me, SOMEONE will do it).

It might take a bit to get around to it since my focus is back to my own game for now (just doubled the number of levels from 5 to 10 (which will be the end number)).
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
Adding another demo to the list, "Demo- Platformer 1- Base". This is the first of an actual series requested by Tobben a week ago. There are a ton of concepts in it, such as double-jumping, custom friction, enemy AI motion (including a Tile API version for those that shouldn't fall down platforms [think red koopa troopas]), and a lot more.

Expansions will be made soon (the original request was a full "run and gun" demo game).


In addition, I am announcing support for a new Stencyl chat that I am creating. It will be small for now as it's just starting off, but if I am online, it will let me quickly reply to a question, so please feel free to stop by. The address is pretty simple: http://www.livestream.com/stencyl :)

« Last Edit: November 24, 2012, 09:27:10 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
25 hours later, part 2 to the platformer is now completed. This extension covers how to add in mouse-based shooting and wall-jumping. I have commented only on the new sections to make them easier to find. You will see that I have some rather unorthodox methods to get around common problems :P, but my methods almost always work, and I hope they are simple to understand :).

Demo- Platformer 2- Wall Jump & Shooting
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
48 hours after part 1, the third (and currently final) part of the platformer series is now on StencylForge. The original request was to demonstrate a full run-and-gun game including how to switch guns. This third update now includes the switching of guns, and, as a bonus, how to program homing missiles that don't accelerate like crazy too! I hope it has fully answered your request Tobben ;).

Demo- Platformer 3- Guns Upgrades

(Now to making a infinite digging game... something I've never done before, but that's never stopped me in the past! :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
Jeff's request for a mining game demo is now complete. I made two versions of the coding inside of the same demonstration. Both make use of the tile API functions to find out what is happening around the player, but one uses a simplified approach to the creations of "drops" while the other uses a wrap-around list to store the type of drop for each location before the game is made (allowing for more advanced coding). As a bonus, I also demo'd how to make a quick effect for the drops and a nice overlay.

Demo- Miner
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
One of the most common game demo requests I've seen in the forums is how to make a Canabalt clone. Well, I have heard that request and now the count for my "Demo-" games is up to a dozen. The game itself is ironically one of the smallest I've ever made, with only 4 actors, 1 scene, 1 behavior (+2 events), but simplicity really helps it to show the main aspects of making a truly infinite platformer, one that even slowly speeds up ;).

Demo- Infinite Platformer
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)

Reckard

  • Posts: 7
Hey! You're demos are really excellently made and so are the explanations. The Platformer/Shooter combo in particular was just what I was looking for, except for one small alteration:

I'd like the character to jump and shoot just with buttons, and in a straight line (so he'd go left and shoot left, go right shoot right, jump left shoot left ect...) instead of using a mouth. I tried making some number variables to change depending on which movement key was pressed and when it was released so that when the "shoot" key was pressed it pressed in that direction equal to the variable number, but it didn't work at all.

Do you know a way to make something like that available? Thank you!

Tuo

  • *
  • Posts: 2469
Hello Reck, will try to update it tomorrow for you :)
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 was hardly enough to make a major announcement of a new demo, but there is now a "Straight Shooting" version of Platformer 3 for you :). You had the right idea by your post, just the execution of it was likely off a bit. I hope it helps you out :)
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
Hi Tuo

thanks for all the help

could you make a dungeon demo where there is a key and if you collide with it the door opens and you can progress to the next scene
Nothing is impossible, the word itself says 'I'm possible'!

Audrey Hepburn

Tuo

  • *
  • Posts: 2469
This might take a bit... I might use it as the basis for my next big thing. If I can pull of my plans, it will be one of the most dramatic things I've ever made in Stencyl (and I've done some pretty insane stuff). It will take a long time to make though.

For now, just the idea of using a key to open a door is not that bad alone. The basic idea is to make a game attribute that is defaulted to some "off" value. When you pick up the key, set that game attribute to its "on" value. Then, when you collide with the door, see if the game attribute is in it's "on" value (if so, switch scenes, if not then do nothing or message to find the key).

I didn't say to just use a boolean in case you are planning on using multiple keys for a single door. In that case, you could set the game attribute to 0 when the scene is created (to keep reusing the same game attribute over many scenes) and set it to itself + 1 each time you get a key. Then, for the door, you just have to check that the number equals the number of keys in the scene.

Make sense?
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
Hey thanks

yup it does I have a behavior like that my only problem is that the scene switching because my behavior is for my actor I can only choose one scene to switch into (but I think I have got a solution to the problem from gplar )I just wanted a demo to explain it to me.
Nothing is impossible, the word itself says 'I'm possible'!

Audrey Hepburn

Tuo

  • *
  • Posts: 2469
For a good, creative way to switch scenes, see Abigayl's second tutorial set (http://www.kongregate.com/games/Abigayl/stencyl-2-0-tutorial-1-basics). The basic idea is to name each scene as a number and then when switching, add 1 to the number and convert it back into a scene.
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)

solvalou

  • *
  • Posts: 48
Great work on the demos you've been putting out! I've been learning quite a few things from it  :)