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: Questions about loading maps and check out my new project!
HA!!! I don't need to restructure my item system!!! It turns out i was making it WAY harder than it needed to be, the problem was that when i would use an item and delete it, the index integer that all the items hold wouldn't update so when the inventory used that index to access object members, if the index was 10 and there was 2 items, i would get a vector subscript out of range! What i probably did that screwed it up before was add in alot of crap to the engine that i though would fix the *health=h; problem. Luckily, i had a one day old backup of the engine stored on mi pc BEFORE i screwed it up! So now, THE ITEM SYSTEM IS UP AND RUNNING! Now all i have to fix is my itouch's white screen of death
- GroundUpEngine
- Chaos Rift Devotee
- Posts: 835
- Joined: Sun Nov 08, 2009 2:01 pm
- Current Project: mixture
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: UK
Re: Questions about loading maps and check out my new project!
Damn unlucky about the iTouch. Well on the upside ya got the item system sorted out, cool beans!
- 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: Questions about loading maps and check out my new project!
I posted a short update on youtube adding onto my last update
http://www.youtube.com/watch?v=gYDJTNmw5SA
http://www.youtube.com/watch?v=gYDJTNmw5SA
- 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: Questions about loading maps and check out my new project!
Major progress!
http://www.youtube.com/watch?v=ly1LSIXOxSc
As of April 8, at 1:49 EST, the quality sucks cuz i just uploaded!
http://www.youtube.com/watch?v=ly1LSIXOxSc
As of April 8, at 1:49 EST, the quality sucks cuz i just uploaded!
Re: Questions about loading maps and check out my new project!
Dude that's awesome! Scrolling is awesome, i did a map scrolling demo, and I just thought it was the coolest thing, even though its such a simple concept. Map loading is also a big leap. And now I'm gonna go play mario!
and I tried to leave a comment, but I think youtube screwed up, and didn't post it.... Ugh, they better get that shit fixed soon...
and I tried to leave a comment, but I think youtube screwed up, and didn't post it.... Ugh, they better get that shit fixed soon...
- 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: Questions about loading maps and check out my new project!
Ok, since my WINDOWS laptop has been infected with 10 viruses, i've temporarily switches to Ubuntu. I've managed to get my engine to run but i have a few problems...
It doesnt seem to handle strings like windows, either that or the file system thingy (for lack of a better name) doesn't work the same. There will be something like this:
It wont find the file, however, this works:
I cant figure it out...
It doesnt seem to handle strings like windows, either that or the file system thingy (for lack of a better name) doesn't work the same. There will be something like this:
Code: Select all
string temp;
BITMAP * sprite_sheet;
string f_name; //name of bitmap
getline(file,temp);
f_name=temp; //lets say this == hello.bmp
sprite_sheet=load_bitmap(f_name.c_str(),NULL); //This doesnt work;
Code: Select all
BITMAP * sprite_sheet;
sprite_sheet=load_bitmap("hello.bmp",NULL);
- 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: Questions about loading maps and check out my new project!
Thank you M_D_K for pointing out a STUPID error in my code and reminding me i was a noob!
All Hail M_D_K
Thanks to M_D_K i can now compile my engine in LINUX!!!!!
All Hail M_D_K
Thanks to M_D_K i can now compile my engine in LINUX!!!!!
Re: Questions about loading maps and check out my new project!
Maybe you revisit this topic in some years and think: "wtf can someone delete this post?"mv2112 wrote:Thank you M_D_K for pointing out a STUPID error in my code and reminding me i was a noob!
All Hail M_D_K
Thanks to M_D_K i can now compile my engine in LINUX!!!!!
-
- Chaos Rift Newbie
- Posts: 25
- Joined: Mon Jun 01, 2009 9:27 pm
- Current Project: Game Engine
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: Jackson, AL
- Contact:
Re: Questions about loading maps and check out my new project!
This is one reason why I don't post oftenK-Bal wrote:Maybe you revisit this topic in some years and think: "wtf can someone delete this post?"
Judge not a man by his language but by his use of the language.
- 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: Questions about loading maps and check out my new project!
I finally got toLua++ to compile and work! I now have a question, how do you pass a pointer to a class to lua? Like:
Rather than create new instances of classes, or maybe i've got it all wrong...
EDIT:
Got it to work
Code: Select all
--lua
ob=GetObject()
ob:do_crap()
EDIT:
Got it to work
- 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: Questions about loading maps and check out my new project!
Since i cant seem to figure out what else to put in my engine, i'm working on a site for it right now.
http://mv2112.podzone.org/
The site isn't guaranteed to be up all the time because i'm hosting it directly from my house. Right now, it just links to my old page, youtube account and a prototype social networking site project that i forgot about.
Also, DO NOT try and access my ftp . It autobans after 3 incorrect logins and it logs all IPs.
http://mv2112.podzone.org/
The site isn't guaranteed to be up all the time because i'm hosting it directly from my house. Right now, it just links to my old page, youtube account and a prototype social networking site project that i forgot about.
Also, DO NOT try and access my ftp . It autobans after 3 incorrect logins and it logs all IPs.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Questions about loading maps and check out my new project!
Most home users have dynamic IPs which negates both of those.mv2112 wrote: Also, DO NOT try and access my ftp . It autobans after 3 incorrect logins and it logs all IPs.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: Questions about loading maps and check out my new project!
Looks like it's time to use brute-force...mv2112 wrote:Since i cant seem to figure out what else to put in my engine, i'm working on a site for it right now.
http://mv2112.podzone.org/
The site isn't guaranteed to be up all the time because i'm hosting it directly from my house. Right now, it just links to my old page, youtube account and a prototype social networking site project that i forgot about.
Also, DO NOT try and access my ftp . It autobans after 3 incorrect logins and it logs all IPs.
There's no place like ~/
Re: Questions about loading maps and check out my new project!
bruteforce wouldn't work, it kicks after 3 tries, unless if you use a proxy server, but you would need an awful lot of them, and it would most likely not worth it to hack into there, now I should probably say this so I don't get into trouble, I don't hack, and look down on people who do hack, there is no reason to do it, unless if you are using your own stuff, for prevention.
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: Questions about loading maps and check out my new project!
...Randi wrote:bruteforce wouldn't work, it kicks after 3 tries, unless if you use a proxy server, but you would need an awful lot of them, and it would most likely not worth it to hack into there, now I should probably say this so I don't get into trouble, I don't hack, and look down on people who do hack, there is no reason to do it, unless if you are using your own stuff, for prevention.
I was joking of course, and why in the world would you get in trouble?
It's not like you said anything that only hackers would know or something, just common knowledge.
There's no place like ~/