Minecraft 2D

Talk about making games.

Re: Minecraft 2D

Postby Camper1995 » Tue Jun 07, 2011 6:30 pm

okay man, good luck :)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby savvy » Tue Jun 07, 2011 6:50 pm

should use xvel and yvel variables, then base animations on those.. that way it solves both collision and animation issues with 1 stone.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Imperialjester » Tue Jun 07, 2011 11:12 pm

yeah i tried that but for some reson when i use xvel and yvel on this game it doesnt work right, its not as smooth as x=x+3
Last edited by Imperialjester on Wed Jun 08, 2011 1:37 am, edited 1 time in total.
User avatar
Imperialjester
 
Posts: 185
Joined: Wed Dec 08, 2010 5:39 pm
Score: 10 Give a positive score

Re: Minecraft 2D

Postby Imperialjester » Wed Jun 08, 2011 12:51 am

Okay i did it, sorry it took me so long i didn't like my other method, it wasnt good enough. so i used the collision free method.
it works really nice. i also ported it to the QVGA pocket pc.
Attachments
MineCraft2D PPC.zip
collision and head fix PPC
(288.93 KiB) Downloaded 117 times
MineCraft2D PC.zip
collision and head fix PC
(253.02 KiB) Downloaded 110 times
User avatar
Imperialjester
 
Posts: 185
Joined: Wed Dec 08, 2010 5:39 pm
Score: 10 Give a positive score

Re: Minecraft 2D

Postby Camper1995 » Wed Jun 08, 2011 1:00 pm

It's probably not working because of 2 sensors (green sensors in view zone called moveLeft and moveRight).
These sensors work when they touch player, they stars doing an action (moving view)
_____________________________________________________________________________________________
And now to your movement. It's fantastic! Amazing job dude! This is so great. I'm still not understanding these CollisionsFree :/

I mean, not so good to use them in script like this one! But this is great!

+1 for you sir :wink:

img-thumbs_up.jpg
Thanks


Now I will make a new version of Minecraft 2D and add your movement style. Then we can do the inventory.
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Imperialjester » Wed Jun 08, 2011 1:55 pm

Thank you im glad you like it, what needs to change in the inventory? i wasn't able to play minecraft it keeps freezing after i load it in the browser. also i noticed you can dig 2 blocks away? is it supposed to do that. also i would be nice if we could make his arm swing.
User avatar
Imperialjester
 
Posts: 185
Joined: Wed Dec 08, 2010 5:39 pm
Score: 10 Give a positive score

Re: Minecraft 2D

Postby Camper1995 » Wed Jun 08, 2011 2:06 pm

Alright. This will be our basic game guys (in case that something won't work, we can always start again from this file)

Success.zip
(114.88 KiB) Downloaded 125 times
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Camper1995 » Wed Jun 08, 2011 2:17 pm

Yeah. Well, he needs to have some digging limit. I will make animations later (in few hours) and then i can add sounds.

The idea is to add few types of tools (Axe, pickaxe, sword) and then to add items like all you collect in the game
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby savvy » Wed Jun 08, 2011 2:19 pm

this is looking good camper :) need to work on a better block damage system, like in my one where you hold to destroy the blocks.
ill upload it when i can get my inventory to work... 90 slots... so maaany.... XD but yeah, its looking ok so far :)
1 tip: inventory is the i key in minecraft.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Minecraft 2D

Postby savvy » Wed Jun 08, 2011 2:30 pm

ok, i see how youve done your damage system now.. and heres my attempt, there are loads of glitches but hey, try it out anyway...
press i to get the inventory up/down but it doesnt work.
right click next to/ above or below a block to place another block
left click on a block to destroy it... slowly...

wasd to move the character (a little white box)

there is a minimap at the top right corner of the screen, has 1 glitch that ive seen..
save/load works for blocks but not the player, it jumps positions when you load it for some odd reason... stays on screen though :)
also you can pick up the debree left from destroying the blocks, just doesnt add to the inventory yet.

enjoy :P

savvy

PS: if you find anything useful, +1 would be nice.
Attachments
MC2D.zip
GED file
(242.64 KiB) Downloaded 122 times
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Camper1995 » Wed Jun 08, 2011 2:44 pm

Wow savvy. That is amazing! :D

Awesome minimap, great saving and loading games. Nice nice!

We just need to work more on that inventory, but your block destroying system will be used. Thats sure.
And we need to make generator. In layers.

+1 because this is very well done!
Thanks

edit: my generator is okay, but its not making the blocks randomly. I mean, it makes 1 layer of blocks (dirt with grass) and then just make new and new
blocks under it, like, 4 dirt, 3 stone... and so on and as you can see on the picture, it does not look realistic :p (I must think about it more)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby savvy » Wed Jun 08, 2011 3:04 pm

cheers :). yeah, inventory needs work, but i can easily do the randomizers with dirt too, my problem with that is i need to make a dynamic view instead of it being just in the sections, probably meaning i need to completely re-do it. but yeah, i noticed you've done your very differently to mine XD you code differently too.

savvy
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Lacotemale » Wed Jun 08, 2011 4:16 pm

I tested the success.zip, it rocks! Great progress so far guys!! Things are so much easier when we can all work together on it! :)

Reminds me of a phrase:

Working in a team divides the task and multiplies the success! 8)
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

Re: Minecraft 2D

Postby Camper1995 » Wed Jun 08, 2011 4:42 pm

Working in a team divides the task and multiplies the success!


:P That's true man. I'm glad that we can cooperate so good.
Savvy, about the view. I was thinking about to make the view parented to an actor that will follow the
player with some time delay.

Here is an example of what I mean:
viewMoving.zip
Dynamic view moving
(347.68 KiB) Downloaded 118 times


By the way, I'm re-editing the player's animations now so he will be able to move hands while smashing blocks!
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Minecraft 2D

Postby Imperialjester » Wed Jun 08, 2011 4:47 pm

sweet.
User avatar
Imperialjester
 
Posts: 185
Joined: Wed Dec 08, 2010 5:39 pm
Score: 10 Give a positive score

PreviousNext

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron