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.


Topics - comport9

Pages: 1
1
Archives / Crash Coures: Turn Based Game
« on: January 09, 2013, 03:01:51 pm »
Just a quick and simple suggestion. I think it would help a lot of people out to have a Crash Course (Or at least some examples) of turn-based game design.

2
I can't seem to find a "When MOUSE is OVER Region"...

3
Ask a Question / Reading a file
« on: January 04, 2013, 08:10:26 pm »
Is there a simple way to read files? For instance, if you were to use a text file to store a level so that others could create their own levels and share them.

4
Resolved Questions / Nested Loops, actor selection <SOLVED>
« on: December 27, 2012, 04:36:28 pm »
As per the attached image, I have a nested loop. My question is, does Stencyl accurately keeps track of the "actor of type" icons? Because I want to use both type of actors in the nested For loop.

Suggestion: It would be nice of the "actor of type" icon showed the type of actor it was representing. 

Edit: Guess I should have just tested it in the first place. The answer is NO, Stencyl doesn't keep track. The "actor of type" is only recognized in it's loop "level". I really hope this is changed in Stencyl 3... :(

5
Can you start at the end of a list with a For Loop? Reason being is I want to remove items from the list while iterating over it. If I don't start at the end, the list won't be properly iterated over.

6
Ask a Question / Can hexagonal tiling be faked?
« on: December 26, 2012, 10:08:37 pm »
I'm thinking about making a military madness type game, and it would be nice to have hexagonal tiles. Now I know Stencyl doesn't support them, but is there a way to fake it?

7
Ask a Question / Problem with sound
« on: December 26, 2012, 08:31:42 pm »
I have a sound that plays when an actor is killed. It works when I test the game, but when I publish online it doesn't. The other sounds are working fine. Any ideas?

8
Old Bugs (1.x/2.x) / Bug/Fix tile placement
« on: December 26, 2012, 05:12:44 pm »
I made a board game with a size of 512 x 512. Initially I had a 64x64 tile repeated. Later on, I wanted a checkerboard look, so I made a tile 128x128. I have a drag-&-drop behavior for the pieces, and I have checks in place so that when the piece is dropped, it slides to the nearest location. However, despite having like 2 or 3 separate checks for this, sometimes the pieces would end up in an improper location. Once that happened, they'd no longer move to any other location, and the game had to be restarted.

I noticed in the properties of the screen there was a "tile size" option. As my initial tile was 64x64, this is what it was set at. As it doesn't let you change the size (I hope this is changed/fixed in S.3) I started a new scene with the new tile size of 128x128.

I don't know why, but since doing this the problem hasn't reoccurred. So while I still consider this a bug, there's also this seemly simple fix/work around if anyone else runs in to the same problem.

Edit: Well, the problem has occurred once. At least it's not as often...

9
Ask a Question / Need help with calculating board position
« on: December 24, 2012, 08:54:51 pm »
Alright, my board game is 8 x 8 like checkers. I need to calculate if an opponents piece is "surrounded" by two of the active players pieces. Either horizontally, vertically, or diagonally.

Thanks.

10
Ask a Question / For each OTHER actor
« on: December 24, 2012, 06:12:28 pm »
I'm creating a list of positions of the actors on the board. However, I DON'T want the current actors position. I can't just remove the active actors position from the list, because that position may be the same as another actors.

So, I want to use a "For Each OTHER" actor loop. Is this possible? Thanks!

11
Ask a Question / Math logic
« on: December 24, 2012, 04:06:06 pm »
I want to set my actors position using the following formula:

round(self.X / 64) * 64

I want to do this when the mouse is released BTW. How would I go about doing this?

12
Ask a Question / Drag & Drop physics
« on: December 24, 2012, 02:27:00 pm »
Is there a way for physics to affect an object while it's being dragged? I.E. It won't move through, nor move, other objects?

13
Ask a Question / Collision editor
« on: December 24, 2012, 02:18:28 pm »
How do you edit the bounding box in the collision editor? All I seem to be able to do is add shapes to it. I want to at least be able to delete/remove shapes, but I'd also like to be able to change the bounding-box vertices.

Thanks.

Edit: Just figured out that you have to hit the "delete" key. Um, wouldn't right-click "delete" make a lot of sense here? Or how about a garbage can to drag the shapes to...?

One more Edit: Ok, I figured out the "polygon" thing. However, the bounding-box for where it detects the cursor is still the square. (The full sprite...) I want it to be JUST the image. (In this case, a circle).

Pages: 1