DragonTemplate Datablock questions and a few others...
by Lexe · in TGB Platformer Kit · 08/12/2011 (7:55 am) · 4 replies
DragonTemplate Datablock question:
---------------------------------
OK = Added the datablocks to my project
OK = Added the execs to my game.cs
OK = Added Behavior: SpawnPoint: chose DragonActortemplate + Type: pskActor2D + minSpawn + Disabled autospawn, for my player.
1) Question:
Why does my player disappear when i give him the spawnpoint behavior ?
2) Question:
I've added my tilemap and sceneobjects with platformbehaviors, will they follow my tilemap or do you need to mount them on the tilemap ?
---------------------------------
OK = Added the datablocks to my project
OK = Added the execs to my game.cs
OK = Added Behavior: SpawnPoint: chose DragonActortemplate + Type: pskActor2D + minSpawn + Disabled autospawn, for my player.
1) Question:
Why does my player disappear when i give him the spawnpoint behavior ?
2) Question:
I've added my tilemap and sceneobjects with platformbehaviors, will they follow my tilemap or do you need to mount them on the tilemap ?
#2
Edit:
The dragonactortemplate datablock defines the following properties:
- classname
- actortype
- size
- collisionpolylist
If it's dynamically placed, where does it get its coordinates ?
08/13/2011 (2:20 am)
Ok so he needs to be given the same editor coordinates through the datablock ? Doesn't correspond with what the tutorial says but i'll give it a go.Edit:
The dragonactortemplate datablock defines the following properties:
- classname
- actortype
- size
- collisionpolylist
If it's dynamically placed, where does it get its coordinates ?
#3
This is all set up in the demo, btw. You can always look at that to see how the spawning and actors are set up.
08/13/2011 (7:59 am)
Sorry, I misread your original post. I need to install this on my home PC to be sure, but I though the SpawnPoint behavior has to be added to a t2dSceneObject (bottom of the tab). Then the actor will be spawned at that location. I'll go install it and find out.This is all set up in the demo, btw. You can always look at that to see how the spawning and actors are set up.
#4
Is it normal that it's only a scrolling demo ? I have the impression that there is a menu missing which would let me start the game ?
08/13/2011 (8:56 am)
Yes, Ofcourse I went snooping around in the demo aswell. I can't tell the difference between the demo and my game, that's why I have to ask ^^.Is it normal that it's only a scrolling demo ? I have the impression that there is a menu missing which would let me start the game ?
Employee Michael Perry
ZombieShortbus
2) I haven't used the kit in a long time, so I'm not sure.