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 - 00george

Pages: 1 2 3 ... 11
1
Ask a Question / Market
« on: October 13, 2012, 11:00:31 am »
On the road map a while ago there was the stencyl market or what ever it was called . Is this still planned to be added or has it been scrapped?

2
Ask a Question / Re: SetTileAt code
« on: October 02, 2012, 01:08:35 pm »
Thanks alot :), I have been trying to learn java lately and have always wondered what this ment.

3
Ask a Question / Re: SetTileAt code
« on: October 02, 2012, 12:01:16 pm »
Im really sorry but im having trouble understanding what I need to do. What code do I need to add? Sorry im not much of a coder.

4
Ask a Question / SetTileAt code
« on: October 02, 2012, 11:32:28 am »
Hi I trying to make a custom global code block but have been having some troubles. I have tried the code normaly and it works fine. So the problem has to be my custom block. Any help would be appreciated.
Code: [Select]
Behavior: Design_0_0_GenerateDungeon at line 39
Call to a possibly undefined method setTileAt.
        setTileAt(__row,__col,__layer,__tilesetid,__tileid);

Code: [Select]
package scripts
{
import flash.display.BlendMode;
import flash.events.*;
import flash.net.*;
import flash.filters.*;

import Box2DAS.Collision.*;
import Box2DAS.Collision.Shapes.*;
import Box2DAS.Common.*;
import Box2DAS.Dynamics.*;
import Box2DAS.Dynamics.Contacts.*;
import Box2DAS.Dynamics.Joints.*;

import stencyl.api.data.*;
import stencyl.api.engine.*;
import stencyl.api.engine.actor.*;
import stencyl.api.engine.behavior.*;
import stencyl.api.engine.bg.*;
import stencyl.api.engine.font.*;
import stencyl.api.engine.scene.*;
import stencyl.api.engine.sound.*;
import stencyl.api.engine.tile.*;
import stencyl.api.engine.utils.*;

import org.flixel.*;
import mochi.as3.*;
import flash.ui.Mouse;



public dynamic class Design_0_0_GenerateDungeon extends SceneScript
{
 
/* Params are:__row __col __layer __tilesetid __tileid */
public static function Create_Tile(__row:Number, __col:Number, __layer:Number, __tilesetid:Number, __tileid:Number):void
{
    setTileAt(__row, __col, __layer, __tilesetid, __tileid);
}

 
  override public function init():void
    {
     
    }        

public function Design_0_0_GenerateDungeon(ignore:*, scene:GameState)
{
super(scene);

}

override public function forwardMessage(msg:String):void
{

}
}
}

5
Ask a Question / Re: Drawing a line
« on: August 15, 2012, 06:05:27 am »
Lets say I manage to store all the x and y positions in a list. How do I draw them all?

6
Ask a Question / Drawing a line
« on: August 14, 2012, 10:28:24 am »
Hi I have been playing around with stencyl trying to make some random generation using lines which has been sort of successful apart from that it only draws one line and I want it to draw a NEW line every pixel BUT keep the old one aswell. Instead of having a single line moving across the screen. You can play it here http://www.stencyl.com/game/play/14131 .

7
Chit-Chat / Re: What tutorials would you like to see?
« on: July 31, 2012, 01:50:01 pm »
I would like to see a tutorial on making a upgrade shop thats changes the appearance of your character such as by a new hat or trousers or something like that. I would also like to see how and why to use free form code like Silux.

8
Ask a Question / Re: Blending Modes
« on: July 20, 2012, 02:49:21 pm »
Um Yea im really sorry about my descriptions. I do want multiple light sources. I will have a read through of that other thread it looks useful. I don't understand the code too well but does it basicly replace some of the masks pixels with the other actors pixels?

9
Ask a Question / Blending Modes
« on: July 20, 2012, 01:56:22 pm »
Hi in stencyl im trying to make my own light system. I have a slightly transparent black square and a even more transparent black circle which follows the character when the character gets close to the lamp the transparentsy increases. I have managed to make this but the problem is that the black squares covers over the black circle. Is there anyway to cut out the black circle out of the black square using blending modes or something different. I made a crappy diagram in paint to help you.

10
Ask a Question / Re: Dirtbike actor
« on: June 22, 2012, 02:05:20 pm »
I don't really understand what your trying to do. Could you explain more?

Note: If you explain some more I will try and help you but I wont be able to help for about 11 hours as it late in my country.

11
Ask a Question / Re: Cant get frame to change
« on: June 15, 2012, 02:17:58 pm »
After deleting the actor and replacing him. I finally got him to work. Satyre thank you so much for help. :)

12
Ask a Question / Re: Cant get frame to change
« on: June 15, 2012, 12:28:04 pm »
Ok I give up I have done everything I can. I will post a link to the game. use up and down arrow keys to move the actors. Also I will post updated pictures of the behaviours. If you can help it will be much appriecated. http://www.stencyl.com/game/play/13184 Also use the mouse and click and drag to move the region.

13
Ask a Question / Re: Cant get frame to change
« on: June 15, 2012, 11:20:33 am »
Bump. Would be really grateful.

14
Ask a Question / Cant get frame to change
« on: June 14, 2012, 12:51:07 pm »
Hi I have a behaviour that someone helped me make. That basicily draws a rectangle to the users size and draws a region inside that rectangle. Then if you draw the rectangle over the soldiers it should set the selected attribute to true and then change the soldiers frame. But for some reason it will not. I used the drawing to check if selected is true but it is not. I have also enabled debug drawing to see if the region if in the rectangle and it is. I think the problem may be that the actor isnt entering or exiting the region instead the region is being placed on the top of the actor. I will post images of both behaviours below.

Thanks. George.

15
Archives / Automated Backup
« on: June 12, 2012, 02:08:01 pm »
I was wondering if it was possible to add automated backup so it saved another copy of the game in a different directory. The only reason I want this feature is because my games keep mucking up.


Also if you got time could you check out one of my problems and help me. Thank you. http://community.stencyl.com/index.php/topic,11506.0.html

Pages: 1 2 3 ... 11