Mario Craft (The Mario Minecraft)

If you created something quickly in DSGM 'just for fun', post it here. Please post the .DSGM project too.

Re: Mario Craft (The Mario Minecraft)

Postby chasegoree » September 25th, 2011, 7:54 pm

0-0.
Rockleeace is moi. Moi is n00b programmer. I like saying moi.
┏━━━┓
┃┏━━┛
┃┗━━┳━━┳┳━━┓
┃┏━━┫┏┓┣┫┏━┛
┃┗━━┫┗┛┃┃┗━┓
┗━━━┫┏━┻┻━━┛

Working on these titles
Gun Game viewtopic.php?f=13&t=2053
Teen Titans Beast Boys Adventure viewtopic.php?f=13&t=2105
Kingdom hearts pro skater viewtopic.php?f=8&t=2124
The Undead 4-Nazi Zombies viewtopic.php?f=13&t=2866
chasegoree
 
Posts: 239
Joined: March 5th, 2011, 10:05 pm

Re: Mario Craft (The Mario Minecraft)

Postby dice99 » October 1st, 2011, 2:53 pm

nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
dice99
 
Posts: 14
Joined: July 11th, 2011, 3:44 pm

Re: Mario Craft (The Mario Minecraft)

Postby Buck_7 » October 1st, 2011, 9:42 pm

Who do you consider good other than Nobody?
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: Mario Craft (The Mario Minecraft)

Postby Bobbyloujo » October 1st, 2011, 10:33 pm

Nobody answer that question. Anybody not on the list of people that someone thinks are good might feel bad.
Image
User avatar
Bobbyloujo
Site Admin
 
Posts: 1385
Joined: December 30th, 2010, 8:40 pm
Location: USA

Re: Mario Craft (The Mario Minecraft)

Postby Sonic The Hedgehog » October 7th, 2011, 10:14 am

Nobody wrote:Well here is a really brief summary of what i did:
The platform engine was easy. It was just sprite collision, to be more specific object underline code. So i didn't have to make a bunch of if's to make gravity for all the block types i simply made two different sprites for all the different block types (excluding enemies). Based on what object you were planting it would change the outward appearance. Last but not least the hardest part which still wasn't that hard to figure out (would be extremely difficult to those illogical thinkers), is the grid system for the blocks. I needed to make a snap to grid function so that the blocks would all be created evenly. So i used math to calculate were i tapped and figure out what value i needed to add to move it to the next grid sqaure (this took a while to think of. I randomly came across this working idea in like 20 minutes. if you want specifics i can add that later). Next, i had to account for the offset of the camera which took me like 10 minutes or less to install. Moving the blocks works along the same guidelines as planting one.

If you guys would like a better explanation or an example i could post it. I would love to see someone take this to the next level.


SO no example :?:
Sonic is gone for good as far as I know.
Or is he?
Spoiler: show
Probably
User avatar
Sonic The Hedgehog
 
Posts: 807
Joined: June 22nd, 2011, 12:26 pm
Location: My happy place

Re: Mario Craft (The Mario Minecraft)

Postby nicklausw » October 7th, 2011, 12:05 pm

