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 - Exportforce

Pages: 1 2 3 ... 6
1
Ask a Question / Re: Damaging health bar/custom health
« on: May 23, 2017, 04:39:23 am »
You can use the standard "Health Manager" behavior but since one block in that pre-defined behavior is deprecated you need to use your own check for "if health <= 0 -> kill self" but else it works fine incl. a healthbar

2
Never worked with that but I think setting a bool to true while that button is held down and use that to keep it active?

3
Windows / Mac / Flash / HTML5 / Re: Infinite Rogue
« on: May 23, 2017, 02:08:55 am »
Maybe add a "Kiddie mode". No perma death and blood gets exchanged with flowerpower, so people that hate permadeath are able to play.

And one simple rage I have for over 20 years now: Stop the bad F word using Z as a key. Not every keyboard has it on the lower left. Y/Z is a big nono.  XCV are a better use as they are on the same spot.

The game itself else is really nice. Gotta play that a bit more when I am home. Keep at it :)

4
Hi Peeps :)

Just wanted to check: What API Keys do I need to use in stencyl in order to have leaderboards working?
I used "Your API ID" for "Newgrounds Game API ID" and "Encryption Key" for "Newgrounds Game Key" as I can't find anything else as that but I seem not to be able to setup leaderboards for NG.

In the game itself I use board ID (number) to send it to newsgrounds on the trigger of "Game Over".

thanks :)

5
Ask a Question / Re: Scaling for Desktop
« on: May 22, 2017, 04:44:55 am »
Sounds good to me. Would do it more or less the same.

6
Ask a Question / Re: Scaling for Desktop
« on: May 22, 2017, 04:22:58 am »
As far as I have used the "scaling"-Options in Stencyl they are not UPscale but DOWNscale.
Also that "most common screen resolution" is something I really don't understand... When I take a look at stats of my websites it's either 1024x768, 1280x720 or 1920x1080 but that weird 1366 is way down...

7
Ask a Question / Re: Coordinate: longitude latitude
« on: May 22, 2017, 02:11:49 am »
Ah ok you really meant GPS. As far as I know and google tells me, Stencyl doesn't have any GPS functions. Couldn't also find anything related to that in stencyl itself too, guess you're outta luck here, except you might find a HAXE-Extension for that and code it.

8
Ask a Question / Re: Coordinate: longitude latitude
« on: May 22, 2017, 01:56:53 am »
Longitude/Latitude of what ?
Do you mean the X/Y coordinates of actors/Mouse?
Your question is extreme vague and without a better understanding what exactly you want to achieve/do/read it's hard to help you.

9
Ask a Question / Re: Melee attack question
« on: May 21, 2017, 11:47:37 pm »
Yip in the Actor-Section.

10
Ask a Question / Re: Issue with random number generation
« on: May 19, 2017, 05:18:51 am »
For a better understanding I wrote a Random Number Generator. You can roll 1-10 from 1 to 1.000.000 times and see how often each number has been rolled incl. their %
You will see the higher the rolls are the more even are the %. Showing you that you can't make out if a random generator works by just a few rolls. Same accounts to droprates in games (Like Diablo or World of Warcraft). An item can have a dropchance of 0.0001% and one player can find that item in a short time of maybe 10 kills 2 times or even, when he's lucky, 2 kills = items.

Small tipp: Depending on your CPU the number generator can take up to 10 seconds for the 1.000.000 rolls. So be patient a bit.

Have fun

11
I found another bug with the standard health manager behaviour (that also happens when I create a behaviour myself, see attached file)...

Every second spawned actor is being spawned with "Max Health"-1
This is also not fixed when I set Current Health to Max Health on spawn.

(In my example please understand that the first shown actor (the gem) is pre-set and does not count into the every second spawned actor problem. The problem starts thus with the "third" actor which is the second one that is being spawned.

12
Ask a Question / Re: Issue with random number generation
« on: May 18, 2017, 11:26:56 pm »
You can not tell if a random-number function works or not with just a few tries, not even with 500 tries. You still can easily get bigger chunks of a single number or a "small" range of e.g. "high tier" numbers. Create yourself a little loop that creates an output of 10.000 numbers from 0 - 100 and store them into variables (I guess "lists" is best for that) and give yourself just the output of HOW OFTEN each number came out and how much percent of all numbers that was. With that you'll have a better view of the ranges or if there really (which I don't really think) is some bug with it.

13
https://www.dropbox.com/s/2semb8n4hpt71ss/test.stencyl?dl=0

Didn't post the behaviour exclusively code as it is completely untouched. But here is the game, just import to take a look.

thx :)

edit: replaced the link with an importable .stencyl file

edit 2: I think I found the problem. The standard behaviour communicates with a deprecated box, so it's not able to function correctly. Should be updated to the current version of stencyl. Guess I'll build myself a health system.

14
Game Source: https://www.dropbox.com/s/ep8zrhv3lmfbzmg/test.7z?dl=0

Am I missing something? The behaviour does not kill the actor on zero health as I set it up.
Would be nice if someone could take a look.

thanks

15
Ask a Question / Re: Accepting text from user.
« on: May 18, 2017, 01:15:16 am »
You might wanna be a bit more specific on what you need, otherwise it's not really easy to help you...
But if you need an "Input"-Box, you'll have to build that yourself. At least I haven't seen one yet.

Pages: 1 2 3 ... 6