Author Topic: Block Dude in Lua  (Read 42755 times)

0 Members and 1 Guest are viewing this topic.

Offline apcalc

  • The Game
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Block Dude in Lua
« on: April 14, 2011, 10:33:23 pm »
In order to become acquainted with the Lua language for the Nspire, I have decided to port Block Dude to Lua!  This is in extremely early stages, and, at this point, my knowledge of Lua is still quite low.  Nevertheless, some basic features are currently working:



Hopefully, this will progress quickly! :)

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Block Dude in Lua
« Reply #1 on: April 14, 2011, 10:36:37 pm »
Nice work!  It is great that this calculator game classic is being ported to the Nspire. :)

I wish you good programming!
ld a, 0
ld a, a

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Block Dude in Lua
« Reply #2 on: April 15, 2011, 02:03:03 am »
Good :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Block Dude in Lua
« Reply #3 on: April 15, 2011, 02:32:06 am »
i'm glad to see that some good is already coming of 3.0. lua looks very promising, even if it is more limited than asm.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Block Dude in Lua
« Reply #4 on: April 15, 2011, 03:51:21 am »
Nice work!  It is great that this calculator game classic is being ported to the Nspire. :)

I wish you good programming!
There already exist blockdude for the nspire, made by Apcalc. Ofcourse it might not work amore with all those updates.

Apcalc, that's really nice.
« Last Edit: April 15, 2011, 04:07:34 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 Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Block Dude in Lua
« Reply #5 on: April 15, 2011, 07:24:28 am »
In order to become acquainted with the Lua language for the Nspire, I have decided to port Block Dude to Lua!  This is in extremely early stages, and, at this point, my knowledge of Lua is still quite low.  Nevertheless, some basic features are currently working:



Hopefully, this will progress quickly! :)

That is looking good! Nice job :) Awaiting further development :D

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Block Dude in Lua
« Reply #6 on: April 15, 2011, 09:20:08 am »
Really nice :)

Maybe we'll find some more api functions to program games more easily tho :P
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Block Dude in Lua
« Reply #7 on: April 15, 2011, 01:05:36 pm »
I'll start writing a port of one of my TI-BASIC games I made later.
This sounds like it will be fun

I can't wait for a release of this
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Block Dude in Lua
« Reply #8 on: April 15, 2011, 02:38:44 pm »
hey scout apcalc, do you want my help porting block dude?

EDIT:thank you for the correction stefan  ;)
« Last Edit: April 15, 2011, 02:43:50 pm by renatose »

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Block Dude in Lua
« Reply #9 on: April 15, 2011, 02:40:24 pm »
hey scout, do you want my help porting block dude?
I think you mean Apcalc. ;)


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

Interview with me

Offline apcalc

  • The Game
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Block Dude in Lua
« Reply #10 on: April 15, 2011, 09:33:56 pm »
hey scout apcalc, do you want my help porting block dude?

EDIT:thank you for the correction stefan  ;)

I thank you for your offer, but since this is being heavily based on my previous Block Dude in C, all I really need to do is change the syntax around.  In fact, I am really just about done with this! :)


Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Block Dude in Lua
« Reply #11 on: April 15, 2011, 09:48:45 pm »
When can we expect a release date?
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Block Dude in Lua
« Reply #12 on: April 16, 2011, 01:12:02 am »
this is being heavily based on my previous Block Dude in C
So, this is a TI-Nspire Lua port of a TI-Nspire C game which was a port of a TI-83+ game which was a port of a DOS game? :p
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

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: Block Dude in Lua
« Reply #13 on: April 16, 2011, 02:03:41 am »
Lol Goplat. :P

I didn't know the 83+ game was a port of a DOS game, though. I was sure it was the original. O.O

ANyway I think this is mostly to show what the Lua language can do so far. Looks nice Apcalc. Do you think you can add actual textures or is that beyond Lua capabilities on the Nspire?

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Block Dude in Lua
« Reply #14 on: April 16, 2011, 04:30:16 am »
I didn't know the 83+ game was a port of a DOS game, though. I was sure it was the original. O.O

It was based on "Block-man 1" by Soleau Software. Levels 1-10 of Block Dude are pretty much identical to levels A-J of Block-man (levels 11+ are new).
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo