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

Pages: 1 ... 133 134 135 136 137 ... 140
2011
Windows / Mac / Flash / HTML5 / Dive 2 - Comments Please
« on: June 10, 2016, 06:04:55 am »
I'm still working to get the basics of the game done, but I would like feedback on what I've done so far, and also what type of game mechanics people would like to see. The focus of the game is going to be on exploration and problem solving, rather than fighting. There's also going to be lots of upgrades.

What sort of puzzles/problems would you like to see?

Here's what I've got so far:
http://www.stencyl.com/game/play/34351

And here's the first version for reference:
http://www.kongregate.com/games/BowWow200/the-dive

2012
Ask a Question / Re: What am I doing wrong with sitelocking?
« on: June 09, 2016, 02:20:22 pm »
Have you tried with/without 'http://'?

2013
Ask a Question / Gradient Fills for Shapes
« on: June 09, 2016, 12:35:21 pm »
Hi,

What's the best way  to create vector shapes with a gradient fill? I find it odd that it's not an option when selecting a colour for a shape. I'm trying to avoid using images so that I can easily make changes.

As always, any help gratefully received. Thanks.

2014
Ask a Question / Re: Accessibility: How to change UI font size?
« on: June 09, 2016, 11:52:41 am »
You've raised an interesting point.  As far as I'm aware, there's no such option (someone feel free to correct me.)

I'd raise it as a suggestion.  It's something they should really consider implementing.

2015
Ask a Question / Re: Health / Oxygen Gauge
« on: June 09, 2016, 09:03:24 am »
CurrentValue / MaxValue * Bar Length

So
CounterOxygen / LevelOxygen Value * HUDOxygenBar Width

Should be similar to the depth bar.

Thanks again for the help. Much appreciated. I finally understand how it works! Cheers.

2016
Ask a Question / Health / Oxygen Gauge
« on: June 09, 2016, 06:37:31 am »
Please can someone offer a little help with a problem I'm having. I have some bars that represent different values, such as health remaining, and oxygen remaining. I'm wondering how to calculate the width of the bar. For instance, for the oxygen bar I have these  booleans:

Counter Oxygen - The amount of oxygen remaining. This decreases at a set rate.
HUD Oxygen Bar - This is used to return the width that the bar should be according to the Counter Oxygen value.
Level Oxygen Value - Sets the starting value of Counter Oxygen when the scene loads.

The starting width of the bar is 200px.

I need help putting this together. Thanks in advance.

Cheers.

2017
Ask a Question / Re: Creating a Depth Gauge
« on: June 08, 2016, 04:00:13 am »
Scene height and not screen height. Here be where the problem lie.

Hope this helps.

Thanks. That was a dumb mistake on my part.

I deducted the height of the actor off the scene height and now it works like a charm.

Thanks everyone!

2018
Ask a Question / Re: Stacked opacity suddenly turns white
« on: June 07, 2016, 01:24:43 pm »
https://helpx.adobe.com/flash/kb/transparency-support-flash-professional.html

This might cover the issue. Check issue 3 at the bottom of the page.

2019
Ask a Question / Re: Creating a Depth Gauge
« on: June 07, 2016, 01:16:48 pm »
I would imagine you need to calculate it like this

PlayerY / SceneHeight * DepthBarHeight(768px)

Translates the percentage the player is in the Y axis and puts this on the Bar of fixed height.

eg.
SceneHeight = 2000
Player Y = 1000
DepthBar = 768

1000 / 2000 = 0.5 (50%)
0.5 * 768 will give 50% on the bar.

Thanks for the help noxtudios.

I can't seem to get it to work though. Please see the attached image of the code. Is that right? It appears to function the same as just using the Y value.


merrak, that's a good idea, thanks. I'll implement it once I get the gauge working!

2020
Ask a Question / Re: game crashes (Web/Flash)
« on: June 07, 2016, 12:45:10 am »
Can you post the game so we can look at it?

You mention that you have lots of actors, this could well be the problem. Do all these actors need their collision boxes?

2021
Ask a Question / Re: Background Gradient to fit Scene
« on: June 06, 2016, 04:46:34 am »
Okay, thanks merrak.

2022
Ask a Question / Re: Creating a Depth Gauge
« on: June 06, 2016, 04:42:33 am »
I guess I don't know exactly what you're trying to do. What are you trying to compute? If you're using the y coordinate for depth, then what is there to calculate?

Thanks merrak.

The problem is that the scene is taller than the gauge, so using the Y value of the player directly won't work. The gauge is always 768px high, but the actual scene is always going to be taller (and will vary), so I need to somehow calculate it. Probably as a percentage.

This is what happens when using just the player Y value.: http://www.stencyl.com/game/play/34351

You'll see that the marker on the gauge disappears off screen.

Cheers.

2023
Ask a Question / Creating a Depth Gauge
« on: June 05, 2016, 11:20:40 am »
Hi,

I need a little help creating a depth gauge. On the left-side of my screen I have a marker that shows the depth (Y position) of the player depending on the scene. The problem I'm having is that maths isn't my strong point so I'm struggling to calculate it.

I have a boolean to get the Y value of the player and another to set the Y value of the marker, and then there's the block to get the height of the scene. I just need help cobbling it all together.

Thanks in advance.

2024
Ask a Question / Re: Full Screen Graphical Oddity
« on: June 04, 2016, 05:30:33 pm »
When you're in Stencyl, you can pick the platform you want to test in - see the top-right of the screen.

You can check your Stencyl 'games-generated' folder , and have a look at the files there.  Check the images for any bleed. you could also edit those images directly without having to go through Stencyl.
Quote
Why is the tile set "web content"?

Not sure.

2025
Ask a Question / Re: Exporting to HTML5
« on: June 04, 2016, 05:26:43 pm »
BUMP, because it doesn't work for me either.

Pages: 1 ... 133 134 135 136 137 ... 140