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

Pages: 1
1
Hmm.... But I can't seem to put  any actor value in the  winner game attribute.... What can I do

2
Well insted of printing the winner attribute, i was printing player one attribute but ever since i changed the Game Attribute to Winner, This shows up.

"TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2150]
   at com.stencyl::Engine/getRecycledActorOfType()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2143]
   at com.stencyl.behavior::Script$/createRecycledActor()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1763]
   at scripts::Design_27_27_WinnerBehav/init()[Source/scripts/Design_27_27_WinnerBehav.hx:107]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl::Engine$/initBehaviors()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1113]
   at com.stencyl::Engine/loadScene()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:984]
   at com.stencyl::Engine/enterScene()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1777]
   at com.stencyl::Engine/onUpdate()[C:/Program Files/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2591]
"

So I dont know what to do.

3
I did it, but it doesn't work. I'll watch the video in the evening and make the changes.

4
But that doesn't work. I can't seem to drag it in there.  Should I create a new attribute of type actor and use ir.?

5
Can you jaut tell me which is the right block

6
Ask a Question / Winner Not selected properly. (Car race game) [TIS]
« on: July 19, 2018, 07:23:49 am »
Oops there is another problem, so basicly, only the first player gets set to winner, even if the 2nd player wins, same thing for  career mode, only the player can win and the AI Car doesnt get set to  winner game attribute.

7
Here is the code

8
Oops there is another problem, so basicly, only the first player gets set to winner, even if the 2nd player wins, same thing for  career mode, only the player can win and the AI Car doesnt get set to  winner game attribute. (This is after the last post)

9
Ask a Question / Re: Problem with printing values. (Car Game) [TIS]
« on: July 19, 2018, 05:56:31 am »
Ohhh.... Now it works, thanks a lot man

10
Ask a Question / Re: Problem with printing values. (Car Game) [TIS]
« on: July 19, 2018, 05:46:09 am »
Ok

11
Ask a Question / Re: Problem with printing values. (Car Game) [TIS]
« on: July 19, 2018, 05:39:31 am »
Actors

12
Ask a Question / Problem with printing values. (Car Game) [TIS]
« on: July 19, 2018, 05:13:12 am »
Well yesterday i had another problem, but now there is a small  little problem.
I can seem to print the values of the four attributes, as in the pictures below.
I set the values in the actor behavior, but i cant seem to print it.
Please help me out.

13
Thanks a lot man.

14
So well i made my first game on stencyl today by watching a tutorial and everything works well.(I even added a few extra things of my own), except for the part where the game counts the number of laps done by the cars. So it counts the laps of CarOne and CarTwo together and thats a problem.

So Ive put the pictures of the part it actually counts the laps.

Thanks.

Pages: 1