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.


Messages - Darvious

Pages: 1 2 3 ... 5
1
 :D Alright, thanks you guys. With any luck, I can use the revenue from my games over the next year to buy a new computer...

IF Game Attribute Hopeful is > 0 and Game Attribute Enjoyment is >= Skill
  set Game Attribute New_Computer to New_Computer = 1 ;D
    set Game Attribute Enjoyment to Enjoyment +10

2
Any idea why the 'h' my framerate is so low? Could it be because my computer is 8 years old  :'(

3
1. How does one check the file-size of their game without attempting too upload it?

2. I get a frame-rate of 22 f.p.s. with a brand new project. Is this a low frame-rate for a practically blank project? I can't remember what I was reading (8-9 months ago), but I thought I read somewhere that at least twice that rate is considered the norm?

4
Thanks Tuo, that code looks a lot less repetitive than mine (If you thought that was bad, you should see what I have written to receive a random low and high temperature within a varying range for everyday of the year :) )
What I've done with this pictured behavior is added the chance to 'receive a phone call' every hour, between the hours of 1 p.m. and 8 p.m. M-F, and between the hours of 10 a.m. and 8 p.m. Sat. - Sun.. So, I've added more code since yesterday.
My main concern was rather or not I added more processes than necessary under the 'always' function. But your example looks so much more tidy, I am compelled too rebuild the code off of your model :)
Thanks for taking the time to figure out a better solution for my 'mini-puzzle', I appreciate the help!

5
Ah yes, you are correct! It took me about 20 minutes, but I cleaned it up. Thanks!

6
The behavior works perfectly as I intended, I was just wondering a couple of things:
1.) Will all of those 'IF' statements under 'Always' cause an unnecessary drop in my framerate, even by a fraction?

I am pretty new to programming in general. This code works fine, and I am happy with it. But, I can't help but wonder:
2.) Is there a way too shorten this code and still receive the same behavior, that looks pretty obvious to anyone?

I studied it for awhile, and it seems that the way I have it is the most condensed that it can be.
What do you guys think?

7
Ask a Question / Re: Player Interactive Field
« on: February 22, 2013, 02:47:13 pm »
I've never d/led anything from StencylForge before. I downloaded a GUI package, but I can't find it... I assumed that it would be imported automatically to my Resources tab in StencylWorks, but it wasn't. Any idea where I can find the d/l?

8
Ask a Question / Player Interactive Field
« on: February 22, 2013, 02:06:03 pm »
Player Interactive Field: Technical jargon for a 'text box' (just like the one you'll be typing in if you respond). I've been looking for a way to create the typical blank box with flashing cursor, so that when clicked, the player can enter a number into the field. I would like to give the player the ability to set his own prices on the items he's selling in game. I've got pretty much everything figured out, but I don't see anywhere in Stencyl to even begin with creating the actual Player Interactive Field (except for the 'draw rectangle' block :P). Any suggestions on where to start???

9
Resolved Questions / Re: Enemy chase player?
« on: May 04, 2012, 08:30:35 pm »
Awesome, it works! Thanks for the help guys  :)

10
Ask a Question / Re: Help! Game Breaking Issues. *Very Frustrating
« on: May 04, 2012, 02:00:18 pm »
Berserk, any luck with any of your issues?

11
Resolved Questions / Re: Enemy chase player?
« on: May 04, 2012, 01:48:18 pm »
This is still an issue for me. This is a basic for a lot of game genres. It is something I need to know. Anymore help?

12
Ask a Question / Re: Why is the mouse so laggy?
« on: May 03, 2012, 04:30:34 pm »
Not to hijack the thread, but how in the world did you acheive 60 fps??? The best I get is 22 fps, and that's at the start of a brand new project...

13
Resolved Questions / Re: Enemy chase player?
« on: May 03, 2012, 03:12:31 pm »
I copied the code as posted, and I am getting movement. However, the enemy isn't going towards the player, the enemy just accelerates towards the right side of the screen.
I have zero knowledge of trigonometry, so I can't use this method without your help.
Here is a screen shot of my code, just to confirm that I copied it accurately.

14
Resolved Questions / Re: Enemy chase player?
« on: May 03, 2012, 02:03:17 pm »
What type of attribute do you have 'target' set as?

15
Resolved Questions / (Solved) Enemy chase player?
« on: May 03, 2012, 01:47:25 pm »
I am working on a game with an overhead view, so the player can move vertically and horizontally.
Use a heat-seeking missile for example: How could I make that actor close in on the players location, when the player is constantly moving around?

Pages: 1 2 3 ... 5