HE IS BIIIIIIIIIIIIIIIIIIIIIIIZYYYYYYYYYYYYYYYYY! Maybe if he left he would come back...wait, he did leave, I think. :(
my stuff
pong - sms/gb
sudoku - sega master system

next project - something for the nes, perhaps?[/b]
User avatar
nicklausw
 
Posts: 1037
Joined: May 23rd, 2011, 10:25 pm
Location: The Capital Wasteland

Re: Mario Craft (The Mario Minecraft)

Postby boot2490 » October 8th, 2011, 1:33 am

Uh, how do I use it..?
boot2490
 
Posts: 31
Joined: January 2nd, 2011, 6:57 pm

Re: Mario Craft (The Mario Minecraft)

Postby dice99 » October 15th, 2011, 4:44 pm

how do you use what
dice99
 
Posts: 14
Joined: July 11th, 2011, 3:44 pm

Re: Mario Craft (The Mario Minecraft)

Postby memefefe » October 15th, 2011, 8:02 pm

I think he means the game
Who doesnt wanna watch a weirdo tumble?
http://kawaiiweirdo.tumblr.com
memefefe
 
Posts: 931
Joined: August 19th, 2011, 3:35 am
Location: The infinite expanses of my mind

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 11th, 2011, 12:30 am

hey, i'm back for a short bit. If i EVER get enough free time this would be the project i'd come back too. I have so many thing i haven't done with this yet. All i need to learn how to do is work loops, saving, and drawing to backgrounds and i can add tons (and i mean tons of features).
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Buck_7 » November 11th, 2011, 12:34 am

You need help with loops? in what way?
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 11th, 2011, 12:39 am

i just don't know how to work them, as i've said a thousand times before i don't know actual programming. I need to know how to use the basic for loop or something. I need this so i can cycle through the brick memory system and check when blocks need to be shown or not
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Buck_7 » November 11th, 2011, 12:44 am

I don't know much programming either. Sometimes I use loops for fading in or as a timer...
Code: Select all
Loop i
Start Block
Set Screen Brightness i
Wait For VBL
End Block
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 11th, 2011, 12:59 am

Buck_7 wrote:I don't know much programming either. Sometimes I use loops for fading in or as a timer...
Code: Select all
Loop i
Start Block
Set Screen Brightness i
Wait For VBL
End Block

yeah, but i pretty sure it goes through one number per frame unless i'm mistaken, but that might be because of the wait for vbl. I don't know, it might work. I need to find the fastest way to cycle it
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 13th, 2011, 11:41 pm

ok, i have attempted the loop and i have successfully got one working, which means i can begin working on a block loading which equals unlimited blocks (except for sprite limit on screen. i will look for a solution for this). also, that means if i have a block system if i get saving and loading then you can save and load your crafted worlds. Also, that means i can generate random maps with a level generator. so much stuff i can do now
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Buck_7 » November 14th, 2011, 12:12 am

Glad you're making success.
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 14th, 2011, 12:22 am

thank you. i just tried adding in a bulk of the code for the loading system at one time and it wasn't working properly. So i'm going to reopen the file from before i made the changes and start really basic and build up to the fully functional object. The loop is really what i needed though. With the loop i can get it to read 100's of array placeholders a frame (compared to the one place holder a frame per if statement). Thank you for this. I tested it out by telling it to run through 60 different values and see how fast it can read them all and place blocks across a straight row. Assuming it did it as soon as i opened the file i guess it did it all in one frame and even if it didn't, a couple of frames still isn't that bad.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Buck_7 » November 14th, 2011, 12:27 am

Woah, this is a bit advanced from what you're saying. But good luck on your project. I don't really know what a minecraft is though ;)
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 14th, 2011, 12:38 am

Buck_7 wrote:Woah, this is a bit advanced from what you're saying. But good luck on your project. I don't really know what a minecraft is though ;)

neither do i. I actually never played the game before when i made this game. People just talked about it and i looked it up and stuff. However, during the process i played games similar to it where you have worlds that you build stuff in it just to see what the game is about. It's ok, but it's not my favorite game. If i can get all the features i that i've been talking about hopefully i can add some actual gameplay to it besides just building (like a story, adventure, quest, ect.)
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: Mario Craft (The Mario Minecraft)

Postby Nobody » November 14th, 2011, 5:04 am

Ok, update on what's going on. I spent like a few hours playing around with my block system (this includes time i was doing other things within the mix) and i finally got up a working system! The game can now place a block, store it's location, and add and show them as needed.

This new system uses a lot of new variables/arrays to store a bunch of data and a for loop for fast cycling. It loads the blocks as they are needed on the screen and deletes them when they are unnecessary. To do this it checks if the block first exist, then determines if it is already present on the screen or not. If it is present, then it checks to see if it is out of our field of view of the camera and deletes it. This frees up your sprites so you can load other blocks. If the block is not present, it then checks if the block is within camera view and displays it. This was a very complicated process, but it now works and was worth it. With this new system you can pretty much bypass the sprite limitation, except if you somehow want to put more than 126 sprites on a screen. However, i am/have (need to go back and adjust a few things since the change) made the game so it will not allow more than 126 sprites available so your game session doesn't crash.

It's not 100% finished for i just now got the bulk of it done and it's late, so i'm stopping for the day. Right now it's only just saving a basic block, but i will change it so it remembers specific blocks. So an update is on it's way with some minor gameplay fixes, more features, expanded room size, and hopefully more blocks i guess.

EDIT: Thinks aren't working properly with the new system. It's not loading blocks right. Somehow data is being mixed up and altered weirdly. If you think you could help me or would like to try and help thaen inbox me or comment below
Last edited by Nobody on November 15th, 2011, 10:55 pm, edited 1 time in total.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America

PreviousNext

Return to Just for Fun

Who is online

Users browsing this forum: No registered users and 1 guest

cron