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

Pages: 1
1
Ask a Question / Best way to approach A* Pathfinding?
« on: August 27, 2012, 03:57:19 pm »
I've been doing a lot of reading into the A* Pathfinding, And it SEEMS like its something that can be done.

I know there needs to be a start node and an end node.
And then you need to find the neighboring nodes and get the distances, and set the parent to the lowest 'cost'

All that i can figure out eventually.

I do ask what the best way to begin organizing this is.
How do i go about setting up nodes?
How can i give a node address and a value (occupied, visited, closed, not occupied, etc etc) to a node?

2
Windows / Mac / Flash / HTML5 / Real Time Strategy - WIP
« on: August 26, 2012, 08:25:36 am »
http://www.stencyl.com/game/play/14353

Hey everybody!
I'm working on a simple RTS, and i have some autonomous resource gathering behaviors created.
Next steps are:
  • Grid-Based Building Construction
  • Unit Pathfinding
  • Military Units

Please let me know if you find any bugs or have comments / criticism.
This is pretty much just the foundation so far, and I'm still learning Stencyl, but I'm Making progress everyday, and hopefully i can update weekly.

Thanks!

3
Resolved Questions / [SOLVED] Can i reference other actor's attributes?
« on: August 24, 2012, 05:53:58 am »
Is it possible to get an attribute from an actor?
Say i have a scene behavior that clicks on an actor.
That actor has an attribute of "health"
Can i somehow reference that attribute without making it global?

4
Resolved Questions / Region Not found - Perfomance Issue? (SOLVED)
« on: August 20, 2012, 02:04:22 pm »
I have an actor that is looking to be selected upon a drawn region.
So the actor is constantly looking for the last drawn region, which i then delete after a unit is selected.
This action is for an RTS; drag a selection box around units to select them.
The Console is being flooded with "region not found" (or similar) messages and I'm wondering if there could be a performance drop if there are a lot of actors looking for a region that doesn't exist.

I ask this because I'm wondering if should change my "drag region to select units" behavior before i get too far into this game.
Thanks 

5
Archives / Block Replacement
« on: August 17, 2012, 12:22:55 pm »
if you have a ">" conditional or a "+" block,
Have an option in the right-click dropdown menu to replace block with a block in a similar palette.

Example, Replacing > with < or + with -

6
Ask a Question / Can i parent one actor to another actor?
« on: August 17, 2012, 10:41:22 am »
Is there a way to parent an actor to another actor?
For example, if i want a moving actor to have a health bar above its head?

I have no idea where to begin, i'm very new, Thank you.

7
Ask a Question / How to select and deselect a unit?
« on: August 16, 2012, 05:57:34 am »
Hello Everyone!

I'm very new to stencyl, and an amateur coder at best (worked with BASIC and Valve's Hammer Editor)
And I would like to learn stencyl by creating a basic RPG.

Honestly, i have 3 goals for this project before i try something harder

1)Create a unit at a building location via HUD button
2)Have the ability to select (click on unit) or deselect unit (click anywhere BUT the unit)
3)Command a unit or group of units to walk to a location (No pathfinding yet)


So far i can make an individual actor move to a certain location. That was my step one.
I'm having trouble however with unit selection.

How would i go about selecting an individual actor to give a command to?

Thanks

Pages: 1