Jump to content

Grrr.. Ill be glad when this is all settled? C++ help.


Andy Gilbert
 Share

Recommended Posts

Unforutnatly im still locked out the forums and i have a questions so this si the only place i can ask.

 

There two things: Ok..

 

1st. How can i Show a var as text on the display? I can show text all ok, but dont know who to shows variables.

 

2nd. Can find any C++ examples on this (why is there such a mix of C++/C/blitzmax examples in the wiki???) anyways, im trying to get the rotation of a mesh, i can see how its done using blitzmax, but i cant seem to get it to work the same way in C++.

 

Thanks

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

How show ? you mean with DrawText() ?

 

DrawText(1,1, "My string: %s, My Number: %d", mystring,mynum);

http://www.leadwerks.com/wiki/index.php?title=DrawText

 

if you need know another %X parameters, just go there http://cplusplus.com/reference/clibrary/cstdio/printf/

 

good c++ documentation is there http://cplusplus.com/doc/tutorial/

-= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=-

Website: http://www.flamewarestudios.com

Link to comment
Share on other sites

im trying to get the rotation of a mesh, i can see how its done using blitzmax, but i cant seem to get it to work the same way in C++.

 

TVec3 meshRotation = EntityRotation(entity,1); use 1 for global, 0 for local

  • Upvote 1

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...