Beat It

If you're making a game, you can post about it here.
Forum rules
If you want to post a topic, you have to post some progress to show you are working on the game. Screenies or Video.

Beat It

Thumbs up x2

Postby Blablob » April 6th, 2013, 5:26 am

Play it here!

Hey, look. It's the first game I've actually managed to complete! (Well, mostly.)

Beat It is a game I had been working on for a little while - most days I actually didn't have a chance to work on it, so it took a litter longer to release it than expected. I was actually planning to release it last weekend - I think only Suyo knew this - but several issues held that up. Actually, there was one final thing I wanted to add to the game before releasing it. That is done, and overall, the game is finished.

However, there are a few glaring issues that I'd like to get around to addressing:
  • For one, the game has no music (this is mostly FlashDevelop's fault. It's extremely picky about what sound files you can use, and it's a bit of a mess to set up.)
  • You'll notice that pausing the game causes an issue in how objects are stacked. I've researched a lot about how to fix this, and I still haven't figured it out.
  • Some of the text isn't aligned correctly (this one is tricky. The alignment shows up perfectly when I test the game, but not when I upload it).
  • There is a small bug with pausing that causes some "Squares," as I call them, to stick to the floor of the screen.
  • The game seems to begin lagging when you've played it for a few minutes. Not too sure what to do about this, honestly. The Squares do disappear after leaving the screen, so it's not that.
  • The final unlockable might be a bit too hard to unlock. I've only unlocked it once, so tell me if you think I need to lower the cost.

But overall, I enjoyed working on this, and I'm proud to have finally finished it. More than anything, this was a great step in teaching me a lot about coding, so despite the crap quality, things can only get better from here.

By the way, those of you who have glanced at my sig in the last two months or so should have suspected that something like this was coming.

Also, one final thing. Before I get around to working on Epic Upgrade, I need to finish up a small other project (and I mean very small) that I kind of promised fourinone I would complete some day...

Enjoy!
User avatar
Blablob
Content for Contempt

 
Posts: 3108
Joined: September 6th, 2009, 3:38 pm
Location: That way

Credit To Team

Thumbs Up given: 67 times
Thumbs Up received: 229 times

Re: Beat It

Thumbs up x1

Postby Suyo » April 6th, 2013, 9:13 am

A few comments:
- I love that background. Very simple, but looks great.
- The risk vs rewards upgrades are an interesting idea. Maybe rename the label though, to "Combo Multiplier" or something. At first I thought it just influenced which combo value you start off from.
- My framerate is being very jumpy - and since you use a fixed timestep, sometimes the game get really laggy. Try using a variable timestep, which moves objects depending on the time since the last frame, not based on the framerate. There are hardly any downsides to variable timestep, so you should use it wherever possible
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Beat It

Postby ChaosYoshi » April 6th, 2013, 6:15 pm

I love how the backround, while simple, looks great,[/repeat] and it doesn't destract me from the gameplay at all, which I've found to be a reoccuring thing with a few of the block-style games I've tested recently.

If there's anything that bugs me, it's the fact that the game pauses automatically when the mouse goes off the game screen. I know you made it so that people don't have to worry in case they accidentally go too far. However, I can't remember how many times I have lost lives because by the time I resumed the game, because the paddle kinda warped a little before going back to my mouse, thus missing the ball that I wanted to hit. I also find it just annoying overall because it breaks the pace.
User avatar
ChaosYoshi
Prophet of Shadowsquid

 
Posts: 1174
Joined: February 23rd, 2011, 7:27 pm
Location: Pluto

A Good Start

Thumbs Up given: 62 times
Thumbs Up received: 49 times

Re: Beat It

Postby Blablob » April 7th, 2013, 5:04 am

I've updated the game. Most of the update includes some subtle changes, but there are some noticeable ones as well.

Suyo wrote:Maybe rename the label though, to "Combo Multiplier" or something. At first I thought it just influenced which combo value you start off from.

I thought the description should have explained that pretty clearly, but I changed the name so that it makes a little more sense.

ChaosYoshi wrote:If there's anything that bugs me, it's the fact that the game pauses automatically when the mouse goes off the game screen. I know you made it so that people don't have to worry in case they accidentally go too far. However, I can't remember how many times I have lost lives because by the time I resumed the game, because the paddle kinda warped a little before going back to my mouse, thus missing the ball that I wanted to hit. I also find it just annoying overall because it breaks the pace.

I personally found myself losing less often after I added the autopause. But I've added an option for people who don't want to have it.

Suyo wrote:My framerate is being very jumpy - and since you use a fixed timestep, sometimes the game get really laggy. Try using a variable timestep, which moves objects depending on the time since the last frame, not based on the framerate. There are hardly any downsides to variable timestep, so you should use it wherever possible

I did some research on this and I couldn't figure out how to set it up. There are some other aspects that affect the speed of the squares, but let's pretend for a second that my code is:

public function Main():void
{
addEventListener(Event.ENTER_FRAME, moveSquare);
}

private function moveSquare(e:Event):void
{
square.x -= 5;
}


Then how would I change the code in order to use a variable time step?
User avatar
Blablob
Content for Contempt

 
Posts: 3108
Joined: September 6th, 2009, 3:38 pm
Location: That way

Credit To Team

Thumbs Up given: 67 times
Thumbs Up received: 229 times

Re: Beat It

Thumbs up x1

Postby Suyo » April 7th, 2013, 6:26 am

Blablob wrote:I did some research on this and I couldn't figure out how to set it up. There are some other aspects that affect the speed of the squares, but let's pretend for a second that my code is:

public function Main():void
{
addEventListener(Event.ENTER_FRAME, moveSquare);
}

private function moveSquare(e:Event):void
{
square.x -= 5;
}


Then how would I change the code in order to use a variable time step?


Something along the lines of
Code: Select all
public prevTime:Date;

public function Main():void
{
     prevTime = new Date();
     addEventListener(Event.ENTER_FRAME, moveSquare);
}

private function moveSquare(e:Event):void
{
    var curTime:Date = new Date();
    var d:Number = (curTime.time - prevTime.time) / 1000; // d is now the time since the last frame, in seconds
    prevTime = curTime;

    square.x -= 300*d;
}


More info on how to set it up: http://forum.starling-framework.org/top ... frame-rate
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Beat It

Postby Raz » April 7th, 2013, 6:35 pm

I like it. It's fun.
Karyete, Master of Civil Conversation
Disclaimer: none of these messages have been edited, context can be provided if needed (thanks discord!) but absolutely does not change anything about these messages and that he's too overly defensive and cocky to make situations better

Karyete: I don't have anything to say to you, I've been deliberately trying to not offend you for years, actually, but apparently everything I say to you is wrong. You come across as so aggressive that you successfully intimidated me into not wanting to talk to you
Karyete: Seriously, what is your problem? And not only that, you fail to even acknowledge you might be in some wrong here.
Karyete: Oooh it's you? Hello. Feel free to drop this right now. You're going to make yourself look like an idiot.
Karyete: We don't want to hear your opinion at this stage.
Karyete: You're not getting any apology, especially after now.
Karyete: You can stay up on your high horse, continue to twist the truth and act like an absolute child all you want. I refuse to give respect to a man who right now is picking up a dropped argument because he simply cannot fathom the idea that he might be in the wrong.
Karyete: How pathetic
User avatar
Raz
"quite easily the most manly man of all" --Raz

Error contacting Twitter
 
Posts: 4432
Joined: July 12th, 2010, 5:48 pm
Location: :-)

