Users browsing this thread: 2 Guest(s)
The Spriters Roguelike
#19
(07-04-2016, 03:20 PM)TheShyGuy Wrote: You guys should keep at least 1pxl offsets between sprites
Uhh, no you shouldn't lol.  The math is simpler if you have the sprites their exact width apart instead of an additional +1 everytime.  sprLeft = sprWidth * frame, instead of sprLeft = (sprWidth * frame) + frame. It might be easier to look at visually, but it's more calculations on the computers part in the code, that has to happen every frame, to do it that way.

Other than that, cool that you put the sprites in an engine so far.  As an aside, though, the movement looks too slow itself.  Walking at the pace of a leisurely beach stroll.
[Image: tamerkoh.gif?9][Image: DevBanner.png][Image: Youtube.gif]DLBROOKS33
Reply
Thanked by:


Messages In This Thread
The Spriters Roguelike - by Gors - 06-30-2016, 09:50 PM
RE: 8x8 house - by miyabi95_ - 06-30-2016, 09:54 PM
RE: 8x8 house - by Gors - 06-30-2016, 11:04 PM
RE: 8x8 house - by miyabi95_ - 07-01-2016, 12:04 AM
RE: The Spriters Roguelike - by Gors - 07-01-2016, 10:03 PM
RE: The Spriters Roguelike - by TomGuycott - 07-01-2016, 10:49 PM
RE: The Spriters Roguelike - by Shade - 07-02-2016, 01:17 AM
RE: The Spriters Roguelike - by Hiynastrike - 07-02-2016, 10:33 AM
RE: The Spriters Roguelike - by Omega - 07-02-2016, 12:58 PM
RE: The Spriters Roguelike - by Gors - 07-02-2016, 03:15 PM
RE: The Spriters Roguelike - by Kaimatakitaki - 07-03-2016, 04:17 PM
RE: The Spriters Roguelike - by Kelvin - 07-03-2016, 04:27 PM
RE: The Spriters Roguelike - by Gors - 07-03-2016, 05:53 PM
RE: The Spriters Roguelike - by Koh - 07-03-2016, 10:00 PM
RE: The Spriters Roguelike - by Chris2Balls [:B] - 07-04-2016, 04:50 AM
RE: The Spriters Roguelike - by Gors - 07-04-2016, 12:21 PM
RE: The Spriters Roguelike - by TheShyGuy - 07-04-2016, 03:20 PM
RE: The Spriters Roguelike - by Koh - 07-04-2016, 06:00 PM
RE: The Spriters Roguelike - by puggsoy - 07-06-2016, 10:01 AM
RE: The Spriters Roguelike - by Gors - 07-04-2016, 05:22 PM
RE: The Spriters Roguelike - by TheShyGuy - 07-04-2016, 06:00 PM
RE: The Spriters Roguelike - by Koh - 07-04-2016, 06:07 PM
RE: The Spriters Roguelike - by TheShyGuy - 07-04-2016, 06:55 PM
RE: The Spriters Roguelike - by Gors - 07-04-2016, 07:03 PM
RE: The Spriters Roguelike - by Koh - 07-04-2016, 08:07 PM
RE: The Spriters Roguelike - by Gors - 07-04-2016, 08:33 PM
RE: The Spriters Roguelike - by Kaimatakitaki - 07-05-2016, 01:41 PM
RE: The Spriters Roguelike - by Kelvin - 07-05-2016, 09:22 PM
RE: The Spriters Roguelike - by TheShyGuy - 07-06-2016, 01:45 PM
RE: The Spriters Roguelike - by Kelvin - 07-06-2016, 04:52 PM
RE: The Spriters Roguelike - by TheShyGuy - 07-06-2016, 05:14 PM
RE: The Spriters Roguelike - by Hiynastrike - 07-07-2016, 05:03 AM
RE: The Spriters Roguelike - by Gors - 07-07-2016, 07:02 AM
RE: The Spriters Roguelike - by Hiynastrike - 07-07-2016, 08:25 PM
RE: The Spriters Roguelike - by Omega - 07-11-2016, 07:13 PM
RE: The Spriters Roguelike - by Silversea - 07-12-2016, 07:09 PM
RE: The Spriters Roguelike - by Chris2Balls [:B] - 08-11-2016, 12:24 PM
RE: The Spriters Roguelike - by x0_000 - 08-13-2016, 03:23 AM
RE: The Spriters Roguelike - by TheMario360 - 08-18-2016, 10:09 PM

Forum Jump: