Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 18 May 2003
Offline Last Active Oct 21 2016 12:16 PM

Posts I've Made

In Topic: Destroying GameObjects inside OnValidate

14 July 2016 - 08:49 AM

Im using an array of GameObjects to keep the meshes to build the character model. I wanted to update the model every time one of those elements is changed in the editor, but what I get is a mess of multiple instantiated copies and errors. Im thinking that my approach doesnt works.

In Topic: Milord Tutorials - UE4 Tutorial YouTube Channel

03 March 2016 - 11:44 AM

I have been looking for some tutorials on starting a C++ project from scratch. Specifically, an isometric like game. Documentation about how to use UE4+C++ seems to be a bit scarce.

In Topic: Best way to store NPC definitions

05 October 2015 - 10:28 AM

Thanks, I see that Im not so wrong in my approach. I wanted to confirm that there is no other better way, because I thought that asset files and ScriptableObject could be a way to store the info, and let the artist change the stored values directly in the editor, instead of editing an xml file.

Seems that if I want something more friendly Ill have to write my own editor extensions.

In Topic: RPG item/spell/combat system

30 September 2015 - 10:08 AM

Well, you say you have a base class, for example "Attack" and that spells, sword swipes etc Derive from it?


The details of how to use the item should be handled by the derived class. The caller should not be concerned with this and should just call some "activate()" or "use()" method.


You could also have a factory system, whereby the sword generates attack derived objects and the spellbook (or whatever is source of your magic) does the same. These can be created dynamically based on the attack type. 


If you can't make it work like that currently and the caller directly reads properties from the class and internally performs the action this is what is causing the confusion, refactor it to black box the use/cooldown code.


Hope this helps!


Nope, I dont have a class Attack. What I do plan to have (not yet) are classess for abilities you can apply on targets. I will follow your advice and derive specialized item classes, that will help to clear my game logic code.

In Topic: Getting started with game programming!

28 September 2015 - 08:06 AM

If by flash games you mean Adobe Flash, forget about it. Unity3d allows to develop games for web, and so do most of modern engines. In the long term will be more profitable to learn a decent engine than get involved witha dying technology.