games  anime  |  toys
This is a Dtoid readers's blog. For staff blogs click here. Confused? read this Create you own!  |   Members: Login now





Drag and Drop Super Mario Bros.
fetusmilk | 1:57 PM on 03.20.2009 2 comments


this is from another site.
http://blog.makezine.com/archive/2009/03/drag_and_drop_super_mario.html?CMP=OTC-0D6B48984890

a friend who is a programmer found this and sent it to me. and i have to say this is one of the coolest hacks ever.
Drag and drop Super Mario


NES emulator hacker Xkeeper has been working on a Lua script that allows you to manipulate Super Mario Bros. game objects right in the middle of game play:

FCEUX is a NES emulator. It has Lua scripting support, and in the latest versions, a feature that allows you to grab input from the mouse and keyboard, outside of the "game input".

The script allows you to see the byte values of tiles by mousing over them and you can grab enemies (including things like lifts or projectiles) and move them around with your mouse. This particular Lua script hasn't been released on the FCEUX site yet, but it should be soon and there are several other Lua demos available in the luapack archive.

The Lua add-on to FCEUX allows you to cobble in your own code that will execute before each frame draw in the emulator, giving you an opportunity to manipulate things while the game is running. I've never coded in Lua, but the demo source code is easy to grok, and you may get some fun ideas for another game hack.



heres another example of a lua script in super mario bros



  related blogs:
 

Is this post awesome? Vote it up!

0


Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

2 comments | showing # 1 to 2

prev next

Doomsday Forte's Destructoid Blog
Oh wow. This is incredibly cool. I mean...talk about the ultimate two-player experience with SMB. I'm instantly reminded of the light 2P mode in Super Mario Galaxy, where the second player aims the cursor and picks up Star Bits and fires them at things. I can see someone helping out the player by arranging the tiles or the enemies. Or someone being a total asshole and making the game unbeatable.

Magic Missile destroys everything. XD
Artemus's Destructoid Blog
Interesting...


prev next


Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

Comments policy

Destructoid is an open discussion community. You don't need to "audition" to post a comment - just speak your mind. We respect differing opinions on the site, so have at it. Be smart, funny, insightful, clueless, or cute -- but back it up with substance. Keep your cool, keep it fun. We only ask that you act respectfully and above all: don't be a troll and ruin it for everyone else. Don't bring down gamers or we'll, you know, gently shoot you in the face and stuff you into a flaming mailbox. Each comment is your opportuntity to make this community awesomer. Is that even a word?

Avoiding the banhammer only requires common sense: spamming, trolling, racism, NSFW stuff, and other forms of sucking will not be tolerated. If anyone is griefing please report abuse. Be good. Don't suck!

 about me

i was born in Rochester NY. in 1979. i later moved to CT in 1990 and have been here ever since.

i work my job.
i am a Dispatch Computer Tech for a pharmaceutical company and a media printing company.

i drive my car.
i put it in my banner. its a 2006 Impreza WRX and i couldnt see myself living without it.

i play my games.
i like to buy games and never trade them in. i may not have a huge collection but all the games i have i enjoy playing.

i dont care which systems the games are on.
i have had or still have odyssey, coleco, atari, NES, SNES, N64, TG-16, genesis, master system, dreamcast, game boy, ps1, ps2, ps3, psp, and xbox 360.

i like to draw robots. i think that is why i was so attracted to Destructoid from the beginning.


i just want to play games. is that so wrong?

i first started with the odyssey at my grandmothers house(i was maybe 3-5 years old). "pick axe pete" was my first game. along with "take the money and run". and the race car game.

i currently have 120+ NES carts and need more.
i have about 15 snes games, not alot but there all good.(need to scan)
40 ps2 games.
0 360 games. (360 broke, sold all games)
30 ps3 games.
20 odd ps1 games. (need to scan)
i have the rare and still my favorite ps1 game
"rakugaki showtime"


check out scans of my games on my page.(not updated)
http://www.newkirk.biz/gnav.html

or check out my web site at
http://www.newkirk.biz

 xbox 360 gamertag
 friends' updates
CountingConflict's Profile CountingConflict
Extra Life
Diverse's Profile Diverse
Keep yourself clothed in Indie
DtoidNewYork's Profile DtoidNewYork
The Dtoid NY Secret Santa at Blipfest and a Podcast?
fetusmilk's Profile fetusmilk
short blog:Uncharted 2, machinima mode
Gameboi's Profile Gameboi
Talk about surreal!
Gantz's Profile Gantz
50 Cent > Killzone 2 + Street Fighter IV
garison's Profile garison
I've been on Dtoid for a year and 26 days, and I want to make love to all of you
MrSadistic's Profile MrSadistic
Hey Destructoid, Happy Thxgiving.
Necro BABS's Profile Necro BABS
The Blame Game: ASS-ASS-in’s Creed 2 is to blame not Jim.
necrozen's Profile necrozen
Demon's Souls: Lost Journal of Necrozen the Unwise Day 2
Niero's Profile Niero
Join Destructoid at the University of Miami's Launchpad
SantanaClaus89's Profile SantanaClaus89
PS3 Friday Night Fights: What Can I Do For You Edition
Scrixx's Profile Scrixx
I hugged Scrixx..
sickNasty's Profile sickNasty
My latest and most offensive sketch comedy show.
Takeshi's Profile Takeshi
Fare thee well my big black darling. I'll miss you.
Y0j1mb0's Profile Y0j1mb0
PS3 Friday Night Fights: I CAN'T MOVE EDITION


 

 
  get involved

register or login
post a blog
post a forum
enter a contest
contribute a news tip
suggest a feature
be a guest editor
support

new member's guide
login assistance
tech support
report abuse
email our editors
read our dev blog
nuclear crisis?
keep in touch

RSS feed
Twitter
Facebook
Myspace
Flickr
Game nights
Meetup+play online
seriously

about Destructoid
advertising
terms of use
privacy policy
jobs at MM
buy our crap
our network

Tomopop
Japanator
Despingation?




Destructoid is an independently-run publication forged by our love of video games and the gaming community's need of accountable enthusiast press
living the dream since March 16, 2006