Stencyl 3.4.0 is now out. Get it now!

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

Pages: 1 2 3 ... 415
1
Ask a Question / Re: How debug a windows game
« on: December 07, 2017, 08:10:30 am »

2
Windows / Mac / Flash / HTML5 / Puzzle Tactics (now on Steam)
« on: December 01, 2017, 11:37:15 am »
http://store.steampowered.com/app/751200/Puzzle_Tactics/
Quote
Puzzle Tactics is a turn-based and grid-based tactics game played in various small levels. You play as the blue team with the goal of defeating the red team's units before losing your own. Later levels are more difficult and introduce more unit types in battle. The game is controlled using the mouse.

Despite not being very complex, this game was the most difficult to finish so far.  Trying to combine grid movement, pathfinding, ranged and area attacks, and enemy AI is quite a challenge, and I still took some shortcuts to make it easier for me.

3
You responded to a spam post :P

4
Windows / Mac / Flash / HTML5 / Re: Isotiles (now on Steam)
« on: November 23, 2017, 05:41:06 pm »
Steam Update:
  • Added keyboard controls for movement.  Use either the arrow keys or WASD to move.
  • Fixed bug with very low music volume not working.

Trading cards still haven't been granted for this game, so it seems the new algorithm is pretty strict.  Sales are still OK compared to my other games though.  I'm hoping it will eventually reach the "very positive" rating category (which I think is 50+ reviews at 80%+ review score).

5
Chit-Chat / Re: Useful Tips
« on: November 23, 2017, 10:56:32 am »
One of the colliding objects must always be set to "normal" to register a collision.

6
Ask a Question / Re: Can I make a game that uses an Xbox 360 controller?
« on: November 03, 2017, 05:06:21 pm »
While the Xbox consoles aren't supported, I'm assuming you're asking about PC/Mac/Linux.  Those platforms support controllers including the 360, but you'll have to get the player to set up controls themselves as Stencyl does not detect controller type.

7
Journals / Re: HOUSE KEEPER Turn based RPG (WIP)
« on: October 23, 2017, 12:40:11 pm »
If [actor.activePositionTweens] = 0

That's assuming the code is being used in an actor behavior where the actor is moving itself.

8
Journals / Re: HOUSE KEEPER Turn based RPG (WIP)
« on: October 23, 2017, 11:32:21 am »
The slide tween is how I currently handle movement in my grid-based games, but to get the smoothest movement I have to check the code actor.activePositionTweens to make sure the value is 0 before moving another step.  Just using timers will either cause bugged movement (tweening too soon) or pauses in steps (tweening too late).  This is because the actual time to slide the actor varies slightly.

The method I used in earlier grid-based games is setting the speed to some value and after some time (there's a formula I don't remember), stop moving the actor and snap to grid.  It works fine but involves more blocks than tweening (but also no code).

9
Windows / Mac / Flash / HTML5 / Re: Poppytail- Coming soon
« on: October 21, 2017, 09:42:33 am »

10
Ask a Question / Re: best way to center a drawling event (text)
« on: October 13, 2017, 09:37:20 am »
To add onto this, if you want to center some thing to another thing, just remember [ [thing2 width or height - thing1 width or height] / 2]

It's a good formula to remember and can be used for other things like centering actors to other actors or the screen.

11
Ask a Question / Re: Stencyl apk over 100MB needs expansion apk?
« on: October 11, 2017, 09:33:28 am »
If you want to use Ceosol's suggestion then you'll need to block the smaller and lower performance devices because their lower memory won't be able to handle the larger images (scaling down in game doesn't reduce memory).  If you want to support those lower end devices then it's better to cut out the higher scales, although the game will look more blurry on larger devices.

13
Ask a Question / Re: How to implement lighting without shaders?
« on: October 01, 2017, 05:30:48 pm »
Here's a sample game showing RGB lights with blend modes.  Click to create a light that will bounce around the screen and you'll see the actors and background through it.

The image API method is a similar concept, replacing parts of the black rectangle with transparency rather than colors.

14
Ask a Question / Re: How to implement lighting without shaders?
« on: October 01, 2017, 04:07:13 pm »
Try a white circle on the same layer as a black rectangle but with a higher Z-order.  Set the actor blend mode to screen on the circle then layer blend mode to multiply.

15
Ask a Question / Re: How to implement lighting without shaders?
« on: October 01, 2017, 03:01:17 pm »
If you're using layer blend modes then try multiply on the layer and screen on the lights.

Pages: 1 2 3 ... 415