Write it yourself, look into multiple render targets with GX, the basic process is to create a texture, in some cases you have to create a surface and aquire the surface level description, then, you set the render target to the texture (and in some cases the surface which in turn writes to the texture).by WiiPhlex - Coding
'A smaller project' is a rather difficult term to bind to a definition. So, if you haven't programmed much before, tic tac toe, mine sweepers, tetris, pong. If you feel you are very able to do those, consider making something like black jack, poker, pin ball etc. Although, remember it's better to make a simple game well, than a harder game without care.by WiiPhlex - Coding
I've been looking into surfaces with GX and am having some troubles. What I'm looking to do is create a rendertarget surface for the back buffer so I can do post proccess pixel effects, I'm looking for the GX equivelant of something like this in DirectX(9) LPDIRECT3DSURFACE9 g_pBackBuffer = NULL; I don't know to much about Surfaces in GX so any help would be appreciatedby WiiPhlex - Coding
You want help? I may be able to help.by WiiPhlex - Homebrew Applications
Yes, there's usually functions for that kind of thing across drawing objects like textures, particles etc.by WiiPhlex - Coding
This isn't really answering your question, but you declared an array with 1024 sprite objects? May I ask why? Edit: just had a proper look, don't you need to start the scene rendering then finish? I haven't used GX, but all of the other graphics API's I've used (including OpenGL which this is based on) require some form of function like d3dDevice->StartRender() thenby WiiPhlex - Coding
Is the makefile in the directory that you are calling the make command in, and are all of the files your program need actually there?by WiiPhlex - Coding
How the switch is compiled can depend largely on the compiler, some change it to a series of if statements that point to an address that holds the 'executed code' for that case.by WiiPhlex - Homebrew General
GOTO statements, I've read several books and all of them say to avoid the goto statement at all costs, it's often considered unstable, and is very easy to create hard to fun bugs in it. Easier solution is a switch case with a function at each case.by WiiPhlex - Homebrew General
That makes the assumption that the coder working on this actually creates an Engine. This is how I would go about it: Create a tile engine, and have each map loaded through this and printed to the screen, this would be easily done using Libwiisprite and it's Sprite.SetPosition(u32 x, u32 y) function. Then you create dynamic objects, these are the ones that that you can collide with, or wiby WiiPhlex - Homebrew General
That is the main idea behind it, None of this was calcualted in the main loop, rather the first instance of old is declared in the enginers constructor and then the engine precedes to show a frame, get user input, then call another function to update the time since old has occured and then start again.by WiiPhlex - Coding
k well, I figured this out like a week ago, so for others who want to know here's the general idea behind it (thanks Dale) int old = ticks_to_millisecs(gettime()) while(1) { showaframeandtakeuserinput(); int new = ticks_to_millisecs(gettime()) int elapsed = new-old; old=new; updategamestate(elapsed); } just divide elapsed by 1000 to get the number of seby WiiPhlex - Coding
cstdlib has some time functions (I think), I'm not going to use loops, It's just too messy.by WiiPhlex - Coding
I'm doing some physics programming and want to calculate displacement by distance over time rather than over loops as that can get rather messy, can I use the ticks_to_millisecs(gettime()) functions to calculate this?by WiiPhlex - Coding
Huge assumption much? Just because it was ported to a complently differnet device doesn't mean it will be even similar to that.by WiiPhlex - Homebrew General
AerialX, there are other lib's than this sound one and such a method of installation has worked fine previously. Edit: I just tried to install this lib, and I'll admit it is rather finiky, and given he has two folders named libogc, that confused things further, although got it in the end :pby WiiPhlex - Coding
I haven't tried using this particular library, but I have had it work fine before yes.by WiiPhlex - Coding
Of course it is possible, someone just has to make it ;)by WiiPhlex - Homebrew General
Data entry would be the easiest part, create a pokemon class then inherit from it, they all have members in common, name, element, etc.by WiiPhlex - Homebrew General
why can't you just do it manually? copy the files into their corosponding folders directly?by WiiPhlex - Coding
If you want your own font, make and program if yourself. This can be as easy or complex as you like. I'm working on a game at the moment with libwiisprite, and to get a font I want I created my own "engine" for it. Basically it works like this: I have an image that has all of the required characters I need in black with all the white deleted so it doesn't delete all the pixels behindby WiiPhlex - Coding
Oh yeah, I can see the equation -> -> ->-> -> R = V – 2 * (V·N) * N hahaha, this could be a decievingly tricky program to create given that a pinball "board" is usually at an angle of around20-30 degrees as well as a variety of objects for which to check collision against (just check the dot product of the two surface normals) if someone wants to make this anby WiiPhlex - Homebrew General
Quotestrongfanat least BASIC isn't as hard as #include int main(){ cout >> "Hello world! This is more work than there needs be!"; return 0; } Only to find the console window just flashes at you, then you have to say #include #include(cstdio); int main(){ cout >> "Hello world! This is more work than there needs be!"; return 0; system "Pause"; } Only to find yby WiiPhlex - Homebrew General
Did not see it sorry, thanks, I thought it was that, just wasn't sure.by WiiPhlex - Coding
Sorted out a while ago thanks :p tester didn't have the images at the correct directory.by WiiPhlex - Coding
The beggining of the end :p As you know, I'm am very against this, although I don't condone C, so good luck.by WiiPhlex - Homebrew General
I know this isn't entirely on topic, but didn't deserve a topic of it's own in my opinion. Can someone tell me what rumble is? I don't have a wii so I don't know these things.by WiiPhlex - Coding
with visual studio you can add lib's and headers through tools I beleive, and when you compile it will search those folders, although when I installed the DirectX SDK I didn't need to do this, it seems to have automatically located them, may have been something about the DX SDK and visual studio. For smaller projects, I find that there's too much in visual studio, although, it isby WiiPhlex - Coding
cygwin works fine for me, just the bash shell..by WiiPhlex - Coding
Quotewhodares I might be able to squeeze it in though... Please don'tby WiiPhlex - Homebrew General