Mario is getting capped! (beta) v0.7.0.1

zardOz2 - Custom level - from Windows
Play56 players liked this.Log in to like this level.

Update: Added a draw all bullet bills code and added the guns to the universal collision code, bullet collision vs mario and mario/bullet death mechanics, bullet direction and reset timing/restrictions

Woot, got my super efficient collision vs all blocks code working. This turned out to be far more difficult than I was expecting...

The code will only search for 1-5 total surfaces at any given time even if there are a million blocks. The draw all blocks code is also super efficient, if the blocks table has 2000x100 blocks in it, the code will restrict the search paramiters to any part of the block table which might be on screen, so instead of looping 200,000 times it will only do about 500)

Next up is power ups, and fixing the few bugs on my list, still have an issue with hitting 2 adjacent ? blocks from the same X location.

Views: 4454 Downloads: 1444 Unique objects: 1 Total objects: 25


Discuss this level

Log in to comment on this level.
  • Flame Fireling: @BobMonkeypimp: He is dead
  • Flame Fireling: @BobMonkeypimp: He is dead
  • Flame Fireling: @Chad64: lol i thinked other guy made it!
  • Chad64: :'(
  • Chad64: @Flame Fireling: he's dead already, he never will
  • Flame Fireling: Can you make it editable???
  • Chad64: omfg i want to cry.
  • principiafreak300: We will never know how he did this :(
  • Chad64: you gonna continue this yet?
  • qwertyah: @n1nt3nd0: ???
  • n1nt3nd0: Збс
  • Alejandro: Hmm. That reminds me to Super Mario Maker, the latest Mario game. It is easier to do levels there than coding sprites in Lua script! :)
  • Alejandro: Please allow derivates!!
  • Alejandro: Oh, double post : /
  • Alejandro: WOW! This is the BEST level I've ever played!! Congratulations!
  • BobMonkeypimp: @zardOz: Come back to Principia, we miss you.
  • Alejandro: WOW!!!! This is the best level I have played!!! Congratulations!!
  • sjoerd19992: How? Just how? How?
  • Cool Dude: Cool
  • zardOz2: @sjoerd1999: sorry( better find a PC can download free right now
  • sjoerd19992: Omg, so many great build while I was away, really want to start playing Principia again!! Sadly still no ios update...
  • zardOz2: @that guy:best picture 1976, youtube it
  • that guy2: @zardOz: I feel guilty for not knowing what that is lol.
  • zardOz2: @that guy: the theme music from Rocky was playing when I typed it ;)
  • that guy2: @zardOz: ............. That was way too inspirational for me to say what I was going to say...
  • zardOz2: @that guy: like why am I making this at all? still tons of stuff to learn for me which I consider critical, I had an idea for a super efficient collision system for grid games which use a 1x1 system, mario was an ideal candidate for my learning tests
  • that guy2: y u do dis...
  • zardOz2: @Chad64: yeah thats fixed i the next update, if I can ever get the powerups to collide correctly lol... it does work but barely
  • Chad64: I would like to be able to step on them plz thx
  • zardOz2: @yo man: yeah its pretty rough for me, this is a PC only controls game I think. Controller support would be epic
  • yo man: Sweet! But i cant play mario without the real controller!
  • zardOz2: @Ahmad Khaled: man so many things to track, just fixed like 4 more things with the bullets lol
  • Ahmad Khaled: @zardOz: awesome ,man .it has artificial intelligence.
  • zardOz2: @Ahmad Khaled: @klizma: thx, I should have the Bullet Bill code finished in a little bit)
  • klizma: Wow O_0
  • Ahmad Khaled: Amazing update .I loved these effects.
  • zardOz2: @Epplejeck: sorry this is locked until I'm finished... If there's any particular part you want to know about I'd be happy to share
  • Epplejeck: Make editable please

  • zardOz2: @dislexicboy: same design, different code... Flappy ripped them from mario anyway heh
  • dislexicboy: Very cool, but are those your flappy bird pipes
  • The Ohio One: Why are you so good at this game man, its amazing
  • Charlest360: I remember myself playing original SMB on my Wii :D
  • zardOz2: @Demon666: I'd prefer j myself for 2 hands) I'll switch it up next update
  • Demon666: can W be jump instead of G? or space bad? its just so weird reaching for G to jump lol
  • Demon666: lmao. not really. you dont get much distance from it and you cant use it to climb up a single vertical wall(ive tried many times lol).
  • zardOz2: @Demon666: ahh I remember that, not gonna happen buddy! That would make the level and puzzle design so much more restrictive
  • Demon666: it is very useful tho cut then you can scale large walls by jumpkicking upwards repeatedly lol
  • Demon666: i was playing new super mario brothers on nintendo DS lol.
  • JOELwindows7: Think
  • JOELwindows7: @zardOz: I thinks it's an intresting concept.
  • zardOz2: @Demon666: not sure what wacky game you were playing but it wasn't Mario 1, sounds cool
    @Johnsinna: Congratz!
    @JOELwindows7: Need to pre-master first;)
    @electro: thx e!
  • Johnsinna: Im Alive
  • Demon666: what about the wall rebound jump? lol i remember being able to rebound off walls like jackie chan lmao.
  • electro: U are always at top
  • JOELwindows7: This guy want to remaster this!
  • Ahmad Khaled: @zardOz: keep on like this until the full version .best luck.
  • zardOz2: @Ahmad Khaled: thanks, Im trying really hard to make it feel like the real thing, the jump strength was rough... it has a bunch of variables with an initial small jump on the first bit, a run speed bonus and an additional bonus for each bit the button is held while moving upward heh
  • Ahmad Khaled: I felt like I am playing the real game .(amazing coder despite the limitation of stuffs)
  • zardOz2: @BobMonkeypimp: thanks man) hopefully an actual game will also be amazing. Im beginning to understand why game credits pages are so long lol
  • BobMonkeypimp: This is amazing!
  • Winfrid9: Awesome!
  • zardOz2: @dOUBLEbAD: I could make it pretty easy but I'm really focused on making the code extremely efficient, if I can get my 0 lag ideas to work I might finish heh... I'm making a build you own Mario level thing so its more complex than normal
  • dOUBLEbAD: @zardOz: if you ever get this done it with be epic ;)
  • JOELwindows7: Yaah
  • JOELwindows7: @zardOz: ok haha
  • zardOz2: @BobMonkeypimp: heh thanks, it CAN be torture... My OCD has had me stuck on the same line for hours trying to make the perfect collision detection system for this... I have to redo all of the move and jump codes now to make it work(
    @JOELwindows7: done... may never come lol
  • BobMonkeypimp: That is excellent!!! I'm going to go through all the tutorials I can & learn me some lua.
  • JOELwindows7: :O Duper Awesome!!!
    Allow Derivatives when done
  • Apxumekmop: you crazy, im calling cops lol :D
  • electro: For this
  • electro: More words
  • electro: Can't comment
  • principia_rus: @zardOz: ok :-(
  • zardOz2: @RasmusOlle: yeah the final controls will be different, this is just for testing
  • RasmusOlle: This seems cool, but the controls are a bit off for Windows. make you able to jump with W and/or space key.

    Also, I made a Super Mario clone too:
  • zardOz2: just had a great idea of how to make this code 100 times better... start from scratch time sigh lol
  • ricardito08: @shantanuaryan67: Such a artist! XD
  • that guy2: @shantanuaryan67: Wow! You're such an expert of the art of copypasta!
  • shantanuaryan67: ──────────────███████──███████
  • zardOz2: @BobMonkeypimp: Oh god the pressure! I was hoping you had forgotten this level;)
  • BobMonkeypimp: @zardOz: I've still got my hopes up for a finished game, no matter how long it takes. Super zardOzio Bros will be your finest work :)
  • zardOz2: @principia_rus: Im going to do a lot of work with this, sorry... locked for now.
    @BobMonkeypimp: tyty
  • zardOz2: @that guy: yes you can do that, I have a bug I need to fix... I think the splitting of the sprites is a coding choice because the entire game is built with 1x1 blocks, its probably a shortcut so they dont have to accomodate a lone 1x2 sprite...
  • principia_rus: @zardOz: AWESOME! Please made editable
  • that guy2: Wait, duck-jumping makes you not move? I thought duck-jumping was how you went through walls!
    Also, the actual games split the sprite into the top and bottom to save space on the sprite sheet.
  • BobMonkeypimp: @zardOz: Brilliant!
  • zardOz2: OK first wave of bugs fixed)
  • zardOz2: Doh errors!

LEVEL ID: 15974