Author Topic: [axe] 2D minecraft game  (Read 30707 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [axe] 2D minecraft game
« Reply #15 on: March 25, 2012, 09:03:59 pm »
By the way what is the max world size you plan to have in future versions?

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: [axe] 2D minecraft game
« Reply #16 on: March 26, 2012, 07:47:31 am »
* annoyingcalc dies of happieness
This used to contain a signature.

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: [axe] 2D minecraft game
« Reply #17 on: March 26, 2012, 09:01:22 am »
I'm building one, too, but in Grammer! I'm not doing grayscale (at least not yet...), and currently working on using appvars for levels as well. I've got a ways to go with that, but here's what I have so far (just using a separate buffer to store the blocks on, recalling the buffer like you would a tilemap, then drawing the player over that):
http://www.ticalc.org/archives/files/fileinfo/446/44632.html

After I've got appvars implemented and variable level size (user can input desired level size, within RAM limitations), I'll look at speed and also prioritize actions (block placing is a bit slow, probably because it's farther down in the code). Maybe even do a complete reconstruction of the game, because that always helps for some reason.

Did you use a sprite for your player? Seems a bit stalky...
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: [axe] 2D minecraft game
« Reply #18 on: March 26, 2012, 09:13:56 am »
O.O

That title screen looks AWESOME!!!!!!!!!!!!!

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: [axe] 2D minecraft game
« Reply #19 on: March 26, 2012, 10:06:19 am »
O.O

That title screen looks AWESOME!!!!!!!!!!!!!
I know... I'm really surprised with how it turned out. I took an actual screenshot of the title from Minecraft, cut it and shrunk it down to 96x64 in Paint, then spent like 3 hours drawing it out in code. It was fun, and really easy since the pixel coordinates in Paint work like the pixel coordinates required to draw lines in Grammer.

Sometimes I just run the program so I can stare at my title screen and play with the menu. It's probably the most aesthetically pleasing thing I've done on my calculator.

Wish I would have centered the title better. It's a bit off since my cut wasn't exactly symmetrical. I hate asymmetry... >:(
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: [axe] 2D minecraft game
« Reply #20 on: March 27, 2012, 08:59:46 am »
2D minecraft with side view does make the perspective more like Terraria, not Minecraft but this looks fun anyway! I shall try this soon.
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: [axe] 2D minecraft game
« Reply #21 on: March 27, 2012, 09:21:00 am »
Both impressive games.
I'll try them as soon as I get back from vacation
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [axe] 2D minecraft game
« Reply #22 on: March 27, 2012, 09:28:44 am »
Hmmmm, you oughta don't post your projects in someone other's topic.
Looks terrific, otherwise O.O
I'm not a nerd but I pretend:

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: [axe] 2D minecraft game
« Reply #23 on: March 27, 2012, 10:12:56 am »
I have made a new version: worlds are now 128 by 128 and are saved in appvars. Water and lava blocks are now animated and there are some other blocks added too.

Controls are still the same, but this time the executable is for mirage (so it should be supported ob more calcs).

MINECR3.8xp is the executable, MineSRC and GENWRLD are the source files (compile with axe 1.1.2).

Ok, does he means its also for mirage OS? Cause it isn't in the list, and it isn't working with the asm( command

(sorry to be N00B) :P
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: [axe] 2D minecraft game
« Reply #24 on: March 27, 2012, 10:28:07 am »
The MINECR3 program should theoretically be showing. If it isn't, try sending said program over to your calculator again.
It should be appearing in the MirageOS menu...

If that fails, get axe 1.1.2 and compile the source file yourself(make sure to set everything correctly on the options page in Axe, though)

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: [axe] 2D minecraft game
« Reply #25 on: March 27, 2012, 10:45:28 am »
Ok, I'll try, and uhm, if i wanted to learn axe, do you mind me watching your code?
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: [axe] 2D minecraft game
« Reply #26 on: March 27, 2012, 11:32:17 am »
Ok, I'll try, and uhm, if i wanted to learn axe, do you mind me watching your code?
Well, it's not my code... You'll have to ask ben_g.
But included in the Axe download are several easy-to-understand examples that might help.

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: [axe] 2D minecraft game
« Reply #27 on: March 27, 2012, 11:42:12 am »
Ow yeah, didn't read the names so good :P
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: [axe] 2D minecraft game
« Reply #28 on: March 27, 2012, 12:45:05 pm »
Ok, I'll try, and uhm, if i wanted to learn axe, do you mind me watching your code?
I don't mind at all, but if you have no experience with axe, it might be hard to understand.
By the way what is the max world size you plan to have in future versions?

Also, stevon8ter, If it still doesn't work, tell it, then I'll post a version that will work with asm( .
the current world size is 128*128, and that might stay like that because generating a new world now already takes 8 seconds. If that doesn't turn out big enough, then I'll have to make code something in to only generate parts ('chunks') of the world. If that happens, The max world size might be whatever fits into the memory.

I'm building one, too, but in Grammer!
Did you use a sprite for your player? Seems a bit stalky...
Xeda already told me you were working on one. Apparently the controls are almost identical.
And yes, I'm using a sprite for the player. It looks so bad because I'm not good at drawing sprites.

EDIT:
A part of the world generation now works (Thank you Runer for your seeded pseudo random number generator routine).
The world is now made of dirt (on top), stone (usually below ground) and trees a maximum of 20 trees (which spawn on the first dirt block of a collum). There are also still the bedrock borders.

The main source isn't changed, so you can just recompile with the previous minesrc3 program, and download the new genwrld program here. minecr_exe is the new executable. When you run it, don't worry, your calc isn't frozen. World generation takes 8 secounds

I also included an example world which can be loaded by the previous version (the one that supports appvars) (MCworld)
« Last Edit: March 27, 2012, 04:30:32 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: [axe] 2D minecraft game
« Reply #29 on: March 27, 2012, 05:06:52 pm »
Screen ?
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%