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

Pages: 1 2 3 4 5
46
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 05:28:45 pm »
YES!!!! Worked perfect...thanks soooooo much. 

47
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 02:17:34 pm »
Correct.  The Scene is a2. Am i setting the game attribute correctly above the fade out (set currentSaveLocation to a2?

Getting this message: Behavior: Design_304_304_DeathScene at line 38
Implicit coercion of a value of type stencyl.api.engine.scene:Scene to an unrelated type uint.
                    switchScene((Game.get().scenes[getIDForScene(getGameAttribute("_currentSaveLocation"))].getID().getID() as Scene), createFadeOut(((1000*1))),createFadeIn(((1000*1))));




48
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 01:12:14 pm »
Really appreciate your help.  I am still getting errors :(  Am I not defining _currentSaveLocation properly in the block?  Thanks!!!



Behavior: Design_304_304_DeathScene at line 38
Access of undefined property _currentSaveLocation.
                    switchScene((Game.get().scenes[getIDForScene(_currentSaveLocation)].getID() as Scene), createFadeOut(((1000*1))),createFadeIn(((1000*1))));

Behavior: Design_304_304_DeathScene at line 38
Implicit coercion of a value of type stencyl.api.engine.scene:Scene to an unrelated type uint.
                    switchScene((Game.get().scenes[getIDForScene(_currentSaveLocation)].getID() as Scene), createFadeOut(((1000*1))),createFadeIn(((1000*1))));


49
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 12:26:39 pm »
Maybe there is another way to do what I want to do?  When a player gets to a specific scene(like a checkpoint) after they die, I want them to be able to go back to a specific scene (checkpoint). I can specify a scene in the block but it is hard coded, I need to change it as they move through the game. I need to make the scene a variable because I have many scenes.  Thanks for the help.

50
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 12:11:49 pm »
Flash.

51
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 12:00:28 pm »
Thanks for the reply :)  How would I add it? 

Here is the complete publish error:

Behavior: Design_304_304_DeathScene at line 40
Syntax error: expecting rightbracket before game.
                    switchScene(([[Game game] getSceneWithName:_currentSaveLocation].getID() as Scene), createFadeOut(((1000*1))),createFadeIn(((1000*1))));

Behavior: Design_304_304_DeathScene at line 40
Syntax error: expecting rightbracket before getSceneWithName.
                    switchScene(([[Game game] getSceneWithName:_currentSaveLocation].getID() as Scene), createFadeOut(((1000*1))),createFadeIn(((1000*1))));

52
Resolved Questions / Re: Publish Error for Custom Code.
« on: January 23, 2012, 11:20:33 am »
Also, here is the code in preview mode.


53
Resolved Questions / SOLVED - Switching Scene with a variable
« on: January 23, 2012, 08:25:04 am »
Sorry, not a strong coder.  Can you help me with this error?  Trying to use this custom code. Thanks in advance!!!!


54
Resolved Questions / SOLVED: Adding custom code to block.
« on: January 23, 2012, 08:13:44 am »
I didn't upgrade...Thanks!

55
Resolved Questions / SOLVED: Adding custom code to block.
« on: January 23, 2012, 08:01:56 am »
How do I add code to a block like this?

Thanks!!!!

56
Ask a Question / Re: Anti-Slope Theory
« on: January 17, 2012, 07:56:54 am »
Thanks Alexin,  I will look into it.  :)

57
Ask a Question / Re: Anti-Slope Theory
« on: January 17, 2012, 06:35:56 am »
Still looking for help with this.  :)

58
Ask a Question / Anti-Slope Theory
« on: January 14, 2012, 10:07:57 am »
Hello world,

I have a 30% slope incorporated into my game and I have attached the slope detection to my player.  I would like to have the actor not slip while on a slope which is working, but the player has lost its inertia (0 friction on ice) and I want to keep the player control consistent while on a slope, when releasing left or right give the player a little slip in either direction on a slope.  Basically I want the player movement to NOT be effected by the slope. Any thoughts of where I can get started?  Thanks!!!!

59
Old Bugs (1.x/2.x) / Re: Stuck in tiles.
« on: January 13, 2012, 08:49:25 am »
Yes, I am just using a left and right animation for testing.

I did notice that when you use circles for collision for the player, the problem is fixed but you slide off tiles when close to the edge.  So I used a circle combined with the box and the problem seems to be fixed.  Not sure if this is the best work around but it works.




60
Old Bugs (1.x/2.x) / Re: Stuck in tiles.
« on: January 13, 2012, 08:32:49 am »
Hello.  Thanks for the reply.  I did what you mentioned (screenshot attached) tried various shapes.  No luck. Still stuck. I appreciate your help.  This program is the best!



 

Pages: 1 2 3 4 5