Author Topic: new game by Notch  (Read 32138 times)

0 Members and 1 Guest are viewing this topic.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
new game by Notch
« on: December 24, 2011, 12:18:53 pm »
https://s3.amazonaws.com/ld48/ld22/index.html minicraft is a free game like minecraft
This used to contain a signature.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: new game by Notch
« Reply #1 on: December 24, 2011, 12:24:11 pm »
Amazing...... TI version of this? CHALLENGE ACCEPTED
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: new game by Notch
« Reply #2 on: December 24, 2011, 12:27:12 pm »
hey that would be awesome for an 84!
This used to contain a signature.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: new game by Notch
« Reply #3 on: December 24, 2011, 12:40:24 pm »
Indeed.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: new game by Notch
« Reply #4 on: December 24, 2011, 12:41:50 pm »
so who wants to do it? lol
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: new game by Notch
« Reply #5 on: December 24, 2011, 12:57:02 pm »
I think I might be able to do it, once I figure out how to use appvars and tilemaps lol
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: new game by Notch
« Reply #6 on: December 24, 2011, 01:14:44 pm »

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: new game by Notch
« Reply #7 on: December 24, 2011, 01:38:10 pm »
their was a thread on all that tilemapping awhile ago...it cleared stuff up a lot...let me go find it :)

edit: here... aeTIos made it simple  http://ourl.ca/14189
« Last Edit: December 24, 2011, 01:39:29 pm by saintrunner »
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: new game by Notch
« Reply #8 on: December 24, 2011, 01:52:36 pm »
Here's some stuff on tilemapping I sent to parser padwan in PMs

--------------------------------------------------------------------------------
Tilemapping
« Sent to: parser padwan on: 16 December 2011, 21:29:12 »
 --------------------------------------------------------------------------------

First, get some pics!!
[FFFFFFFFFFFFFFFF]->Pic1 ;I'll use all black for this one in this tutorial
[hex]
[hex]
[hex]
Now you have pics.
 
Second, make the graph database which is the data for the tilemap.
[010101010101]->GDB1   ;this is the tilemap in hexadecimal code.
[010000000001]
[010000000001]
[010101010101]
This wil make a rectangle. If all you see in this is random numbers, this is what it is.
Look at it, its a map.
Every time there is a 01, that means Pic1.
Every time there is a 00, there is nothing.
Every pair of numbers has a pic, or no pic like in 00 that is 8x8.
If you look, there are 01s that outline a bunch of 00s, which makes a rectangle border.
Every pic is assigned a number, and I'll show that to you here:
[This pic is 01]->Pic1 ; do pic1 for all of them
[This one is 02]
[03]
[04]
[05]
It goes on until 09, then goes to 0A, 0B, since it is in hex.
So change it to
[010101010101]->GDB1
[010202020201]
[010202020201]
[010101010101]
And then the middle stuff will be the second picture in pic1 and the border will be the first.
Now, for the loop.

This is the code for a tilemap of that size:

for(b,0,3)   ;loop for drawing the different columns
for(a,0,5)   ; loop for drawing the rows
{B*6+A+GDB1}->T  ;So this, this checks if it is 00, 01, 02 etc
if T ;checks if a tile should be drawn. If it is 00, it will skip
T-- ;I honestly don't know why aeTIos said to put this here
pt-on(a*8,b*8,T*8+pic1)   ;draw the tile. A was the X, B was Y, and T shows which pic.
end
end
end

Now for scrolling, I'll get more code.

--------------------------------------------------------------------------------
More tilemapping
« Sent to: parser padwan on: 16 December 2011, 21:34:51 »
 --------------------------------------------------------------------------------
I forgot to say it, but you'll have to tweak the code for different map sizes.

for(b,0,Height of tilemap in 8x8 tiles minus 1)
for(a,0,Width of tilemap in 8x8 tiles minus 1)
{B*Width of tilemap+A+GDB1}->T
if T
T--
pt-on(a*8,b*8,T*8+pic1)
end
end
end


--------------------------------------------------------------------------------
Even more tilemapping :P
« Sent to: parser padwan on: 16 December 2011, 21:43:29 »
--------------------------------------------------------------------------------
Most of this is from butts.

With scrolling, you need an X offset and a Y offset, in pixels. I use T for the X offset, and S for the Y offset. Assuming you have a pointer to the tilemap in W and the start of the Tile sprites in Pic1, using A, B, C, D, E, F, G, H, and I as temporary variables...

So, make a huge hex bigger than the screen and -> to a GDB, say GDB1.

Now just get a pointer, in this case W, so
GDB1->W

Im editing this code from butts to make it a whole lot more optimized, but it takes up a bunch of vars.
ClrDraw

0-(T^8)->C ;Bunch of storing
T/8-1->F ;Uses S and T, the offset, to find what to show of the tmap
T/8+11->G
S/8-1->H
S/8+11->I

For(A,F,G
0-(S^8)->D
For(B,H,I)

If {B*WIDTH_OF_MAP+A+W}->E
Pt-On(C,D,E-1*8+Pic1
End

D+8->D
End
C+8->C
End

DispGraph


So when T is 8 and S is 8, you're at the top-left most corner of the tilemap. You can increment/decrement T and S using the arrow keys.
 


Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: new game by Notch
« Reply #9 on: January 01, 2012, 12:12:20 pm »
I am thinking of attepting this after my gta game is done
This used to contain a signature.

Offline Camdenmil

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +4/-0
    • View Profile
Re: new game by Notch
« Reply #10 on: January 01, 2012, 04:32:21 pm »
I might attempt it. One of my friends drew up some nice sprites a while ago trying to get me to make a 2d "minecraft".
It is bad luck to be superstitious.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: new game by Notch
« Reply #11 on: January 01, 2012, 04:53:01 pm »
I think that would be a great idea
This used to contain a signature.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: new game by Notch
« Reply #12 on: January 01, 2012, 05:43:28 pm »
You know there is a lot of dedication towards calc stuff here when someone posts about a new video game and the discussion immediately switches to a possible calc port one. ;D

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: new game by Notch
« Reply #13 on: January 02, 2012, 05:20:05 am »
Too late. I was planning to make a ti-basic port of this for the 89 :P
Probably i would NOT use scrolling but yeah.

Also, feel free to make it for the z80 calcs. :P
« Last Edit: January 02, 2012, 05:20:26 am by Stefan Bauwens »


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: new game by Notch
« Reply #14 on: January 02, 2012, 06:48:16 am »
Apparently, everyone wants to make that game :P
So why not turning this into an open-sourced community project ?
Like if someone feels like doing the tilemapping, he does and adds his code in the topic, so people can improve it or complete it with the inventory code, etc :D
That way, there are less chances for it to be discontinued (if a coder is stuck, others can help) and it will be done faster :)

edit: That would mean using the same language :-\
« Last Edit: January 02, 2012, 08:25:07 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s