Search found 8 matches

by 2ant
Sun Aug 24, 2014 8:03 am
Forum: Beginners Help
Topic: 2d zoom
Replies: 3
Views: 583

Re: 2d zoom

I realise that i didn't describe my problem properly.I want to make a 2d tactical rpg (final fantasy tactics advance,tactics ogre,...). As i am a beginner with c++ i wanted to start simple : a 2d image as a map/background,2d sprites for characters and a camera who follow the action. I turn to irrlic...
by 2ant
Wed Aug 20, 2014 4:26 pm
Forum: Beginners Help
Topic: 2d zoom
Replies: 3
Views: 583

2d zoom

Hello everyone, i'm trying to display only part of something and i want it to fit the entire windows/screen.I also want to be able to move what i see, like a 2d strategy game camera. Here is my code: #include <IRR/irrlicht.h>   using namespace irr;   using namespace core; using namespace scene; usin...
by 2ant
Wed Jul 16, 2014 7:03 am
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Re: Cursor position in title bar

Solved
by 2ant
Wed Jul 16, 2014 6:55 am
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Re: Cursor position in title bar

Thank you very much seven , i had not placed the "stringw text" line in the loop and it was enough to anger the compiler.Now it's working perfectly :D
by 2ant
Tue Jul 15, 2014 3:22 pm
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Re: Cursor position in title bar

I manage to do it, but the += operator doesnt delete the old positions and it immediately fill all the title bar and i can't change it to = or the compiler yells at me .
by 2ant
Tue Jul 15, 2014 1:40 pm
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Re: Cursor position in title bar

Thanks for the replies seven, i have almost what i need. #include <IRR/irrlicht.h>   using namespace irr;   using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui;   stringw text(L"Irrlicht - cursor position = ");   int main(void) {     ...
by 2ant
Tue Jul 15, 2014 7:17 am
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Re: Cursor position in title bar

I should have given more info, i don't have a camera, i'm just using some 2d and gui fonctions. Here is my code: #include <IRR/irrlicht.h>   using namespace irr;   using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui;   int main(void) {     Irrl...
by 2ant
Mon Jul 14, 2014 7:12 pm
Forum: Beginners Help
Topic: Cursor position in title bar
Replies: 9
Views: 649

Cursor position in title bar

Hello everyone, i am new at using c++ and irrlicht.
I want to display the cursor position in the title bar next to the title and i don't know how to get something that "device->setWindowCaption" can use.
Can you help me ?