YouTube home Comedy Week on YouTube
Upload

Mirroring the Sprites

DesignsbyZephyr DesignsbyZephyr·63 videos
6,540
4,353
Like     Dislike 2

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like DesignsbyZephyr's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike DesignsbyZephyr's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add DesignsbyZephyr's video to your playlist.

Published on Sep 4, 2012

This tutorial will teach you how to mirror a sprite along the X and Y axis in our 2D game engine.

Let me know what style game we should build with our engine: http://svy.mk/QYKG4b

I will include the final project source when the game is complete, and will update this description with them at a later date.

If you enjoyed the video please Subscribe, Like or Comment, and let me know what's up!

Website: http://www.vanZeben.ca
LiveStream: http://www.twitch.tv/vanZeben

Outro Song:
Approaching Nirvana - Pirate's Call
Check them out here: http://www.youtube.com/user/Approachi...

Used in accordance with: http://www.youtube.com/watch?v=m0HbjN...

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Top Comments

  • casvanmarcel

    this is needed to simplify the artwork process. if he can flip images on the X or Y axis than he only needs to draw one image and flip it instead of drawing 2 images, one facing one direction and the other one the other direction. he is following best practices

    · 8

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate casvanmarcel's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate casvanmarcel's comment.
    in reply to The Zigec (Show the comment)
  • seigeengine

    I both agree, and disagree. It works here, but you'd need special case for any instance this was different, which is a huge problem, because you're going to need new code to save only a little bit of memory. If you change your mind later to just use the other way, you're going to need to alter all your code and current assets. The memory saved is tiny, and honestly not really worth it. Yes, memory adds up, but memory is also cheap, and most people have a lot of it. It's far from black and white.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.
    in reply to Gradualcheetah (Show the comment)

All Comments (33)

Sign in now to post a comment!
  • turnstray

    Is it possible that my colors are different than yours (his)? Mine seem to be much darker.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate turnstray's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate turnstray's comment.
  • GoldTrousers

    1: I I'm not whining, just trying to explain my point.

    2: You're the only one getting mad and annoyed at this argument.

    3: You've basically stated that all optimization is pointless and you shouldn't care about it.

    4: I'm not being passive aggressive or egotistical at all.

    5: You've completely denied the point I've been make the whole time.

    6: I agree that this is utterly pointless and we will never come to a consensus, farewell.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.
    in reply to seigeengine (Show the comment)
  • seigeengine

    You're ignoring that I'm speaking to your beliefs, and not a specific case.

    No, you don't.

    Has very little to do with the processor.

    Stop whining I already answered this.

    Go away, shut up. I'm sick of your cowardly passive-aggressive ways of demonstrating your ridiculous ego over your lack of programming knowledge, or skill.

    I will not be replying anymore.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.
    in reply to GoldTrousers (Show the comment)
  • GoldTrousers

    How is it butchering your code conventions just because you mirrored a sprite rather than drew an extra tile on the sprite sheet. You type maybe 2 or 3 extra lines and save a few bytes on the sprite sheet image. Sure it's minimal in the scale of several gigs of RAM and 3.4ghz processors, but if you know how to do it, and it doesn't effect your codes versatility or effectiveness, why not do it if you have the time. The little things here and there can add up to several extra FPS in the end.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.
    in reply to seigeengine (Show the comment)
  • seigeengine

    No, it doesn't. It's general good design practices that you're not following by butchering coding conventions with your naive obsession with false optimization.

    It has nothing to do with making your code work on more people's PCs.

    Stop pretending you know anything about programming, and go away.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.
    in reply to GoldTrousers (Show the comment)
  • GoldTrousers

    Really all comes down to what your making and how much time you intend on investing in it. If you're going to distribute your product you might want to go through the extra steps to make it to work well on as many peoples PC's as possible.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate GoldTrousers's comment.
    in reply to seigeengine (Show the comment)
  • seigeengine

    You've repeatedly insulting my capabilities, and aptitudes as a programmer, and made sweeping statements both about myself, and the field. For that, I can get angry. You're still insulting me now. Stop it.

    Excessive optimization is bad. It is a waste of time, and often futile. As anyone who has actually worked on any serious software project can tell you, there are more important things than efficiency, and a pursuit of optimization can result in you writing inferior code, and wasting time.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate seigeengine's comment.
    in reply to GoldTrousers (Show the comment)
  • The Zigec

    Thanks, i don't really remember posting this, and i feel kind of bad, when i look back to my "programming".

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate The Zigec's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate The Zigec's comment.
    in reply to GoldTrousers (Show the comment)
  • Loading comment...
Loading...
Advertisement

Next in Java 2D Game Engine Development: Season 1 Episodes

Suggestions

Loading...
Working...
Sign in to add this to Watch Later