Mirroring the Sprites
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
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...
-
Category
-
Directed by:
-
License
Standard YouTube License
- Partner rating: No mature content (Learn more)
Loading...
Loading...
Loading...
Loading...
Loading...
Next in Java 2D Game Engine Development: Season 1 Episodes
Suggestions
-
33:16
Setting up the JFrameby Programmer extraordinaire
42,246 views
-
26:33
Colour & Rendering Optimisationby DesignsbyZephyr
6,949 views
-
28:11
Level/Tile Developmentby Programmer extraordinaire
6,752 views
-
19:57
Displaying the Sprite Sheetby DesignsbyZephyr
12,240 views
-
27:20
Animated Tiles & Swimming Animationby DesignsbyZephyr
8,016 views
-
8:48
Not Another Sprite Fightby Mr Lange says: DON'T SUBSCRIBE
131,084 views
-
19:04
WTF Gaming - Megaman Sprite Game (Part 1?)by Some Ordinary Gamers
66,982 views
-
23:11
Loading in Levelsby DesignsbyZephyr
4,818 views
-
5:40
Could This be one of the Best Pokémon Sprites ever made?by Ashadow255
154,935 views
-
7:36
Java for Beginners [1]: Getting Startedby Programmer extraordinaire
50,423 views
-
6:52
My 1st Unova Sprite Fusion, FOOLZ!by The Wandering Artist (is...back?)
440,775 views
-
54:28
Unity 2D Game Tutorial - Part 12by Hathzynx
723 views
-
39:10
Entry to Rpcardcollector's Pokemon Sprite Contest 2012 (HyperCam Version)by PokeSpriter69
6,465 views
-
24:49
Unity 2D Game Tutorial - Part 1 Sprites and Youby Hathzynx's channel
20,979 views
-
23:36
Java 2D Game Engine Development - Multiplayer Support: The Login Packetby DesignsbyZephyr
6,124 views
-
16:51
Multiplayer Support: Basic UDP Client/Server Ping Pongby DesignsbyZephyr
4,612 views
-
27:48
Pixel Arts - How to make custom Pokemon Trainer Sprites (Part 1)by SilverLeagueNetworks
16,564 views
-
11:44
Importing Artwork into Fontographerby FontlabTutor
777 views
-
10:27
8 bit sprite marathonby konkrol
359,177 views
Top Comments
casvanmarcel 6 months ago
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
Sign in to YouTube
Sign in to YouTube
seigeengine 3 months ago
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 to YouTube
All Comments (33)
turnstray 2 weeks ago
Is it possible that my colors are different than yours (his)? Mine seem to be much darker.
Sign in to YouTube
Sign in to YouTube
GoldTrousers 3 weeks ago
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 to YouTube
seigeengine 3 weeks ago
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 to YouTube
GoldTrousers 3 weeks ago
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 to YouTube
seigeengine 3 weeks ago
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 to YouTube
GoldTrousers 3 weeks ago
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 to YouTube
seigeengine 3 weeks ago
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 to YouTube
The Zigec 3 weeks ago
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 to YouTube