Jump to content

Herwin P

Member Since 09 Apr 2013
Offline Last Active Jan 09 2017 02:54 AM

Topics I've Started

How to ease sprite creation for an RPG

02 December 2015 - 08:24 PM

Hey, everyone. My friend I and decided that we'll do a 2D RPG for our next project. We've never worked on a project with such a big scope, and we're worried about the amount of sprites we need to draw. Our previous games were platformers that didn't need that many sprites.


For monsters and other stuff we don't mind doing the hardwork, since they only have a determined set of animations and their sprites will basically stay the same, so they won't need a lot updating. It's the player that's problematic. We plan to have the armors split into three pars; helmet, body, and pants. And we also want the player to be able to wield different types of weapons, and each weapon type will have different animation sets. The idea of having to draw all those sprites for each piece of armor and weapon type is overwhelming for us, so we've been brainstorming to find a way to ease our job. The ideas range from using a simple art style, like using the same shape but different textures, to making 3D models and capture each frame to make the spritesheet (my friend has more experience working on 3D), but we haven't come to a conclusion.


We'd like to know if you guys have any tips on creating sprites for this kind of RPG. Any tips will help. We're willing to work hard. We just don't want to brute force it. biggrin.png

Python for data-driven design?

29 March 2015 - 08:58 PM

Hi, everyone. I'm working on a game project with C++ using SFML for studying purpose. A while ago I read about data-driven design (or is it called data-driven programming?) in this forum, and I think it's a really neat idea, so I gave it a try using jsoncpp. I've got it working, but I'm curious about using Python for the data side. I've also heard that Python is often used alongside other programming languages like C++. I couldn't find any satisfying article about data-driven design, so I hope I can get some advice from this forum.


I've seen it done in a video game series called Mount&Blade, where the modules (mods) are written with Python, but the game itself is made with C++. What are the advantages of using Python files over JSON? And what are the risks? Since Python is a scripting language, I figure it would be more dangerous to use.


Also, if you don't want your data files to be open to the users, how do you pack or encrypt them? Any advice on optimizing data-driven design would be very welcome too. Thanks in advance.

Need Help With Twisted Deferred

16 July 2013 - 01:07 AM

Terribly sorry. It was just a small mistake. I've fixed it. I forgot that I should have returned the deferred object. Sorry everyone.



Question About Game State

21 June 2013 - 11:11 PM


How can I avoid circular dependency?

28 May 2013 - 08:06 PM

I often meet a condition in programming where I have a class which takes an instance of another class and makes use of some functions in that imported class, while that class also needs some functions in the first class.


Like class A has function x() and y(), and class B has function i() and j(). Class A needs to use function i() in class B, and function j() in class B needs to use function y() in class A.


How can I reduce this to minimum? Is there any better way to do this? For some reasons, function y is only available in class A.


Oh, almost forgot this question. How can I do this the right way?


Thank you everyone.