Hello and sorry for my broken English :)
I started working with cocox2d, and it became necessary to use jni for android. I know how to create *.h as invoke methods of C + +, but I do not understand how this is all done in cocos2dx. If anyone has encountered the problem, could you write an algorithm to explain or order :) I would be very grateful.
There is no specific algorithm for it.. Its just a process..
You can learn it in an efficient manner using this link
Its a great tutorial to understand its use.. I also learnt from here. Try to look into MessageJni.cpp file. You will come to know how to call android methods from your scene.. Hope this helps... :)
Related
i'm a new guys here.And actually my programming language is basic.><
But i have a project about to control the wifi bulbs by C++ in computer.
And i don't know how to start to do it.
Can anyone give me some suggestion?
What should i started to do first?
Or how to improve my programming's knowledge about this project?
I have been downloaded the lifx http api in my computer. But i didn't know what is that mean... and didn't know when i have api what should i do next. i haven't done this before ..
Really thanks for your help !!
If your programming skills are basic I would never start with C++ but if that's not an option I can suggest you to go here:
https://github.com/kalimaul/lifx-api
And start working with it, at least you won't have to start from scratch.
i'm working on altera board DE2-115 cyclone 4 and im using a framework called "Guilliani" dedicated for NIOS, the problem is i can't find any documentation no videos no forums nothing at all even google coudn't help me, hopefully some of you have heard of it before
If there is no documentation simply use something else. Its obviously a framework with no future in this case . I never heared of it either. What do you need it for? Maybe i can suggest you a alternative. Edit: http://guiliani.de/images/TES-Media/Guiliani_doc_1.5/index.html
I'm having troubles with finding tutorials/examples of how a simple VoIP application would look like. I've searched the web and found an out-dated step-by-step tutorial, so it wasn't much of a help and that's about it considering tutorials. However I've managed to find some nice API's like libosip ( oSIP ). It would be a great thing if anyone would know any good tutorial; or if anything a small VoIP open source app that i could checkout. I don't really have any troubles with understanding someone else's code if it wasn't commented/explained.
There is a great sip framework called PJSIP. look at this example for a short, but yet complete demo. Also take a look in the PJSUA API.
okay i'm making a game using c++ (for the engine) and openGL, now i've had lots of trouble using cal3d library for importing my 3d max models into my c++ project,
as a matter of fact i dunno where to even start, i can't find any decent guide and their documentation is pure shit really. i've been searching and trying stuff in this for over a month, but i don't even understand the file structure it uses so far :S
i really need some help, r there any other libraries? any decent guide i can use? i'm stuck
thnx alot
Rather than write your own exporter, consider using one of the built-in exporters for FBX, COLLADA, Crosswalk (.XSI), the Quake/Doom3 .MD3/.MD4 format, or even OBJ. It'll be much easier to parse the resulting file format on your end than to write and maintain a brand-new exporter.
Max is a complete pain for any kind of scripting or plugin. I'd suggest using maya instead if at all possible. You'll get better results for animation and rigging, too. I know it's not a direct answer to your question but part of the problem is the info for stuff like this is not easy to come by.
So i have never worked with double buffering before but i know that the basic idea is to draw an invisible layer for the next frame and leaving the old frame on until the new one is done and then replacing them. But how can i accomplish this?
Im rather new to the whole graphics thing and my teacher said that i need to use graphics.h for now. So im kinda stuck on it.
I dont think my code matters in this case so i wont post it.
Really all im trying to accomplish is a flickerless refresh ;D
Please give me a step by step explanation ;D
All the explanation on google were very vague only describing how it works rather than how to do it with the given commands.
Im using win10 and visual studio 2015 community.
EDIT: Im using the package from http://winbgim.codecutter.org/ .
Thanks in advance!
Yes you can. Simply use setactivepage() and setvisualpage().