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 2 3 ... 130
1
Windows / Mac / Flash / HTML5 / Re: Space Pirate
« on: Yesterday at 05:37:22 am »
Well done. I'm impressed how you've managed to keep on top of something as complex as this. The test screen looks great, as does everything else actually!

2
Ask a Question / Re: An actor going towards another actor
« on: February 20, 2019, 12:07:47 pm »
You can try using the Easy Math extension to help calculate the direction rather than do it yourself.

http://community.stencyl.com/index.php/topic,27769.0.html

3
Ask a Question / Re: Saving a players in-game currency?
« on: February 20, 2019, 12:05:47 pm »
You need to use the global game attributed (the purple blocks) to store that data. When the game is saved, those values are stored and are loaded when the player loads a saved game.

http://www.stencyl.com/help/view/game-attributes/

http://www.stencyl.com/help/view/saving-and-loading-games/

4
Ask a Question / Re: When to play sound
« on: February 20, 2019, 12:01:33 pm »
I've approached a similar problem by always a sound effect looping and adjusting the volume. Let's say you have the sound looping on channel 30, you then check if an actor of that type is on screen. If yes, set the volume of channel 30 to 100%, if not, set the volume of the channel to 0%.

5
Windows / Mac / Flash / HTML5 / Re: EvolutionĀ²
« on: February 20, 2019, 11:56:40 am »
I like the concept idea. I'd like to see later levels. There are a few things about the lava which bother me. First of all, as its random, you can't really plan for it. Maybe it should fire left or right in a pattern, and it might be good to have some sort of tell to give you a second or two warning.

Also, the lava interacted with itself and other items. In one instance a lava block sat on a platform that I had no chance of avoiding, and on another level, the lava knocked away one of the blue blocks.

Simple graphics are fine but create a nice colour palette.

6
Journals / Re: Insurgence of Forgotten Fairies
« on: February 19, 2019, 03:49:39 pm »
Looks like you're making good progress, and it looks great. The HUD does stand out a bit more, but the blue clashes with the pink/red. If you made the background darker it would be easier to read.

For the main screen magenta/cyan/yellow is a triadic colour scheme, but those 'Ex' might become hard to spot if there's lots of activity on screen. Again, try a darker background. It's all about contrast.

7
Journals / Re: A Foresty Game
« on: February 18, 2019, 01:39:01 pm »
Well done, it's looking great.

8
Ask a Question / Re: Diagonal tile sets
« on: February 17, 2019, 03:36:48 pm »
That's an issue with the tileset itself. Those lines are an overhang from the tile above in the tileset.

You need to edit the tile sheet image to delete those lines.

9
Ask a Question / Re: Platformer Enemy
« on: February 17, 2019, 12:38:48 pm »
There's the easy math extension that may be of some help as it lets you easily get values such as the distance between two actors.

http://community.stencyl.com/index.php/topic,27769.0.html

Moving an enemy shouldn't be too difficult.  You can check if the player is to the left or right of an enemy by comparing the x-center values of each. Then if the player is within a certain distance,  get the enemy to move horizontally towards the player.

Checking and comparing the y-values you can see if the player is within line of sight. If so, shoot towards the player.

Finally, if you don't want your enemies to fall off platforms, you need to check if a tile doesn't exist in front of the enemy. So when it finds a gap, it stops moving. You can do the same to stop it if there's a wall in the way. Just check if there is a tile in the way.

10
Please can you use the camera icon on the bottom-right of the behaviour screen to take a screenshot.

11
Ok, well at least we now know that one of the behaviours attached to your actor is the problem. The log viewer might give some clue.

Enable the behaviours one by one and test until you find the problematic behaviour.

Also, please post your code here.

12
Disable all of eh behaviours attached to your player actor and try again.

If it then appears, there's something in your actor code affecting it.
Otherwise, the problem lies elsewhere. Is gravity making it fall off screen?

13
Ask a Question / Re: How to get actors to go behind other actors?
« on: February 13, 2019, 01:39:58 pm »
There may be something in your code changing the ordering.  Also, you don't have to use layers, you can move actors back and forth on the same layer.

Please, can you post your code?

14
Don't worry, just learn from it. I still occasionally make simple mistakes.

15
Journals / Re: Insurgence of Forgotten Fairies
« on: February 08, 2019, 01:32:50 pm »
Looking good. Extensions are great, but sometimes you have no choice but to build your own things. I actually use the same separator technique a lot.

I agree with domagojbulat about the colours. Colour theory is actually really interesting if you fancy reading up about it, but a quick solution would be to look at some colour scheme generators. There are loads of decent ones on the web. But don't worry too much about your graphics yet, they can be easily replaced later.


Pages: 1 2 3 ... 130