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

Pages: 1 2 3 ... 6
1
Shared Resources / Re: Electrotank Multiplayer Kit
« on: April 24, 2012, 07:56:28 pm »
@tgbtom

Glad to hear you got the other problem solved. If your character isn't showing up, it might be because the Actor object isn't being passed in a global variable List. I would check that.

@EVERYONE

I'm no longer providing support for this Kit. I'll post a notice of this on the front page. I encourage Stencyl users who have an interest in it to stay in contact with each other on this thread and share any changes and modifications they make. It's open-source, so feel free to copy / paste / modify any code that I worked on. It's yours, not mine.

2
Shared Resources / Re: External Sprite Loader
« on: March 14, 2012, 04:02:36 am »
I just tested it and it works fine. Attach the script to your actor, give the behavior the target URL and place the actor in the scene. Remember that you may not be able to use it cross-domain (SWF and target image should be on the same server).

3
Shared Resources / Re: Electrotank Multiplayer Kit
« on: March 04, 2012, 03:58:02 pm »
Quote
Any plan to do a iStencyl release?

This was written using the Electrotank AS3 Client API. There is a Cocoa-Touch Client API for Objective C so theoretically it would be possible to make an iStencyl version.

I will not be working on that, but if someone else wants to then they are free to use whatever code I have written that would carry over.

4
Shared Resources / Re: Electrotank Multiplayer Kit
« on: March 02, 2012, 01:55:00 pm »
Glad you got it working! And thanks for hosting a copy.

Unfortunately, seeing a version remotely hosted, I'm realizing that the movement system I chose is inadequate. I'm going to have to change it to a single step movement system (one grid per keypress) and/or mouse controlled.  :(

5
Shared Resources / Re: Electrotank Multiplayer Kit
« on: February 29, 2012, 04:15:03 pm »
Hold on. Let me check with my wife.  ;)

She says I need to get a job first. Sorry.  :'(

6
Shared Resources / Re: Electrotank Multiplayer Kit
« on: February 28, 2012, 11:05:37 pm »
@damijin

As we discussed, I'll give you a hand with this on Thur/Fri and post the results here. Talk to you then.

7
Shared Resources / Re: Electrotank Multiplayer Kit
« on: February 27, 2012, 07:01:55 am »
Sounds like you can't connect to the server. Is it running?

Have you included the Electotank5 SWC?

8
Shared Resources / Re: Video Actor
« on: January 25, 2012, 04:55:51 pm »
Yes, this behavior is Flash only. It was created months before iStencyl was even availible.

I'll put a warning in the Forge.

9
Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 24, 2011, 03:25:51 pm »
Thank you for the compliments.

You can get the kit from the Zip file in the first post of this thread and it is free to use. Expect a few months before there is a new version.

10
Shared Resources / Re: GUI Widgets
« on: December 22, 2011, 03:32:24 am »
If they are using AS3 then no, they are Flash only. Fine for my projects, but you may want to warn others in the description.

11
Shared Resources / Re: GUI Widgets
« on: December 21, 2011, 05:02:21 pm »
Good job!

Do these work for both Flash and iStencyl?

12
Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 13, 2011, 04:39:41 pm »
Don't hold your breath.  ::)

13
Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 10, 2011, 07:44:32 pm »
@docskull

The movement system works by sending two messages to the server:
Start) Actor begins moving in a direction
Stop) Player has released the movement button

The first message sends the actor in a specific direction. They will continue walking that way until they hit a barrier (Anything that would normally stop them). The second message creates a temporary barrier that only that actor will respond to. The barrier is placed ahead of the actor and disappears after the actor makes contact with it.

One thing to note is that the client only sees the movement that the server responds with. That means if you are using a remote server that is slow, the actor will only start moving a second or so after they use the arrow keys. This will come across as lag. Also, the actor can only move in one direction at a time and the keys for other directions will not move until the actor has come to a complete halt.

I used this system for my grid movement because low-bandwidth, accurate results were a priority for me. There are other ways to make multiplayer movement work though. You could change it to free movement so the actor can move any direction and change direction quickly. You could have the client move the actor without waiting for server confirmation, but then the server and client will never be quite in synch. You could sync client/server at 200ms or lower but then your bandwidth usage goes up proportionality.

One of the best movement systems is mouse-based with pathfinding (like Zynga games use). It is very efficient and doesn't require server confirmation, but you can't use it for PVP or anything with true collision.

In the future, I hope to offer multiple movement options so people can use the one that works best for their game. Still, anyone who uses this kit is going to have to learn network programming on their own since this isn't even a skeleton yet, just a taste of what is possible.

14
Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 06, 2011, 06:16:58 pm »
Great to hear you got it working! Please post your thoughts.

15
Shared Resources / Re: Electrotank Multiplayer Kit
« on: December 06, 2011, 04:17:08 pm »
Which Electrotank sample applications are you successfully able to run on your remote server?
http://www.electrotank.com/docs/es5/manual/examples.htm

Pages: 1 2 3 ... 6