This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-02-15 21:14:21

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

I wanna be part of the random world generation.


It's my birthday. Deal with it.

Offline

 

#27 2012-02-15 21:15:54

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

maxdoss wrote:

I wanna be part of the random world generation.

That's pretty much done, you could add things like mountains though, take a look at the code if we're using my one.

Offline

 

#28 2012-02-15 21:33:39

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

Liru wrote:

maxdoss wrote:

I wanna be part of the random world generation.

That's pretty much done, you could add things like mountains though, take a look at the code if we're using my one.

Your code doesn't make any sense.


It's my birthday. Deal with it.

Offline

 

#29 2012-02-15 21:37:27

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

maxdoss wrote:

Liru wrote:

maxdoss wrote:

I wanna be part of the random world generation.

That's pretty much done, you could add things like mountains though, take a look at the code if we're using my one.

Your code doesn't make any sense.

The results don't show that.

Offline

 

#30 2012-02-15 21:40:47

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

Liru wrote:

maxdoss wrote:

Liru wrote:

That's pretty much done, you could add things like mountains though, take a look at the code if we're using my one.

Your code doesn't make any sense.

The results don't show that.

To me, the scrolling doesn't even work.

EDIT: I just tried alpha 2. I still don't get how it works though, so no adding mountains. But I still want to help with world generation.

Last edited by maxdoss (2012-02-15 21:44:28)


It's my birthday. Deal with it.

Offline

 

#31 2012-02-15 21:44:08

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

maxdoss wrote:

Liru wrote:

maxdoss wrote:


Your code doesn't make any sense.

The results don't show that.

To me, the scrolling doesn't even work.

Press a or d, it's slow in non-turbo mode as it redraws everything.

Offline

 

#32 2012-02-15 21:45:22

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

Liru wrote:

maxdoss wrote:

Liru wrote:


The results don't show that.

To me, the scrolling doesn't even work.

Press a or d, it's slow in non-turbo mode as it redraws everything.

I edited the post. I still don't get how it works, so no mountains. I still want to do world generation.


It's my birthday. Deal with it.

Offline

 

#33 2012-02-15 21:58:17

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

maxdoss wrote:

Liru wrote:

maxdoss wrote:


To me, the scrolling doesn't even work.

Press a or d, it's slow in non-turbo mode as it redraws everything.

I edited the post. I still don't get how it works, so no mountains. I still want to do world generation.

If you can't work out how it works then how are you going to do anything as complicated as world generation?

There's 2 parts, the listgen, and the list reader. The list contains values for the WHOLE map, then the reader will generate based on a small area of this list. The map gen just writes to the list.

Offline

 

#34 2012-02-15 22:03:58

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

Liru wrote:

maxdoss wrote:

Liru wrote:


Press a or d, it's slow in non-turbo mode as it redraws everything.

I edited the post. I still don't get how it works, so no mountains. I still want to do world generation.

If you can't work out how it works then how are you going to do anything as complicated as world generation?

There's 2 parts, the listgen, and the list reader. The list contains values for the WHOLE map, then the reader will generate based on a small area of this list. The map gen just writes to the list.

I know how to do world generation, but I don't understand your scrolling. So I think there should be no scrolling.


It's my birthday. Deal with it.

Offline

 

#35 2012-02-15 22:09:36

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

maxdoss wrote:

Liru wrote:

maxdoss wrote:


I edited the post. I still don't get how it works, so no mountains. I still want to do world generation.

If you can't work out how it works then how are you going to do anything as complicated as world generation?

There's 2 parts, the listgen, and the list reader. The list contains values for the WHOLE map, then the reader will generate based on a small area of this list. The map gen just writes to the list.

I know how to do world generation, but I don't understand your scrolling. So I think there should be no scrolling.

Scrolling means we can have an endless map, it's what will break the mould.

Just because you don't understand doesn't mean we shouldn't have it, you can work on something you do understand.

Offline

 

#36 2012-02-16 02:01:09

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

Basically, this is how it works:

