mvEngine Development Thread
Moderator: Coders of Rage
- mv2112
- Chaos Rift Junior
- Posts: 240
- Joined: Sat Feb 20, 2010 4:15 am
- Current Project: Java Tower Defence Game
- Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
- Programming Language of Choice: C/++, Java
- Location: /usr/home/mv2112
- Contact:
Re: mvEngine Development Thread
Just started making a Level Editor with Qt and openGL. I am liking Qt ALOT, especially with openGL! GUI FTW!
Re: mvEngine Development Thread
same dude, got any good online tuts, I got some ebooks, but online tuts would be nice too
- mv2112
- Chaos Rift Junior
- Posts: 240
- Joined: Sat Feb 20, 2010 4:15 am
- Current Project: Java Tower Defence Game
- Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
- Programming Language of Choice: C/++, Java
- Location: /usr/home/mv2112
- Contact:
Re: mvEngine Development Thread
I just study the Qt documentation when needed and look at the example projects, there are also some OK tuts on the Qt site.eatcomics wrote:same dude, got any good online tuts, I got some ebooks, but online tuts would be nice too
http://doc.qt.nokia.com/4.6/index.html
Re: mvEngine Development Thread
Yeah I saw some of those, I have some great idea for my editor.... but I don't know how much of it I'm able to do, I would imagine all of it is possible, but probably not easy
It would be really cool if you'd do a video on yours when you get it working well. I was thinking about using Qt before the new AiGD but I was too lazy to actually start, then I saw the new episode I was like... Mk this is goin down
It would be really cool if you'd do a video on yours when you get it working well. I was thinking about using Qt before the new AiGD but I was too lazy to actually start, then I saw the new episode I was like... Mk this is goin down
- mv2112
- Chaos Rift Junior
- Posts: 240
- Joined: Sat Feb 20, 2010 4:15 am
- Current Project: Java Tower Defence Game
- Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
- Programming Language of Choice: C/++, Java
- Location: /usr/home/mv2112
- Contact:
Re: mvEngine Development Thread
This is random but i was bord so i decided to try and convert a unsigned char array [4] into an unsigned int, write it to a binary file, read the file and try and turn that int back into a char array. I cant figure out how to turn the int back into the char array.
This is the code i used to turn the chars into the int:
How do i split the integer into 4 chars?
This is the code i used to turn the chars into the int:
Code: Select all
for(unsigned int i=0;i<4;i++)
{
arraytoInt=(arraytoInt<<8)|array[i];
}
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: mvEngine Development Thread
well, here's if you want it as a normal char* (AKA a C string):mv2112 wrote:This is random but i was bord so i decided to try and convert a unsigned char array [4] into an unsigned int, write it to a binary file, read the file and try and turn that int back into a char array. I cant figure out how to turn the int back into the char array.
This is the code i used to turn the chars into the int:How do i split the integer into 4 chars?Code: Select all
for(unsigned int i=0;i<4;i++) { arraytoInt=(arraytoInt<<8)|array[i]; }
Code: Select all
// for malloc
#include <cstdlib>
// for memcpy
#include <cstring>
char str[4] = "COWS";
// destination
char* dst;
// convert str to unsigned int
unsigned x = *(unsigned*)str;
// convert x into char* and copy into dst (with a null terminator)
dst = (char*)malloc(sizeof(unsigned)+1);
std::memcpy(dst,&x,sizeof(unsigned));
dst[sizeof(unsigned)] = '\0';
Code: Select all
// for malloc
#include <cstdlib>
// for memcpy
#include <cstring>
unsigned char str[4] = { 42,32,0,255 };
// destination
unsigned char* dst;
// convert str to unsigned int
unsigned x = *(unsigned*)str;
// convert x into unsigned char* and copy into dst (no null-terminator this time)
dst = (unsigned char*)malloc(sizeof(unsigned)+1);
std::memcpy(dst,&x,sizeof(unsigned));
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
Re: mvEngine Development Thread
Heyo! Is this engine still in development? Mv haven't seen you around in a while...
- mv2112
- Chaos Rift Junior
- Posts: 240
- Joined: Sat Feb 20, 2010 4:15 am
- Current Project: Java Tower Defence Game
- Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
- Programming Language of Choice: C/++, Java
- Location: /usr/home/mv2112
- Contact:
Re: mvEngine Development Thread
So i haven't updated in a while because my engine isn't turning out like i want it to. It doesn't have that old-school RPG feel that i'm looking for.
What are some good RPGs for NES, SNES or N64? I'm looking for some inspiration....
The only one i have is Chrono Trigger and i'm liking it so far. I can also see inspiration from Chrono Trigger in Elysian Shadows
Also, does anyone know if SDL with openGL works on the Wii? SDL blitting is WAY too slow for the wii.
What are some good RPGs for NES, SNES or N64? I'm looking for some inspiration....
The only one i have is Chrono Trigger and i'm liking it so far. I can also see inspiration from Chrono Trigger in Elysian Shadows
Also, does anyone know if SDL with openGL works on the Wii? SDL blitting is WAY too slow for the wii.
Re: mvEngine Development Thread
OpenGL works, but I hear its pretty buggy...
And on the RPG things, secret of mana, the old final fantasies of course, super mario rpg is okay... I saw a review on a game called shining force once, looked really cool, you should definitely play Earthbound, that game is so strange you have to play it, and of course diablo :D
And on the RPG things, secret of mana, the old final fantasies of course, super mario rpg is okay... I saw a review on a game called shining force once, looked really cool, you should definitely play Earthbound, that game is so strange you have to play it, and of course diablo :D
- epicasian
- Chaos Rift Junior
- Posts: 232
- Joined: Mon Feb 22, 2010 10:32 pm
- Current Project: Gigazilla Engine
- Favorite Gaming Platforms: Dreamcast, SNES, PS2, PC
- Programming Language of Choice: C/++
- Location: WoFo, KY
Re: mvEngine Development Thread
Heres a giant forum post (en español) that describes the basics of the libraries: http://www.entuwii.net/foro/viewtopic.php?f=6&t=94
Also, found these:
http://wiibrew.org/wiki/Tutorials
http://wiibrew.org/wiki/List_of_development_tools
Hope this helps in some way, shape or form :DD
Also, found these:
http://wiibrew.org/wiki/Tutorials
http://wiibrew.org/wiki/List_of_development_tools
Hope this helps in some way, shape or form :DD
- mv2112
- Chaos Rift Junior
- Posts: 240
- Joined: Sat Feb 20, 2010 4:15 am
- Current Project: Java Tower Defence Game
- Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
- Programming Language of Choice: C/++, Java
- Location: /usr/home/mv2112
- Contact:
Re: mvEngine Development Thread
Google Translate FTW!epicasian wrote:Heres a giant forum post (en español) that describes the basics of the libraries: http://www.entuwii.net/foro/viewtopic.php?f=6&t=94