Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Yerghaiz

Pages: 1

A.I.: Ascension (Beta) is an experiment in both game making, and a software tool that allows the user to see and understand the basic concepts behind travel in space, from a physics point of view.

The basic goal of the game is to go fast!  In order to achieve this, there are a few upgrades (More in the works, the design book for this is incredible), to help you achieve that goal.  Right now, you are able to higher crew, which can then be assigned to three aspects of the ship (soon to be dropped to 2 because the current system makes NO sense :P), and will raise their levels over time.  Meanwhile, the crew themselves are gaining experience, with each level granting them a higher production value. 

This is an incredibly early beta of this game, and it is under heavy development.  Save wipes will hopefully be minimal, but can and most likely will happen. 

I am actively seeking someone (preferably more knowledgeable than I am at programming in general) who would like to partner on this project, so, if you are interested, drop me a message with your credentials and what not.

Updates are pretty regular, so check back often :D

So, I have a question.  Everything I know about using the typed code in Stencyl, I learned from the process of putting in a code block, going to the code view, copy and pasting the code, and manipulating it accordingly.  Needless to say, I've learned a great deal :D.  But, I am at a point now where I hand type most of my code, and I'm assuming there is a shorter way to reference things than the drag-and-drop block's code, which I presume calls extra functions, due to it's nature.  For example:

Code: [Select]
if ((Engine.engine.getGameAttribute("Officers").length == 0))
                Engine.engine.getGameAttribute("Officers").push(new Array<Dynamic>());
                Engine.engine.getGameAttribute("Officers")[].push(("" + "Captain Braggart"));

My question then is, is it possible to short hand?  Any help would be appreciated!

Resolved Questions / Why is this code not functioning properly? [Solved]
« on: January 10, 2015, 10:11:51 pm »
Hi everyone! So, here's the deal.  I am currently working on an incremental game, and everything works fine, until I hit the Billions of dollars mark.  Then, all of a sudden, this bit of code...

...ceases to function properly, only subtracting about 1.4 mil from the money total, while properly adding the XP to Character XP Attribute.

Now, after some experimentation, I have hit a brick wall with how to fix this issue.  In the below screenshot, I have highlighted 3 numbers.   The first is a scene attribute, displaying a pretty large number.  The second is a game attribute, displaying an even larger number.  The third (and this is where I am having my issue), is a full display of the Money Attribute, which counts up to twenty million, goes negative, counts up to 20 million again, repeats indefinitely.

So, I am wondering what, if anything, can be done about this?  Any feedback or help would be greatly appreciated, and I will be more than happy to supply any other information necessary to get this fixed.  Thanks in advance.

Pages: 1