Slasheree Posted May 26, 2015 Author Share Posted May 26, 2015 made this for a challenge someone put me, hope you find it interestinghttps://www.youtube.com/watch?v=VNOp2hcQmRc Link to comment Share on other sites More sharing options...
PD Posted May 26, 2015 Share Posted May 26, 2015 Sexy, good job! Link to comment Share on other sites More sharing options...
SkywardRiver Posted May 26, 2015 Share Posted May 26, 2015 Hey that's pretty slick! Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted May 27, 2015 Share Posted May 27, 2015 Not bad, the only thing I see wrong with it is that the movement is blocky, you didn't include the walking into the reflection so it just appears there, but really great job, well done :) Link to comment Share on other sites More sharing options...
Slasheree Posted May 27, 2015 Author Share Posted May 27, 2015 you can use youtube's speed function, and see it in slow-mo before saying stuff like that lol Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted May 27, 2015 Share Posted May 27, 2015 I'll correct myself, when you walk away from the water going up, it looks like the image disappears rather than walks out, might just be my eyes, and when you walk to the left from those corners, it looks a lot like the reflection just disappears. Again, might just be my eyes, but that's what I'm seeing so I thought I'd share lol, still a lot better then I'll ever do :) Link to comment Share on other sites More sharing options...
Slasheree Posted May 27, 2015 Author Share Posted May 27, 2015 I only did the algorithm for the right movement so you're right on the 'leaving to the left seeming blocky' XP, other than that it's all smooth I think Link to comment Share on other sites More sharing options...
Akrivus Posted May 27, 2015 Share Posted May 27, 2015 Will this eventually be open source, or no? Link to comment Share on other sites More sharing options...
Colonello Posted May 27, 2015 Share Posted May 27, 2015 Wow that looks really nice. Definitely a nice touch to add that extra bit of immersion. Link to comment Share on other sites More sharing options...
Kizzaa Posted May 27, 2015 Share Posted May 27, 2015 Looks amazing! ~~a tutorial would be nice~~Â :P Link to comment Share on other sites More sharing options...
Slasheree Posted May 27, 2015 Author Share Posted May 27, 2015 I'm selling it, so if you're interested pm me for more info Link to comment Share on other sites More sharing options...
Bubblegum Posted May 27, 2015 Share Posted May 27, 2015 Would you really need an algorithm for this? Mirroring the sprite and reducing its alpha masking would get you a very similar result. The only thing you'd need to calculate is which parts of your upside-down sprite touch the water tile. (It also saves a ton of hassle with animations as you just mimic the existing sprite, which already has the right animation frame) Link to comment Share on other sites More sharing options...
Slasheree Posted May 27, 2015 Author Share Posted May 27, 2015 taken from wikipedia> In mathematics and computer science, an algorithm is a self-contained step-by-step set of operations to be performed. Algorithms exist that perform calculation, data processing, and automated reasoning.in this case> calculate which parts of your upside-down sprite touch the water tileanswering your question "Would you really need an algorithm for this?" yes xP Link to comment Share on other sites More sharing options...
Bubblegum Posted May 27, 2015 Share Posted May 27, 2015 Fair enough, but I do not consider a basic "If Pixel X touches Pixel Y display Pixel X" much of an algorithm. Makes it sound far more complex than it really is. (You could simplify it further by just having a box where it displays negating the need for pixel based logic) Link to comment Share on other sites More sharing options...
Slasheree Posted May 27, 2015 Author Share Posted May 27, 2015 Somewhere here in eclipse…> Mount System> $45 USDSystem is only based in cropping the player sprite and rendering it above a mount sprite, if people would pay for that why wouldn't they pay for a more complex system ?Anyways, if you're not interested in aquiring it, please refrain from posting.As for the "that algorithm is too simple" talk, this is WYSIWYG, if you can make this system or better, good for you, but I'm selling the code I made for people who want to have this system in their engine. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 28, 2015 Share Posted May 28, 2015 Whoa, that looks real nice. Good job man. I'm guessing, you get the sprite, laterally invert it, reduce the alpha, and render it. But where would you squeeze the rendering in so that it becomes a part of the actual map, without interrupting the flow of the rendering of the map? :Op.s I don't think you'd actual tell me because this system is paid and stuff, but it's worth a try :P Link to comment Share on other sites More sharing options...
Vus Posted May 28, 2015 Share Posted May 28, 2015 This is awesome, nice job! Link to comment Share on other sites More sharing options...
Slasheree Posted May 29, 2015 Author Share Posted May 29, 2015 Thank you :)nop x) @abhi Link to comment Share on other sites More sharing options...
abhi2011 Posted May 29, 2015 Share Posted May 29, 2015 I was entirely wrong? :O Well, I'm guessing my way would work as well, idk. Link to comment Share on other sites More sharing options...
Slasheree Posted May 29, 2015 Author Share Posted May 29, 2015 I meant about the "I don't think you'd actual tell me" xP Link to comment Share on other sites More sharing options...
abhi2011 Posted May 30, 2015 Share Posted May 30, 2015 :P Either way, nice job. It's one of those must-have features to improve the general aesthetics of a game. Link to comment Share on other sites More sharing options...
DarkDino Posted May 30, 2015 Share Posted May 30, 2015 Hey bro you back on VB6 ;P!. I'll try to made same thing for DarkStory. I post a image when i finish : ]. Link to comment Share on other sites More sharing options...
YourBestNightmare Posted May 30, 2015 Share Posted May 30, 2015 Make it so there will be reflection for all other objects (trees, barrells etc) so it will be interesting because making feature like this only for player is super simple. Link to comment Share on other sites More sharing options...
sherwin Posted June 1, 2015 Share Posted June 1, 2015 Nice!, Mind sharing the Invert code that you use?i think the Prospekt engine have it but i can't find it here..~Sherwin here, i lost my other account. Link to comment Share on other sites More sharing options...
abhi2011 Posted June 1, 2015 Share Posted June 1, 2015 I'm not sure about this but you can probably invert a Dx8 texture by putting the width and height of the destination to be a negative. I'm guessing that DX8 will invert it. The other way would be to reload the png spritesheet in GDP, flip it, save the image, load it up in Dx8 and then render it. Though this may result in a drop in fps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now