Razzian Fighter

Thumbs Up given: 40 times
Thumbs Up received: 367 times

Re: Beat It

Postby Killswitch » April 12th, 2013, 5:58 pm

Good game. There's like a 75% chance for the game to lag. It's like the game is running fast and slow alternatively; it's a little frustrating.

Good thing you added the "Autopause"; I lost a life when I got moved the cursor outside accidentally.

The Willem Dafoe feature is awesome.

Question: How did you compile this?
Killswitch
Prophet of Shadowsquid

 
Posts: 1185
Joined: October 27th, 2010, 1:26 am

A Good Start

Thumbs Up given: 1309 times
Thumbs Up received: 28 times

Re: Beat It

Thumbs up x1

Postby Jellonator » April 12th, 2013, 8:45 pm

Killswitch wrote:Good game. There's like a 75% chance for the game to lag. It's like the game is running fast and slow alternatively; it's a little frustrating.

Good thing you added the "Autopause"; I lost a life when I got moved the cursor outside accidentally.

The Willem Dafoe feature is awesome.

Question: How did you compile this?

Most likely Flex SDK.
bepis lmao
User avatar
Jellonator
Code: Awesome

Error contacting Twitter
 
Posts: 342
Joined: August 28th, 2010, 6:25 am
Location: With Waldo.

Thumbs Up given: 18 times
Thumbs Up received: 42 times

Re: Beat It

Postby Killswitch » April 12th, 2013, 9:52 pm

Jellonator wrote:
Killswitch wrote:Question: How did you compile this?

Most likely Flex SDK.


I know it's possible that he compiled it with mxmlc.exe, but I wonder if he didn't use any of these stuff.
Killswitch
Prophet of Shadowsquid

 
Posts: 1185
Joined: October 27th, 2010, 1:26 am

A Good Start

Thumbs Up given: 1309 times
Thumbs Up received: 28 times

Re: Beat It

Thumbs up x1

Postby Blablob » April 13th, 2013, 3:25 am

Jellonator wrote:
Killswitch wrote:Good game. There's like a 75% chance for the game to lag. It's like the game is running fast and slow alternatively; it's a little frustrating.

Good thing you added the "Autopause"; I lost a life when I got moved the cursor outside accidentally.

The Willem Dafoe feature is awesome.

Question: How did you compile this?

Most likely Flex SDK.

Yes, I used FlashDevelop, which automatically comes with Flex.
User avatar
Blablob
Content for Contempt

 
Posts: 3108
Joined: September 6th, 2009, 3:38 pm
Location: That way

Credit To Team

Thumbs Up given: 67 times
Thumbs Up received: 229 times

Next

Return to Game Showcase