Skip to main content

Most Recent Post

My Thoughts on Hollow Knight

Hollow Knight.  It's a game that I've been playing for awhile now, and one that I can't seem to get enough of lately. I've been wanting to do a review on this for awhile now, but I wanted to give my thoughts on it, after I got a 100% completion and at least beat the game's first 3 endings (for those of you who don't know, Hollow Knight apparently has a total of 5 endings, 2 of which I have not had the pleasure of achieving yet). In this review, I will divide my thoughts on the different aspects of the game in sections to better explain my experience. Now that I've gotten that all out of the way, I'm rather eager to tell you my overall thoughts on the game. Without further ado... First Impressions In any situation, be it interviewing for a job, making new friends, or in this case, starting out in a new game, first impressions are essential to grabbing someone's attention and keeping them interested.  The game starts out with a poem, which reads: In wi...

Coding Tricks(Collab. with ScratchStang)

The following post is a collab. with a Scratcher known as ScratchStang. Check out her blog here. And now, here is her section:
"Rather than using numerous if-then else statements, swap them out for a simple technique: setting the value or trait directly based on the input. For example, say you wanted to code something like this:"
"You can easily switch that hefty piece of code with this tiny thing, given that X has bounds and stuff"
"You can fix the X not matching with, say, a costume by limiting X."
"I hope that was helpful."
"'There definitely won't be a sequel.'--Stang"
Alright, now it's my turn.
A Two-sprite scrolling gen.
DISCLAIMER: Depending on the size and shape of the Person sprite, and Ground sprite, results may be different for you. Also, this isn't for a big open world, although I'm still working on it, and it's still in it's beta phase.
Alright, first off, create your person:
That's a business guy if you couldn't tell. Then create your ground. Don't really worry about the shape for the ground.
Then put this in your person sprite(Or you could get a little fancy and add animation and stuff):
That's it. For the person at least. Now here comes the fancy part. First, go to your ground sprite, and make 3 new variables. Then put them in a code like this in the ground sprite:
The reason this is so small at first is because, well, you gotta start somewhere... Now, on the same string of code, input the main loop:
Pretty big right?
You might be wondering if there's anything special about the custom block. Well, there is, and it's pretty simple. All there is, is the "run without screen refresh" that you need to do.
Then just use this for the "define the custom block" part:
That's it! I would've added more, but as I said before, it's in it's beta phase. Stay tuned!
Animator, gamer, blogger,
-Warriorbuilds3

Comments

Popular posts from this blog

My Thoughts on Hollow Knight

Hollow Knight.  It's a game that I've been playing for awhile now, and one that I can't seem to get enough of lately. I've been wanting to do a review on this for awhile now, but I wanted to give my thoughts on it, after I got a 100% completion and at least beat the game's first 3 endings (for those of you who don't know, Hollow Knight apparently has a total of 5 endings, 2 of which I have not had the pleasure of achieving yet). In this review, I will divide my thoughts on the different aspects of the game in sections to better explain my experience. Now that I've gotten that all out of the way, I'm rather eager to tell you my overall thoughts on the game. Without further ado... First Impressions In any situation, be it interviewing for a job, making new friends, or in this case, starting out in a new game, first impressions are essential to grabbing someone's attention and keeping them interested.  The game starts out with a poem, which reads: In wi...

The Set-size Glitch

Today while I was animating on scratch, I came upon one of the strangest glitches I had ever seen in my life. I was animating like normal, and I was testing something. Then I noticed it. The mouth for my OC was unusually large. If you don't animate, your probably wondering what the heck I'm talking about. You see, I happen to animate with the mouth and eyes as separate sprites, so I don't have to redraw everything again and again. It's a HUGE time saver. Anyways, I changed the costume of the mouth and tried it again, and this time, the Set-size block worked perfectly. After experimenting for at least 15 minutes, I gave up and decided to redraw the costume that wasn't working, and that when it happened. For some strange reason...it worked perfectly. An odd little glitch for my animation that's coming out soon.