rpg world

Blitz3D Forums/Blitz3D Beginners Area/rpg world

MR:Satanist(Posted 2005) [#1]
hi! im doing a rpg game, and i cant get it to work
my camera dosent work?

plz send a code how to fix it


Sir Gak(Posted 2005) [#2]
It would be more helpful if you were to post your code.


Amanda Dearheart(Posted 2005) [#3]
I too am building an rpg. I found it very helpful to look at the castle demo that comes with Blitz3D. Do not copy the material straitly, as I do not not know if the demos are copyrighted or in the public domain, but learn from them, and adjust your code adequately,


MR:Satanist(Posted 2005) [#4]
oke i try the both


MR:Satanist(Posted 2005) [#5]
Graphics3D 800,600,32,2
SetBuffer BackBuffer()

camera=CreateCamera()
PositionEntity camera,2,1,0


Amanda Dearheart(Posted 2005) [#6]
You don't have the command RenderWorld() in your code, but so far it looks like you're doing everything correctly!

Have you looked at the castle demo yet!


RiverRatt(Posted 2005) [#7]
Graphics3D 800,600,32,2
SetBuffer BackBuffer()

camera=CreateCamera()
PositionEntity camera,2,1,0 


cube = createcube();You could use this for a plane by ;scaling it like scaleentity cube,100,1,100
entitycolor cube,255,0,0
positionentity cube,0,2,10

pointentity camera,cube

while not keyhit(1)
;game updates
;try rotating the cube or something 



updateworld
renderworld
;2d stuff text ect...
Text 10,10,"hello you little devil"
flip

wend
end



_PJ_(Posted 2005) [#8]
Hi Mr Satanist!

Try to be a little more descriptive in your posts. You need to explain more about the problem.


my camera dosent work?



How 'doesn't the camera work'? Is it not rendering at all, is it not moving as you hoped or is it facing the wrong direction etc.?

it is quite impossible to just post code when we have no idea on what code you have so far, or what the actual problem is that needs fixing.

I would recommend looking at some of the samples, tutorials and code archives and the castle demo as described above in order to learn more yourself and identify problems & their solutions :)