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 ... 4 5 6
76
Chit-Chat / Re: Where are you from?
« on: June 14, 2011, 10:29:44 pm »
Chalk one up for Japan.

77
Ask a Question / Re: Uploading to the Forge
« on: June 14, 2011, 12:28:28 am »
I'm having the same problem with my resource pack "External Sprite Loader". The behaviors are working in my game. I uploaded them again successfully, but when I try to download them I get: "Could not download this resource" box. Other resource kits are downloading correctly so this is not a global problem for me.

Log below

78
Shared Resources / External Sprite Loader
« on: June 13, 2011, 03:42:48 am »
This pack allows sprites to be loaded externally at runtime from a user's computer or from a single server. Crossdomain security is not set up yet so it can't load images from other servers and is unlikely to work with most game portals. Presently only one sprite is loaded per actor, but future versions will hopefully allow animations to be loaded.

Instructions:
Attach Load Sprite to an Actor.
Do NOT attach External Image.
Specify the URL in the actor's attributes of the behavior.

When the character loads, the sprite will be generated from an external file.

This uses code from this blogpost: http://www.iokat.com/posts/3/loading-external-images-for-use-with-flixel-sprites

79
Ask a Question / Re: versatility
« on: June 11, 2011, 05:22:31 pm »
If you are serious about building a flash MMO, Flash Multiplayer Virtual Worlds by Makzan is the best book on the subject. It includes most the code you need, with the exception of combat. In runs on SmartFox Server, which has a free dev version. You will probably need a copy of Adobe Flash to use it since the examples are in FLAs.

The code is not compatible with Stencyl or Flixel and requires a strong understanding of AS3 programming.

Stencyl is a long, long way off from supporting that kind of functionality. It is designed to make small games for flash portals and that is something it does quite well.

80
Ask a Question / Re: Communicating with the environment
« on: June 11, 2011, 05:03:46 pm »
I've got XML working locally so it can read from a file on the same server. I posted the first example of the code in the StencylForge behaviors section. I'll add new versions in the future. If I can figure out the Security Sandbox issues, then this would work between any two sites.

There was also some talk of ActionScript + PHP on this thread, which could handle these sort of issues:
http://community.stencyl.com/index.php/topic,1132.15.html

81
Actually, I meant a behavior attribute not an XML attribute. I should have been more specific.

I solved the problem by using child() methods with behavior attributes specifying the element names.

So this:
print(bookInput.Book.author.text[0]));

can be replaced by this:
print(bookInput.Book.child(_XMLElement).text[0]);

I'll try to release a new XML behavior soon that uses attributes. However, I doubt many people will be interest in using it until the security sandbox issue is dealt with since it breaks when loaded to web portals. At least, I think it's the SS that is breaking it.

82
Old Bugs (1.x/2.x) / StencylForge ViewDocumentation link undeletable
« on: June 09, 2011, 10:57:50 pm »
When using the Edit Documentation URL link in StencylForge, there is no way to delete the link after it has been created. It can be changed, but not deleted. Leaving an empty dialog box cancels the action. Leaving a space results in a broken link.

83
Ask a Question / Re: Detect Neighboring Tiles?
« on: June 08, 2011, 04:27:50 pm »
One thing you might try is having four invisible sensor actors shadow the player, each offset one grid space in each direction (NSEW). They would report back what type of tile they are standing on and the player actor could use that data.

84
I was able to get XML reading working. I used this Kirupa tutorial:
http://www.kirupa.com/net/reading_xml_directly_pg1.htm

I'd like to use an attribute for the bookInput operation so users don't have to dig into the code, they can just set the fields to return. However, every time I pass it, it reads it as a string. Using {} and [] doesn't work. Any other ideas?

85
Toolset Extensions / Re: What Extensions would you like to see?
« on: June 07, 2011, 04:51:40 pm »
Video file support. One of Flash's main strengths is it's optimization of video. Being able to use FLVs both locally and streamed would be very useful.

This is now implemented.
http://community.stencyl.com/index.php/topic,2234.0.html

86
Ask a Question / Re: Will there be vector support for graphics?
« on: June 07, 2011, 04:37:48 pm »
Epic's idea would be useful for me. I'm trying to find a way to maximize the size and amount of images I use. If I can't load them externally at runtime, then scaling up SVGs at runtime would be another solution.

87
I've been trying to figure out how to load external sprites at runtime. Does the Flixel engine support this? I found a method in the API called "loadExtGraphic" but there doesn't seem to be a URLRequest parameter.

I tried implementing code from this thread, but without success:
http://flixel.org/forums/index.php?topic=813.0

Anyone else have some insight into this feature?

Pages: 1 ... 4 5 6