Jump to content
Aveyond Studios Community

Formulae? - When Creating Integer or Float Variables in Hero Objects and Hero Properties

Recommended Posts


Bear with me on this one - I think it's a brilliant idea if it could be done.

So, when you are creating an Integer or Float variable (as above), how about you had a tick box underneath with something like "Integer/Float contains variables formulae".

Then instead of a straight 12 or 9.2 you put "[V-B-0]+[V-F-2]/[P-I-1]*[V-I-3]" - something that recognises */+-% operands and all Bool, Integer and Float variables.

Cast in to a resultant Int if you want to generate an int, cast in to a float if you want to generate a float.  Perhaps have bools counting as either 0 (false) or 1 (true) which, when you think about it, would be v useful too.

That way you can have formula calculated Integer and Float variables.

This would help enormously with stuff like Progression, damage calcs and so on...?

I appreciate it would be a big new thing, and maybe for a later release (after 2D and RPG) but.... hope you can see why it would hugely boost functionality...?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...