It clears the list first off.
It waits for you to put in the map size.
It has a variable to determine how many blocks it should miss for a sky and surface.
It sets 0 for every sky bit.
It creates a number for grass, then dirt, then rock, whilst doing the rock layer it has a chance to put in some numbers for things like ores.
It repeats on a new list item for the map size variable, by the time it's finished it should have the same amount of items in the list as the map size.

Nothing should be on the screen at this point, nothing should've been stamped.

Now we have the list generated we can start with the stamper. This reads from the list then stamps according to the number it is on.
It starts on the variable "player x", then it subtracts a certain number from that and starts to generate from that number in the list.
It sets the costume to the number in the current item in the list and stamps, it then moves down.
Each item in the list is a column, each number is a block, this makes it easy to use.

Once you press a or d it will add or subtract 1 from Player X then regenerate the land to change it.

Offline

 

#37 2012-02-17 18:32:39

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: Minecraft 2D

Just in case we aren't doing Lirus engine, I'm making one my self.


It's my birthday. Deal with it.

Offline

 

#38 2012-02-18 01:05:14

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

Does SJRCS11_010 even come on anymore?

Offline

 

#39 2012-02-18 20:42:57

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

Liru wrote:

SJRCS11_010 wrote:

Liru wrote:

I'll help, we can use my pre-existing engine which even scrolls.

http://scratch.mit.edu/projects/Liru/2275221

Once someone works out how to find out which block the mouse is over in the list we can add a lot more.

Sure, but one thing. Is it possible to add caves, make the map much bigger vertically, and add seeds?

Caves, yeah as soon as I get a grid system
Make the map bigger vertically, possibly, if we scoll
Seeds, no

Ok!


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#40 2012-02-18 20:44:18

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

Liru wrote:

Does SJRCS11_010 even come on anymore?

Yeah, sorry, kind a busy week.I'll try to be on alot more now!

Last edited by SJRCS11_010 (2012-02-18 20:49:29)


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#41 2012-02-18 20:45:22

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

maxdoss wrote:

I wanna be part of the random world generation.

um, ok!


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#42 2012-02-18 20:48:50

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

I'll try to have the test world up tommorow so everyone can start working


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#43 2012-02-18 20:51:24

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

maxdoss wrote:

Just in case we aren't doing Lirus engine, I'm making one my self.

actually, just try to improve on the lirus on. I'm pretty satisfied with that.


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#44 2012-02-18 23:12:21

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Minecraft 2D

Can i help with sprites?


http://i46.tinypic.com/6yd4c0.png

Offline

 

#45 2012-02-19 07:59:52

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

Laternenpfahl wrote:

Can i help with sprites?

Um, sure, just let me do the first few so we both do the same style.


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#46 2012-02-19 08:09:35

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

Are we changing the textures of blocks?

By the way, first off we should start on trying to find out which block the mouse is over in the world's save list, this is the only thing we need to work out, I have a list of the order of things we should do, you all need dropbox.

Last edited by Liru (2012-02-19 08:19:13)

Offline

 

#47 2012-02-21 01:22:32

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

Re: Minecraft 2D

Ok, writing to memory has been done, I just need someone to fix the accuracy of where it saves, right now it's a few blocks out.

After that's fixed we can start on creative mode.

Last edited by Liru (2012-02-21 03:33:42)

Offline

 

#48 2012-02-21 06:50:35

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: Minecraft 2D

Liru wrote:

Ok, writing to memory has been done, I just need someone to fix the accuracy of where it saves, right now it's a few blocks out.

After that's fixed we can start on creative mode.

ok


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#49 2012-03-24 02:21:33

kman20
Scratcher
Registered: 2010-11-12
Posts: 8

Re: Minecraft 2D

http://www.box.com/s/f64654caabae9e8f1688

A free download of an early Pre-Alpha Stage mincraft 2d beta.

Offline

 

#50 2012-03-24 10:37:18

backspace_
Scratcher
Registered: 2012-03-21
Posts: 500+

Re: Minecraft 2D

I'll join as a terrain programmer, I understand Liru's project unlike maxdoss.

@Liru: I looked through your project, and I can't see your save list in any of your sprites


Your tiny hands
Your crazy kitten smile

Offline

 

Board footer