Stencyl bar when test game8/2/2023 ![]() Also make sure that everything is filled in appropriately(i.e. Almost sure that would NOT cause the error you're having, but it would/should help prevent errors down the line.īest I can suggest is check all of your list entries, and double check any other events (like created, updated, drawing), to ensure everything is filled in properly.īlanks are code killers in Stencyl, and they are easy enough to miss, especially when you have a lot of code. However, in looking at what you do have, I'm going to strongly suggest taking your If current HP block and moving it to an updated, or, even better, on to whatever event actually lowers Current HP. Ok, without looking at your entire code, including all of the items in the list, I don't know that I will be able to help you track down the error. I think that about covers your questions. This should set you up with an HP bar that always drops left, according to the percentage of enemy HP remaining. ![]() Set Stroke Color to ĭraw Rectangle at, with a width of, height of įill Rectangle at, with a width of - ) ), height of I'm going to use arbitrary numbers, but the premise is the same: Set stroke thickness to So, you have your first rectangle, that is going to be the HP Bar. That should more or less cover you for the random generation side of things. if you are killing and loading the actor// if you are going the animation change route// Go to Scene -> Actors in the palette, drag a create actor out, select your actor and the x and y coords you want it to show up at.Īs 1234abcdcba4321 said: if (enemyHP =< 0) So, first step will be loading up your first enemy. If you name your animations accordingly, it should be fairly easy to set up. I think for the sake of what you are doing, it may be easiest to have a single actor, with different animations for the different enemies. I still haven't figured out if stencyl is capable of objects, so I just do what you have done and use lists in place of objects. Let's start with: List in stencyl are, for all points and purposes, arrays. placement for the super evil square doesn't matter, as I can move it any time. I looked through that now around 2 hours and can't find myself a way to do that.ītw. If enemy dead -> everything starts from above The super sexy rectangle gets filled to 100% and when the player attacks the super evil square the alloted damage will deduct the temporarly set HP and reflect that by the rectangle. How can I now say: Get yourself a new enemy and draw actor X, give him values of those items from these lists. I also already drew myself a most beautiful rectangle which I can fill. (This way I can add as many lists and just make a random roll to select one number and use it for all lists and have a full sprectrum of values with one roll at hand. So as I can't find a way to create 3 dimensional arrays I created myself 2 lists. My first game already works better than I could have thought and at the moment no problems on that one.īut I already have a second little game in my head to learn stencyl better to understand and for that I have a static little square of pure evilness, which has to be killed, else we will all gonna die. I am already quite far with learning on Stencyl, thanks to this cool community :) I'll quote myself out of the Stecyl Boards: So but now I wanna try something else and for that I need some help and I bet some of you guys know how it is being done. ![]() As this is more a testing what I can do and how stuff is done, I am really glad to see how far I have come with that, which is by far more I ever achieved in HTML5 or Unity etc. I am getting already quite far with stencyl and made a game, that some of you might have already seen. Add -site: to the end of your search.ĭevelopment Idea Meta None Prototype Request Tutorial Update VideoĪndroid Cross-Platform Downloadable Flash HTML iOS Unity Webplayer WebGL It's very easy to exclude a specific site. Try an autoclicker and check out additional information: No games using real cryptocurrencies, NFTs, or blockchain Posts about a specific game must include the name of the game in the title, body, or comment Please refer to the expectations and guidelines for using this subreddit Spam will be removed and spammers will be banned, when in doubt, contact the mods about a link. ![]() Check the wikiīe nice No personal attacks, death threats, witch hunts, bigotry and the like. (E) requests for autoclickers (except in the Help sticky). (D) Anything about your own content more than 1 time per week at most, excluding new game announcements (A) requests for help finding games (except in the Help sticky) This genre is growing at a break-neck pace, be part of the revolution! Rules This subreddit is for us lovers of games that feature an incremental mechanism, such as unlocking progressively more powerful upgrades, or discovering new ways to play the game. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |