Author Topic: Block Dude in Lua  (Read 39388 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
Re: Block Dude in Lua
« Reply #30 on: April 17, 2011, 10:53:25 am »
COLORS!!!!  (Thanks to Adriweb for the "dude" sprite! :))



EDIT:  Also, here is a beta release in case anyone wants to play with it/look at the source (the color pics don't look all that great in B&W; this will eventually be fixed)

Press Enter to reset the level (or play again after you won)
« Last Edit: April 17, 2011, 11:02:31 am by apcalc »


Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Block Dude in Lua
« Reply #31 on: April 17, 2011, 01:35:48 pm »
haha you're welcome :P

Great code, great game :)

Congratulations !
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

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 #32 on: April 17, 2011, 01:37:04 pm »
New screenshots!  All that is left to do is add transitioning of levels! :D




Offline GB

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 147
  • Rating: +15/-3
  • Use Microhard WindOS today!
    • View Profile
    • MICROHARD CORPORATION
Re: Block Dude in Lua
« Reply #33 on: April 17, 2011, 02:54:58 pm »
Nice work!
TI-86 USER
CASIO PRIZM USER
TI-NSPIRE USER
TI-84 PLUS SILVER EDITION USER
TI-83 PLUS USER

PROJECTS:

Microhard Paint
http://www.omnimaga.org/index.php?topic=11915.0

TI-Nspire Character Map
http://www.omnimaga.org/index.php?topic=7725.msg142555#msg142555

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Block Dude in Lua
« Reply #34 on: April 17, 2011, 04:14:06 pm »
Wow this is great. Do you have Level Keys set up yet?
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 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 #35 on: April 17, 2011, 04:17:07 pm »
Wow this is great. Do you have Level Keys set up yet?

I don't think there will be any need for level keycodes in this.  Closing/Reopening the document does not change the position in the game, thus it will be "saved" at your respective spot.  You will be able to press "Enter" to restart a level, or "A" to go back to level 1. :)


Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Block Dude in Lua
« Reply #36 on: April 17, 2011, 04:19:02 pm »
Holy, I loved the colored version.  Who would have thought it could be so easy

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Block Dude in Lua
« Reply #37 on: April 17, 2011, 04:19:51 pm »
Is there any way to go back to specific levels?
and I thought they do restart. 15 puzzle does
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 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 #38 on: April 17, 2011, 04:22:11 pm »
Is there any way to go back to specific levels?
and I thought they do restart. 15 puzzle does

15 puzzle restarts every time because it calls the reset function each time you open the document.  Block Dude does the same, except it calls it for the current value of the variable "currlevel" which will not change.


Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Block Dude in Lua
« Reply #39 on: April 17, 2011, 05:32:46 pm »
Nice apcalc :)
Ndless.me with the finest TI-Nspire programs

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Block Dude in Lua
« Reply #40 on: April 17, 2011, 06:28:41 pm »
go dude :p
we're awaiting the release of crisis in Lua for the nspire xD

Offline apcalc

  • The Game
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Block Dude Lua
« Reply #41 on: April 18, 2011, 06:55:08 am »


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 #42 on: April 18, 2011, 07:07:34 am »
Uploaded to ticalc, Omni archives, and TI-Bank! :)


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Block Dude in Lua
« Reply #43 on: April 18, 2011, 07:40:16 am »
Uploaded to ticalc, Omni archives, and TI-Bank! :)

Nice job apcalc! This was coded very fast :D

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Block Dude in Lua
« Reply #44 on: April 18, 2011, 07:43:12 am »
ACtually, yep. I cant get this thing running on the computer, though :(
I'm not a nerd but I pretend: