Search found 9 matches

by Melan
Mon Dec 01, 2008 7:25 pm
Forum: Beginners Help
Topic: Jumping
Replies: 13
Views: 1961

do you have some code?
i mean if i make it first +20 then +20 then +20 because its slower then, the gravity makes it back to 0.
by Melan
Mon Dec 01, 2008 7:24 pm
Forum: Beginners Help
Topic: FPS camera but not with arrows
Replies: 2
Views: 203

thx
by Melan
Mon Dec 01, 2008 6:20 pm
Forum: Beginners Help
Topic: Jumping
Replies: 13
Views: 1961

Jumping

Hey!
i want to implement jumping in my ego shooter.
i tried it like that:

class MyEventReceiver : public IEventReceiver
{
public:
bool OnEvent(const SEvent& event)
{
if (event.EventType == EET_KEY_INPUT_EVENT && !event.KeyInput.PressedDown)
{
switch (event.KeyInput.Key)
{
// Jump
case KEY ...
by Melan
Mon Dec 01, 2008 5:56 pm
Forum: Beginners Help
Topic: FPS camera but not with arrows
Replies: 2
Views: 203

FPS camera but not with arrows

hello,
i addet a FPS camera like that:
camera = smgr->addCameraSceneNodeFPS(0, 100.0f, 300.0f, -1, 0, 0, true);
The problem is, that i have to move with the arrows, but i want to move with ASDW. How can i do that?
thx
by Melan
Thu Sep 25, 2008 7:49 pm
Forum: Beginners Help
Topic: camera
Replies: 7
Views: 798

so a mmorpg camera is a tps camera?
and i tried a tps camera and it works gut, but i addet the colliosion and now the character flying up ( y is getting higher and higher) but i dont do anything. here is my code:
http://rafb.net/p/9I4fuA91.html
thx
by Melan
Thu Sep 25, 2008 6:33 pm
Forum: Beginners Help
Topic: camera
Replies: 7
Views: 798

ok thx you
and how is the camera called used in mmorpgs like that:
http://de.youtube.com/watch?v=fJgfgXQgp ... re=related
is that also a tps?
thx
by Melan
Thu Sep 25, 2008 6:21 pm
Forum: Beginners Help
Topic: camera
Replies: 7
Views: 798

camera

hey, how can i make a camera like that in the video:
http://de.youtube.com/watch?v=ryuBstQOyGk
you know what i mean? in front of the camera theres a person and the camera follows the person. if the person rotate to left the camera follows.
sure its a fps camera but i tried it like this:

camera ...
by Melan
Mon Sep 08, 2008 12:26 am
Forum: Beginners Help
Topic: i cant see Texture
Replies: 1
Views: 166

i solved the problem.
Thx anyways
by Melan
Sun Sep 07, 2008 9:37 pm
Forum: Beginners Help
Topic: i cant see Texture
Replies: 1
Views: 166

i cant see Texture

Hey,
i disabled lightning and the files are in the same directory then the exe.
I can only see sydney, but not the wall or t351sml.jpg
Here is the Source: (its from the tutorial)

#include <stdio.h>
#include <wchar.h>
#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace ...