Search found 35 matches

by Nigey
20 May 2015, 11:56
Forum: OpenSpace v2 discussions and help
Topic: Creating Large Background
Replies: 1
Views: 10329

Creating Large Background

Hi Guys, I'm trying to create a large background for my map. Originally I'd just imported it as one image from Flash to make sure it looks okay in the game. I'd set it as 1 column 1 row in the Background Editor and just set it as x=3000, y=3000 in size.. Even though it would go over that size, it wo...
by Nigey
14 Apr 2015, 14:43
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

I am still getting the same issue though. private function SetSFSUserVars(userXML:XML) { trace("CALLING SetSFSUserVars==================="); var userVars:Array = []; for(var i=0; i < userXML.Msg.avatar.decal.length(); i++) { userVars.push(new SFSUserVariable("pXML", String(userXM...
by Nigey
14 Apr 2015, 10:42
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

Hi Bax, I think that would be the exact issue. In that case I'll go ahead and make some individual string values and create SFS variables for each... Will it make any real cost on the server if I make about 8 ish SFS variables per avatar? So long as they're just simple string values for avatars chan...
by Nigey
08 Apr 2015, 09:26
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

Okay well I've been working through this, but haven't quite understood my problem yet. So far I've managed get it to recognise the v2 now. This is my current code to set a SFSUserVariable: import com.smartfoxserver.v2.entities.variables.*; import com.smartfoxserver.v2.requests.*; //... //... var use...
by Nigey
27 Mar 2015, 18:32
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

Hi Bax,

No it's been done like this

Code: Select all

import com.smartfoxserver.v2.entities.variables;
by Nigey
25 Mar 2015, 17:12
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

I've included it in the 'ActionScript Settings', under 'Library Path'. The API recognises it on auto search now, however when I try to publish it still says 'Definition com.smartfoxserver.v2.entities:variables could not be found'.

Any ideas?
by Nigey
25 Mar 2015, 09:46
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

Hi Bax, My game isn't recognising that package (Definition com.smartfoxserver.v2.entities:variables could not be found). In OpenSpace Editor, under the 'About OpenSpace' it says the version is 2.0.2, so I'm guessing that's not the issue. when I type in 'com.smartfoxserver.' the only available option...
by Nigey
24 Mar 2015, 10:46
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Re: Updating Avatar

Awesome, thanks Paolo. Which import do I need to access SFSUserVariables?
by Nigey
13 Mar 2015, 11:47
Forum: OpenSpace v2 discussions and help
Topic: Updating Avatar
Replies: 14
Views: 25843

Updating Avatar

Hi Guys, I'm trying to update my Characters avatar in my game. My character loads all of his assets (clothing, accessories, ect), from a database and is then stored as as a XML: private function onReceivedUserInfo(event:LoaderEvent):void { var raw_user_info = LoaderMax.getContent("userInfo"...
by Nigey
12 Mar 2015, 16:00
Forum: OpenSpace v2 discussions and help
Topic: Animating Skins
Replies: 2
Views: 10555

Re: Animating Skins

Working perfectly, cheers
by Nigey
11 Mar 2015, 16:51
Forum: OpenSpace v2 discussions and help
Topic: Animating Skins
Replies: 2
Views: 10555

Animating Skins

Hi Guys, I've been trying to animate skins in the map editor on RollOver and RollOut. I've managed to connect the setup between AS3 and the OpenSpace map: trace("onSkinInteraction " + trigger + " trigger: " + evt.target + evt.currentTarget + evt.params.skin); onSkinInteraction Tr...
by Nigey
03 Mar 2015, 12:07
Forum: OpenSpace v2 discussions and help
Topic: Getting Foreground to act like Background
Replies: 3
Views: 11950

Re: Getting Foreground to act like Background

Hi Bax, Thanks for responding. I was about to add to this actually. What I'm basically trying to achieve is to make a semi-transparent glass wall running along the length of the bottom of the map. I want the player to be able to walk behind it. So when he does this he see's himself semi-transparent ...
by Nigey
27 Feb 2015, 14:36
Forum: OpenSpace v2 discussions and help
Topic: Checking Ownership of Avatar
Replies: 3
Views: 12056

Re: Checking Ownership of Avatar

Hi Bax, Thanks for replying. I've tried this, however it's not recognising 'Params'. Here's my basic setup: package com.cavia.avatar { import com.cavia.ui.ChatBubbleMC; import com.cavia.ui.ThumbsUpIconMC; import com.greensock.TimelineMax; import com.greensock.TweenAlign; import com.greensock.TweenMa...
by Nigey
27 Feb 2015, 13:14
Forum: OpenSpace v2 discussions and help
Topic: Getting Foreground to act like Background
Replies: 3
Views: 11950

Getting Foreground to act like Background

Hi Guys, I'm having an issue with the foreground in OpenSpace. With the background it scrolls with the map perfectly, which suits the environment because it's kinda large. With the foreground it's fixed in place. I want to make a semi-transparent (coloured glass) banister which only partially blocks...
by Nigey
25 Feb 2015, 11:04
Forum: OpenSpace v2 discussions and help
Topic: Checking Ownership of Avatar
Replies: 3
Views: 12056

Checking Ownership of Avatar

Hi Guys,

How would you check to see whether an avatar your mouse is hovering over is your avatar? How can you see who's avatar it is?

Thanks!

Go to advanced search